S32K 146 lpspi rx overflow

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

S32K 146 lpspi rx overflow

1,249 次查看
hyunyong1125
Contributor I

pastedImage_1.png

I use the spi for getting a data like upper picture.

I sent two tx bytes, and get a data.

pastedImage_2.png

in this case first loop, I can get a right data in variable receive, but second loop i can't get a right data.

Also, I check the register rx fifo overflow bit is always set after every LSSPI_DRV_MasterTransferBlocking

pastedImage_3.png

so i want to modify like this for testing. in this case i always can get a right data.

标记 (2)
0 项奖励
回复
1 回复

1,190 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

HI hyunyong1125@gmail.com,

Could you please share a test project with the the LPSPI driver configuration?

Can you just connect MOSI - MISO to test the driver?

Do you monitor the bus with a logic analyzer?

Thanks,

BR, Daniel 

0 项奖励
回复