How to set MOSI pin default low

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

How to set MOSI pin default low

1,755 次查看
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 项奖励
回复
1 回复

1,644 次查看
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 项奖励
回复