1859512_en-US

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

1859512_en-US

1859512_en-US

SPI Comm Between i.MX8MP MPU and MCU

Hello, we are planning to read sensor data using an MCU and intend to utilize this data on our custom board equipped with an i.MX8MP. The data will be transferred from the MCU to the i.MX via SPI. My question is: should we use the M7 core on the i.MX to receive the data and then process it within our user application on our custom distro, or should we handle the SPI communication directly with the A core? Which method would be easier to integrate and result in lower latency?

Re: SPI Comm Between i.MX8MP MPU and MCU

Hello,

Do you have any examples of this type of communication? For both sides, an MCU and an MPU?

Thanks!

Re: SPI Comm Between i.MX8MP MPU and MCU

There is latency using rpmsg, the m7 write data to shared memory(need time), then use MU to notify A core(need time), then A core read data from shared memory(need time). So why not receive data from A core SPI directly as you need lower latency

Re: SPI Comm Between i.MX8MP MPU and MCU

We'll have to write a driver to parse the incoming data to use in the userspace. Any suggestions for this purpose or do you see any limitations? Also Why using m7 core and using the sensor data on the user space via rpmsg is a bad idea?

Thanks!

Re: SPI Comm Between i.MX8MP MPU and MCU

Hi @Wobaffet 

 Which method would be easier to integrate and result in lower latency?

--> I think use it in A core is better for you.

标记 (1)
无评分
版本历史
最后更新:
‎11-21-2025 03:23 PM
更新人: