Part Number: TMS320F280039C
Other Parts Discussed in Thread: SYSCONFIG
Hello,
I am using a texas microcontroller for the firt time and I'm having trouble understanding the datasheet and the sysconfig. For what I understod I can have 3.3V internal reference. In my hardware I only have a 2.2uF capacitor between VREFHI and VREFLO. So I thought I had to choose a internal reference. My problem is my ADC is unstable. I am using 5 ADCs (for connected to a slider, 3.3V or 0V, and one connected to a variable voltage). At least the sliders should be stable, but they are not, going from 0x00, 0xfff, variable values in between (reading the raw value from the registers). I do not know what I configured wrong. Here is the code for reading, which should not affect the raw values:
And the code generated from Sysconfig: