flexio SPI loopback testing

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

flexio SPI loopback testing

2,092 次查看
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 回复数

1,763 次查看
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,763 次查看
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,763 次查看
ravihhk2
Contributor II

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

0 项奖励