mx28: pull up GPIO pin seems failed

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

mx28: pull up GPIO pin seems failed

跳至解决方案
393 次查看
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 解答
224 次查看
igorpadykov
NXP Employee
NXP Employee

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 回复
225 次查看
igorpadykov
NXP Employee
NXP Employee

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 项奖励