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

User avatar
pratik
Posts: 383
Joined: Wed Jun 29, 2016 7:17 pm
Location: India
Contact:

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.
Regards,
Pratik Panda
Website: http://www.PratikPanda.com

Custom firmware, Knowledge base and freelancing (ESP8266/ESP32):
http://www.iot-bits.com

Who is online

Users browsing this forum: No registered users and 1 guest