FRDM-KL05Z SPI problem?

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

FRDM-KL05Z SPI problem?

1,181 次查看
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 回复数

943 次查看
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 项奖励
回复

943 次查看
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 项奖励
回复