iMX8MP SPI BUFFER

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

iMX8MP SPI BUFFER

1,469 Views
Wobaffet
Senior Contributor I

Hello,

On our custom board, we plan to use an MCU alongside the i.MX8MP to handle time-critical I/O operations. The MCU will report the state of these I/Os to the i.MX8MP over SPI, with the MCU configured as the SPI master. We’re concerned about potential data loss: can the i.MX8MP reliably buffer incoming data from the MCU to prevent this? Does iMX8mp have this kind of buffer for spi? Additionally, any insights on the i.MX8MP's ability to manage continuous SPI data streams would be greatly appreciated.

Thanks!

Best Regards.

0 Kudos
Reply
2 Replies

1,403 Views
Wobaffet
Senior Contributor I

Hello, thank you for the reply,

So you are saying that SPI is not suggested, it could cause data loss when MPU is configured as slave and buffer of the SPI won't be enough. Then CAN bus could be used for our case? Could the buffer on the CAN bus would be sufficient for our use case?

Thank you in advance! 

0 Kudos
Reply

1,446 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

With i.MX8Mplus you have QSPI, that manage all stream that are not in SPI speed in a buffer. If  you application overpassed the buffer it send you an interrupt and the communication is not for the speed spi.

 

Regards

0 Kudos
Reply