Hi All,
I am currently working on i.Mx6 SPI-Slave and I am able to communicate with Master.
(When I transmit 5 data from Master, Test register Rx count will also read as 5 and so on)
If I continuously transmit data from Master, RxFifo gets full and when I poll for the status register, status RO gets set. (as expected)
But I am neither getting ROEN nor RFEN interrupts.
Have any one faced similar issue before with iMx6 SPI.
Whenever I start the device I get a TC interrupt and I dont receive subsequent interrupts..
Initialization process that I have followed right now
- Disable ECSPI block
- Enable ECSPI
- Enable clock
- Set control and config registers: SPI burst length set is 32 bit (1f)
- Enabled interrupts for ROEN, RFEN, RDREN, RREN
Please let me know if you need detailed configuration.
Thanks in advance.
Arti