Reading from FIFO

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

cross mob
Not applicable
Hi there,

I collect data from IIC transmission into FIFO on the XMC1100 and try to read after complete reception with a 'for' loop into an array. Obviously the loop is too fast for the FIFO. I can only get all data if I add a loop to reduce speed.
Is there a better way to handle this?

Thanks,
0 Likes
2 Replies
chismo
Employee
Employee
First like received
Hello,

Is the 'for' loop started only after all the data are received in the FIFO? If so, it should not be a problem.

Regards,
Min Wei
0 Likes
Not applicable
Hello,

thanks for your response. I will check this. I may not have payed enough attention to the fact that I use a very slow baudrate.
0 Likes