Lpspi driver frame complete interrupt not triggered

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Lpspi driver frame complete interrupt not triggered

1,373 次查看
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 项奖励
回复
1 回复

1,260 次查看
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 项奖励
回复