SPI extra clock pulse generation issue in MBDT

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

SPI extra clock pulse generation issue in MBDT

287 次查看
Vijay98
Contributor II

Hello NXP team,

Currently we are working on SPI communication in MBDT Version 1.5.

And we are facing one issue: that we are getting one extra pulse in the serial clock pin before chip select goes low.

Vijay98_0-1750502016170.jpeg

We can not able to decode this issue.

With this, we are facing challenges in reading SPI commands fro another ic.

I have added the configuration photos which we done.

Vijay98_1-1750502610150.pngVijay98_2-1750502652455.pngVijay98_3-1750502670527.pngVijay98_4-1750502686354.pngVijay98_5-1750502705125.png

 

Kindly help us to resolve this issue ASAP.

@PetrS 

@stefanvlad 

@Irina_Costachescu 

Thanks & Regards,

Vijay

 

0 项奖励
回复
1 回复

225 次查看
brian159james
Contributor I

Hello,

The extra pulse on the SPI clock line before CS goes low is likely due to incorrect initialization order or pin configuration. Ensure:

CS goes LOW before SPI starts.

CPOL/CPHA match slave requirements.

Avoid SCK glitches by configuring SPI before assigning pins.

Use software-controlled CS with proper sequencing in Simulink.

 

Best Regard,

Brian

0 项奖励
回复