flexio SPI loopback testing

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

flexio SPI loopback testing

2,087 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,758 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,758 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,758 Views
ravihhk2
Contributor II

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

0 Kudos