mx28: pull up GPIO pin seems failed

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

mx28: pull up GPIO pin seems failed

ソリューションへジャンプ
366件の閲覧回数
hwo
Contributor III

Hi all,

     I come across a problem. I initialize the AUART2.RTS pin(Bank 3, ID 11), and enable it to be a output GPIO pin. At the same time, enable the pull up function. But when I read out the HW_PINCTRL_PULL3  register. I get all 0. The settings in others register like MUX, DOUT, DRIVE and DOE are quite normal.  I haven't modified the pinctrl.c file. It's original.

Why this happens?

{                         

.name  = "AUART2.RTS",   

.id    = PINID_AUART2_RTS,

.fun   = PIN_GPIO,       

.strength      = PAD_4MA,

.voltage       = PAD_3_3V,

.drive         = 1,      

.pullup        = 1,      

.pull          = 1,      

.output        = 1,      

.data          = 0,      

},                        

One more question, does the pull up function affect the GPIO's output? According to the MX28RM, it only disable the gate keeper.

Thanks in advance.

ラベル(2)
0 件の賞賛
1 解決策
197件の閲覧回数
igorpadykov
NXP TechSupport
NXP TechSupport

Hi h k

pull up function does not affect the GPIO's output, however

not all pads have pul-ups, only described in

Table 9-3. i.MX28 Functions with Pullup Resistors  MX28RM

http://cache.freescale.com/files/dsp/doc/ref_manual/MCIMX28RM.pdf

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
1 返信
198件の閲覧回数
igorpadykov
NXP TechSupport
NXP TechSupport

Hi h k

pull up function does not affect the GPIO's output, however

not all pads have pul-ups, only described in

Table 9-3. i.MX28 Functions with Pullup Resistors  MX28RM

http://cache.freescale.com/files/dsp/doc/ref_manual/MCIMX28RM.pdf

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛