S32K 146 lpspi rx overflow

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

S32K 146 lpspi rx overflow

1,246件の閲覧回数
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,187件の閲覧回数
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 件の賞賛
返信