Lpspi driver frame complete interrupt not triggered

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Lpspi driver frame complete interrupt not triggered

726 Views
s233199
Contributor II

Hello, I am using i.MX8QM-lpddr4-arm2 board with Yocto Morty (kernel 4.9) and I am developing an Spi slave driver.

To add support for slave spi, I have modified my spi.c, spi.h and spi-fsl-lpspi.c files according to their new version, used in Yocto Sumo. My modifications work except for one thing: in spi-fsl-lpspi.c file, writing to the transmit fito sets the FCIE bit in the interrupt enable register and the bit FCF in the status register, but with my board setting this bit do not trigger any interrupt. Can someone please explain me why? Setting other bits in the interrupt enable register and in the status register of my spi triggers interrupts. Do I need to do something particular to add the functionality for this Frame complete bits?

Also, how can I trigger an interrupt each time a word of data is received?

Thank you in advance!

0 Kudos
1 Reply

613 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

 

Unfortunately is not officially supported yet, please note that i.MX8QM processor is still in pre-production stage,

sorry for the inconvenience and the problems this may cause.

 

Thank you for your understanding,

Best regards,
Aldo.

0 Kudos