I2C sequencer and fifo
Posted: Fri May 19, 2017 4:50 am
The I2C driver is working with my peripheral.
But I need to query it in the background at high speed without involving the CPU, eg read 4 bytes, 100 times a second.
The I2C driver seems to use a soft descriptor scheme which is too heavy to implement what is needed.
The hardware I2C sequencer looks like it can do it, but the information about how to use the FIFO mode seems missing. For example, I must prepare 3 bytes to TX, but where do I poke them? How do I read from the FIFO?
But I need to query it in the background at high speed without involving the CPU, eg read 4 bytes, 100 times a second.
The I2C driver seems to use a soft descriptor scheme which is too heavy to implement what is needed.
The hardware I2C sequencer looks like it can do it, but the information about how to use the FIFO mode seems missing. For example, I must prepare 3 bytes to TX, but where do I poke them? How do I read from the FIFO?