We have a custom board with both an MCU and an MPU that communicate via SPI. The MCU controls various IOs on the board, and we want to configure and monitor these IOs through our Linux-based MPU. Are there any recommended protocols or example applications for this kind of communication over SPI? Additionally, what would be the best approach or protocol to use for efficiently configuring and monitoring IOs in such a setup?
Hello @nesnes
to be able to provide you more accurate support, could you please share NXP part number(s) you are using on your board? Thank you in advance.
Hi,
Thank you for your interest in NXP Semiconductor products,
I'd approach this solution with the spidev framework, this could get you started. This is the documentation for this driver.
For DTB implementation you should modify the proper ECSPI interface, this reference is compatible with 8MP.
For the MCU, I don't have a framework for ST MCUs but quickly found this post that can help you.
Regards