AnsweredAssumed Answered

What is the proper method for retrieving samples from the CRTouch using the FIFO?

Question asked by Duane Owens on Nov 6, 2015
Latest reply on Nov 10, 2015 by Jose Alberto Reyes Morales



After reading the CRTouch Datasheet, I am not sure how the FIFO buffer gets read using interrupts.  I understand that the FIFO watermark can trigger an interrupt to the CPU. But, once the FIFO interrupt has occurred and you send the command to read the FIFO buffer; what is the method for reading the FIFO so that the CPU doesn't run ahead of the 100Kbs rate of the CRTouch?  I would like to use an interrupt method, but it looks like I have to use a polling method, is that correct?


The docs don't give a description of reading the FIFO.  Maybe I'm missing something basic... my apologies in advance.