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,417件の閲覧回数
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,188件の閲覧回数
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,189件の閲覧回数
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,188件の閲覧回数
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 件の賞賛
返信