3 Replies Latest reply on Nov 1, 2018 11:41 PM by PY_21

    ADC throwing illogical numbers.

      I am trying to run the adc_scan_polling_sw example on a FM4-176L-S6E2CC-ETH board kit but it is giving me some strange values on the terminal I/O; e.g. if I use channel 16 I get 268370192 for 5 V and 272 for 0 V. Similarly, if I try for instance channel 4 I get 268370180 for 5 V and 260 for 0 V. Notice that the difference between those values is proportional to the difference in the number of the channels (16 - 4 = 12), pretty strange...


      From my understanding, I should get 4096 for 5 V since it is a 12 bit conversion. Also I was trying to show the values into another terminal like PuTTY, but with no success either.


      Any help would be really appreciated.