How to set MOSI pin default low

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

How to set MOSI pin default low

699 Views
weikeng-jimmy
Contributor III

Hi Sir,

My customer need I.MX8QX SPI0_MOSI default low for communicate to SPI device.

I try to modify pad/mux control register from kernel dts file as below .  But the MOSI pin default always is high. (Besides open-drain) .

How can I set MOSI pin default low ? Thanks~

26-25(SW CONFIG)                      6-5(pull)                   MOSI status

 

00b-DEFAULT                           10b-pull down              High

 

01b-OPEN-DRAIN                     10b-pull down             Always Low

 

10b-OPEN-DRAIN-INPUT         10b-pull down             High

 

11b-INOUT                                 10b-pull down             High

0 Kudos
1 Reply

588 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jimmy

using dts settings it is not possible to set default pin value.

In general if spi module settings allows for such default configuration, it

can be done in uboot.

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

0 Kudos