SPI Communication between MCU and MPU in linux

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SPI Communication between MCU and MPU in linux

910件の閲覧回数
nesnes
Contributor I

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?

0 件の賞賛
返信
3 返答(返信)

889件の閲覧回数
Veronika_techsupport
NXP TechSupport
NXP TechSupport

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.

0 件の賞賛
返信

866件の閲覧回数
nesnes
Contributor I

@Veronika_techsupport nxp board is imx8mp and the controller is stm32g.

タグ(1)
0 件の賞賛
返信

837件の閲覧回数
JosephAtNXP
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信