Is External Flash Supported By S32K11X

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Is External Flash Supported By S32K11X

1,857件の閲覧回数
alighieri
Contributor III

We Bought Lots Of SPI Flash Evaluation Board Made Of WINBOND's Flash Memory. But Device ID Always Be Wrong When We Read Back Through SPI. We Would Have Thought The Flash Might Be Broken So We Change Device With Another Ones Of Every Storage Size. After Trying For Times We Find That's Nothing To Do With The Flash. Looks Like Controller's Problem. 

ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,691件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello alighieri,
Hard to say, but in general, every SPI slave device has some requirements on the SPI format specified in its datasheet.
Like clock polarity, clock phase, bit order, transfer width, frame size, baud rate, etc.
You can scope the SPI bus to see if the master is transmitting correct signal.
If so, there is no problem in the S32K11x master.
Could you please elaborate on why do you think there is a problem in the S32K11x LPSPI master?

Thanks,
BR, Daniel

0 件の賞賛
返信

1,691件の閲覧回数
alighieri
Contributor III

Hello Daniel

In Fact We Check The Clock Polarity And Clock Phase Also Bit Rate By Connecting External SPI Flash Module With Oscilloscope. The Device ID Is Exact As Datasheet. And After Re-Connecting The Flash To S32K118 Board The Device Remain Wrong. I Don’t Know What’s Wrong With It.

Bright

0 件の賞賛
返信

1,691件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Bright,
It would be good if you could scope the signal again after reconnecting it to the S32K118 Board and compare it.


What baud rate do you use?

Which S32K118 ports do you use for the SPI?

If possible, use the high-drive capable pins.

PORT_PCRn[DSE]

pastedImage_1.png

S32K118_IO_Signal_Description_Input_Multiplexing.xlsx
High-drive capable pins are labeled as GPIO-HD.

pastedImage_3.png

BR, Daniel

0 件の賞賛
返信

1,691件の閲覧回数
alighieri
Contributor III

HELLO DANIEL

We’ve Found Root Cause Is About Drivability.

Since We Don’t Know What Are Available High Drive Capable Pins So We Try Each By Each.

After A Measuring To S32K Evaluation Board We Catch The Problem.

Looks Seems Design Misses In Such A Kit Released In Early Stage Of Mass Production Like Ours.

Finally We Directly Put Resistor Upon.

The Problem Is No More.

Bright

0 件の賞賛
返信