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?