This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MibSPI Slave Interrupt on Chip Select High

Hi!

I want to implement MibSPI Slave functionality on an RM42 controller.
Say I set up a transfer group for handle 16 bytes (data format is 8 Bits).
Is there a possibility to get an interrupt if there are for example only 8 bytes written, but the chip select goes high before the transfer group is "full"?

Best regards

Falk

  • Falk,

    In MIBSPI slave mode, the CS lines are use to select the transfer group.

    This is discussed in the following thread:

    As you can see, the CS in this case are just used to trigger your transfer group in the slave.
    Once the transfer group is started, the interrupt will happen (if enable) at the end (completion) of the full transfer.
    It is possible to check the status of the transfer by reading the PCURRENT field in TGxCTRL.

  • Hello Falk,

    Unfortunately, the interrupt structure on MiBSPI does not support the functionality you have described.