imx8mp ecspi slave mode

表示  限定  | 次の代わりに検索 

imx8mp ecspi slave mode

Contributor I

Hi All

I am currently working on imx8mp ECSPI-Slave and I am able to communicate with Master.

My test program runs on the M7 core side, the SDK version I use is SDK_2_11_1_EVK-MIMx8mp. I am suitable to configure imx8MP ecspi2(bursh_length=8) with the default slave parameter and enable RxFifoReady interrupt to ECSPI. When the master sends eight bytes (0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88) to the slave, The data received by the slave is 0x00,0x00,0x00,0x11, 0x22, 0x33, 0x44, 0x55. The first three bytes received are all 0x00.

When I change the default configuration of the slave(set bursh_length to 32), the data received by the slave is 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88. I do not know why can appear this kind of circumstance, hope the expert gives explanation, thanks.

If I want to configure slave to receive byte by byte, how should I configure it?


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