system_adc_read_fast acquires only 255 samples
With a bigger number of samples the function freezes and the watchdog resets the chip. NONOS 2.0
Search found 2 matches
- Fri Feb 17, 2017 7:55 pm
- Forum: Report Bugs
- Topic: system_adc_read_fast acquires only 255 samples
- Replies: 1
- Views: 2201
- Thu Feb 16, 2017 5:39 pm
- Forum: Report Bugs
- Topic: Bug in system_adc_read_fast SDK version 2.0.0(656edbf)
- Replies: 1
- Views: 3292
Bug in system_adc_read_fast SDK version 2.0.0(656edbf)
Hi, i was using the ADC API from your SDK version 2.0.0(656edbf) (NONOS). If i read the documentation and the .h file i see that the argument adc_num in: void system_adc_read_fast (uint16 *adc_addr, uint16 adc_num, uint8 adc_clk_div) is a 16bit unsigned integer. Interestingly it behaves though like ...