cancel
Showing results for 
Search instead for 
Did you mean: 

LED pulse train quad decoder (STM32WB55)

paulcdca
Associate

Before I recommend the STM32WB55 for our project, I'd like to know if what we want to do is even possible. 

Our application requires ultra-low power and so I'd like to limit the use of the micro where ever I can. We have a Gray code encoder that we need to interrogate optically. I believe that I can hook up the comparators to a timer to create an optical decoder and get shaft position. Thats great. But to save power I'd want to pulse the LEDs.

If I'm pulsing the LEDs then I'd need someway to gate the decoder from counting so that the timer only considered the output of the comparators when they were valid.

Is this possible without software intervention?

Thanks

0 REPLIES 0