Kindly provide the steps to set the RXFIFO count bit in the MFIFOSR register (I2C Controller FIFO Status Register)
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Kindly provide the steps to set the RXFIFO count bit in the MFIFOSR register (I2C Controller FIFO Status Register)
Hi Lavina,
RXFIFO count bit doesn't make impact on DMA repeated block mode. It only shows that how many data are stored in RXFIFO currently. It is read-only.
You can not set the block transfer size larger than 8, or it will transfer some unexpected data. Or you can use repeat single transfer mode.
User can set below register to configure RXFIFO data trigger level for DMA.
B.R,
Sal
Currently in the process of I2C data read via DMA in single transfer mode I'm able to read up to 8bytes.
But if I need to read more than 8bytes I've tried to enable the repeated single transfer mode, but what I see is even though the data is being transmitted to the TI launchpad the RXFIFO can only receive a single byte and RXFIFOCNT is remaining as 0x00.
What should be done to make the receive fifo count as 8?
Hi Lavina,
But if I need to read more than 8bytes I've tried to enable the repeated single transfer mode
Single transfer mode is also OK in this scenario. Set a correct size of DMA is okay, for exmaple, 16/32/...
What should be done to make the receive fifo count as 8?
If you enable DMA, then the receive fifo count will not reach 8, due to DMA will firstly transfer the data, and the count is less than you setting. If you set RX trigger level is 1, then it always be 0 due to DMA tranfer the data in RXFIFO.
I think below thread has give you a example project for further test.
B.R.
Sal