ECSPI_SCLK signal integrity

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

ECSPI_SCLK signal integrity

492 次查看
_eg
Contributor I

Hi, 

I'm using the i.MX8M mini.

I measured the waveform of SCLK and MISO at the i.MX end. 
The SCLK is output by i.MX as the master, but there are distortions such as glitches on the rising edge.

When capturing data form MISO, does the i.MX8 use this SCLK waveform?
Is my unerstanding correct that the internal circuit driving the data acquisition uses a clean singal that is isolated by buffers, and is not affected by external reflections?

CH1 (Yellow) : SCLK
CH2 (Blue): MISO

_eg_0-1753761114517.png

Thanks,

0 项奖励
回复
4 回复数

470 次查看
_eg
Contributor I

Dear janxie,

Thank you for your reply.
I understand that ECSPI uses SCLK signal for Shift register.
And SCLK wavefore is important for Slave device.



I'd like to know the i.MX inside diagram.
Figure 1. is  my understanding.
Do you mean that Figure 2 is correct?

_eg_2-1753848826403.png

 

 <Figure 1.  Shift register is not affected by external> 

_eg_3-1753848838651.png

 

<Figure 2.   Shift register is affected by external> 



Thanks,

 

0 项奖励
回复

437 次查看
joanxie
NXP TechSupport
NXP TechSupport

refer to the RM, I only find this diagram, though I don't have internal design diagram, but the ecspi design can provide the clean signal to the SCLK,  if all of your boards get the jitter, should check the HW design or measurement tools, if only one or two boards have this issue, maybe you can do the AB test to confirm if this issue is related to the chip 

joanxie_0-1754032967239.png

 

 

0 项奖励
回复

401 次查看
_eg
Contributor I

 Dear janxie,

Thank you for your reply.
I understand that we currently don't have the internal design diagram, so we cannot resolve my question at this time.

Best Regards,

0 项奖励
回复

477 次查看
joanxie
NXP TechSupport
NXP TechSupport

1)When capturing data form MISO, does the i.MX8 use this SCLK waveform?

>yes, refer to the reference manual, The ECSPI master uses the Chip Select (SS) signal to enable an external SPI device, and  uses the SCLK signal to transfer data in and out of the Shift register.
2)Is my unerstanding correct that the internal circuit driving the data acquisition uses a clean singal that is isolated by buffers, and is not affected by external reflections?

> the signal integrity issues present at the pin would be affected by external, so you need to double check your HW design

0 项奖励
回复