Problem with 32 bit SPI communication in MPC5748G

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

Problem with 32 bit SPI communication in MPC5748G

跳至解决方案
2,803 次查看
krishnaduriseti
Contributor II

Hello Team,

I am trying to use 32 bit SPI frames for my SPI slave device and i use MPC5748G MCU. And I tried to use Extended SPI mode with CONT PCS to be able to use 32 bit frames directly, But I see there is a glitch in the clock signal and  MOSI after 16 clocks because of this my SPI slave transmit status as SPI error.

 

I have attached the Logic analyzer capture for your refernce.

I tried enabling continuous clock but doesn't help. Any idea what is the problem here. Please let me know if you need more information.

Thank you in advance!!

 

Regards,

Krishna duriseti

 

0 项奖励
回复
1 解答
2,785 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

If I understand it well, this mode acts as concatenated 16-bit transfers, So it is needed to properly setup tASC time. Try to lengthen it and I believe, the glitch disappears.

davidtosenovjan_0-1693488463732.png

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,486 次查看
krishnaduriseti
Contributor II

Hello David,

Thanks for quick response. after tuning tASC delay slave responds properly.

Thank you again for your support.

 

Regards, 

Krishna duriseti.

0 项奖励
回复
2,786 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

If I understand it well, this mode acts as concatenated 16-bit transfers, So it is needed to properly setup tASC time. Try to lengthen it and I believe, the glitch disappears.

davidtosenovjan_0-1693488463732.png

 

0 项奖励
回复