FRDM-KL05Z SPI problem?

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

FRDM-KL05Z SPI problem?

691件の閲覧回数
nomora
Contributor I

Hi all,

I used SPI to read a 12-bits device. Thus, the SPI read 2 bytes to finish the read.

However, something strange is, if I set the SPI clock rate faster than 0.333525us, then the "chip select" will still toggle even I set it as no.

It cause a wrong reading if CS was toggled between characters transmission.

SM1_clock.jpg

Below waveform shown the result when set the clock rate to 0.333525us.

The SPI read 2 bytes data continually without CS toggling.

tek00005.png

Below waveform shown the result when set the clock rate to 0.083381us.

The CS will be toggling between characters transmission.

tek00006.png

Hope someone can help one this.

Thanks.

Gary.

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

453件の閲覧回数
carloshass
Contributor II

Gary,

I'm having the same problem using KE06Z Dev Board.

Did you solved it? How?

thanks for you attention!

Regards,

Carlos Hass

0 件の賞賛

453件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Gary,

I've had a brief look through your question, could you please upload your project?

If I have your porject, it's convenience to me figure out the problem.

I'm looking forward to your reply.

Have a nice day!

Best regards,

Ping

0 件の賞賛