system_adc_read_fast acquires only 255 samples

honio
Posts: 2
Joined: Fri Feb 10, 2017 12:57 am

system_adc_read_fast acquires only 255 samples

Postby honio » Fri Feb 17, 2017 7:55 pm

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

pratik

Re: system_adc_read_fast acquires only 255 samples

Postby pratik » Wed Mar 01, 2017 2:30 pm

Please use consecutive calls to the fast read API to get ADC samples. The buffer for the API is probably internally limited (I am not very familiar with exact internal implementation of the API). Call system_soft_wdt_reset() as well before initiating fast_read API.

Who is online

Users browsing this forum: No registered users and 4 guests