To change i.MX6DQ eCSPI SCLK polarity when idle.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

To change i.MX6DQ eCSPI SCLK polarity when idle.

Jump to solution
671 Views
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

Labels (4)
Tags (2)
0 Kudos
1 Solution
531 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
3 Replies
532 Views
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 Kudos
531 Views
satoshishimoda
Senior Contributor I

I Arutur,

I heard our customer have set SCLK_CTL.

Are any other setting needed?

Best Regards,

Satoshi Shimoda

0 Kudos
531 Views
art
NXP Employee
NXP Employee

No, no other settings are required.


Have a great day,
Artur