To change i.MX6DQ eCSPI SCLK polarity when idle.

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

To change i.MX6DQ eCSPI SCLK polarity when idle.

跳至解决方案
701 次查看
satoshishimoda
Senior Contributor I

Hello, I belong to a distributor of NXP Japan.

Our customer have a question about i.MX6DQ eCSPI.

Actually, he want to set the SCLK=high when SPI is idle.

We understand SCLK should be high when SPI is idle if SCLK_POL is set, but SCLK was low in idle.

So would you let me know whether there is other registers to change the SCLK polarity?

Should we change IOMUX setting also?

For your information, no pull-down is attached to SCLK line.

So we think i.MX6 pulls it to low.

Best Regards,

Satoshi Shimoda

标签 (4)
标记 (2)
0 项奖励
1 解答
561 次查看
art
NXP Employee
NXP Employee

There are the ECSPIx_CONFIGREG[SCLK_CTL] bits that control the state of SPI clock signal when inactive. For more information, please refer to the Section 21.7.4 "Config Register (ECSPIx_CONFIGREG)" of the i.MX6Dual/Quad Reference Manual Rev.3 document.


Have a great day,
Artur

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
3 回复数
562 次查看
art
NXP Employee
NXP Employee

There are the ECSPIx_CONFIGREG[SCLK_CTL] bits that control the state of SPI clock signal when inactive. For more information, please refer to the Section 21.7.4 "Config Register (ECSPIx_CONFIGREG)" of the i.MX6Dual/Quad Reference Manual Rev.3 document.


Have a great day,
Artur

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
561 次查看
satoshishimoda
Senior Contributor I

I Arutur,

I heard our customer have set SCLK_CTL.

Are any other setting needed?

Best Regards,

Satoshi Shimoda

0 项奖励
561 次查看
art
NXP Employee
NXP Employee

No, no other settings are required.


Have a great day,
Artur