Reading External Mux values

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User15886
Level 1
Level 1
I can't tell in the manual how to handle the data from the external mux configuration.
What I want to do is to have the external mux inputs stored in separate RES result registers without using interrupts or DMA.
I'd like to just be able to have my background task read the RES registers when it want to get the converted data.

I've tried setting up an 8 deep FIFO and creating a queue with 8 entries of the mux output, then reading the intermediate FIFO stages.
That seems to work except that the data is inconsistent - it may be that the fifo is still running when I'm reading the intermediate RES registers?

any ideas on the best way to solve this?

thanks
0 Likes
0 Replies