RMT Receive - Inactive after 6 seconds

paulhun
Posts: 12
Joined: Wed Jun 06, 2018 11:48 am

RMT Receive - Inactive after 6 seconds

Postby paulhun » Mon Sep 03, 2018 5:49 pm

I'm using the RMT module to count input pulses, it works well except when there is a break between pulses of more than 6 seconds.

In other words, I'm counting pulses that are sent to a stepper driver, so they are received as and when generated. When RMT receives an input pulse it's counted and generates an interrupt. This process is fine until there is a break between pulses of (about) 6 seconds then it becomes inactive - no more counting / no interrupts generated. The only way I can get it to start processing again is by resetting it.

Does anyone know why this is happening / is there a flag or something I can set to stop RMT from going in to an inactive state?

Thanks in advance Paul

Who is online

Users browsing this forum: chegewara and 162 guests