5 Replies Latest reply on Jan 29, 2019 1:20 AM by XinghaoZ_26

    Timer interrupt example?




      Is there any examples on how to define/use ISRs in WICED for microsecond level sampling? This has been asked many times in the forum, but the only answer is to use the rtos_delay_microseconds() function. This method wont work for fixed sampling rate applications as there is a chance that function takes much longer than the passed time to return.


      app info: every 5 usec I want to do a spi read to take an adc sample to achieve a sampling rate of 100khz. Im lloking for an example that defines a timer interrupt and how to use it. Thanks.