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

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

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

Jump to solution
1,877 Views
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.

Labels (1)
1 Solution
1,648 Views
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

View solution in original post

2 Replies
1,649 Views
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

1,648 Views
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 Kudos
Reply