flexio SPI loopback testing

cancel
Showing results for 
Search instead for 
Did you mean: 

flexio SPI loopback testing

1,503 Views
ravihhk2
Contributor II

Hi, I'm testing SPI in flexio in s32k148 eval board. I have tested the initialization part (SPI Master configuration).

Can i do the loopback test without connecting the slave device to eval board to ensure my driver is working properly ??

or is there any other way to ensure that the transfer function is working? (I don't have scope/logic analyzer as of now)

Please help me.....

3 Replies

1,174 Views
costinconstanti
NXP Employee
NXP Employee

Hi,

As Daniel pointed out it is enough to connect MISO to MOSI. Just to add something of help maybe, of good use would be an oscilloscope that can decode SPI or better off a logic analyzer to be sure your board does what you expect it to do.

Good day,

Costin

1,174 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi ravihhk2@gmail.com,

You can simply connect MOSI - MISO pins.

The Master will receive whatever it sends.

BR, Daniel

1,174 Views
ravihhk2
Contributor II

Thanks danielmartynek‌. I will try this. This will help for sure.

0 Kudos