S32K 146 lpspi rx overflow

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K 146 lpspi rx overflow

647 Views
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.

Tags (2)
0 Kudos
1 Reply

588 Views
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 Kudos