In SPI slave, the data I set and the actual data to be transmitted are different when 12V power is applied.

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

In SPI slave, the data I set and the actual data to be transmitted are different when 12V power is applied.

跳至解决方案
2,409 次查看
kbj
Contributor IV

Hi,

I use S32K144EVB, S32DS for ARM.2018.R1 and SDK EAR0.8.6.

In LPSPI slave, the data I set and the actual data to be transmitted are different when 12V power is applied.

But the datas are same when usb power is applied.

Please let me know how do I resolve it?

- 12V POWER : The datas are different -

1.PNG

Green : MISO

scope_2.bmp

- USB POWER : The datas are same -

2.PNG

Green : MISO

scope_0.bmp

Thanks and best regards,

Byungju.

标签 (1)
1 解答
2,180 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Which port do you use?

PTB14-17 are used by the SBC UJA1169 SPI.

And the SBC is powered from the 12V connector. 

So you can have 2 slave devices controlled with one CS.

Regards,

Daniel

在原帖中查看解决方案

2 回复数
2,181 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Which port do you use?

PTB14-17 are used by the SBC UJA1169 SPI.

And the SBC is powered from the 12V connector. 

So you can have 2 slave devices controlled with one CS.

Regards,

Daniel

2,180 次查看
kbj
Contributor IV

Hi Daniel.

You are right.

I change PTB15 -> PTD0. So The problem is not occured.

It seems to be a problem because UJA1169 and other serial devices are connected together.

Thanks for your help.

Best regards,

Byungju.

0 项奖励
回复