IMX28 Pin Configuration

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

IMX28 Pin Configuration

跳至解决方案
1,746 次查看
pt
Senior Contributor I

Hi

We have MCIMX28EVK board and a board with imx28 (designed by us).

We are using freescale L2.6.35_1.1.0_130130_source.

Our board uses AUART0 pins for debug uart.

I have seen the debug uart pins are defined in mx28evk_pins.c( /arch/arm/mach-mx28 )

static struct pin_desc mx28evk_fixed_pins[] = {

{

.name = "DUART.RX",

.id = PINID_PWM0,

.fun = PIN_FUN3,

},

{

.name = "DUART.TX",

.id = PINID_PWM1,

.fun = PIN_FUN3,

},

...

...

...

}


I am using AUART0_CTS and AUART_RTS as DUART_RX and DUART_TX.


So I have edited the struct like the following



static struct pin_desc mx28evk_fixed_pins[] = {

{

.name = "DUART.RX",

.id = PINID_AUART0_CTS,

.fun = PIN_FUN3,

},

{

.name = "DUART.TX",

.id = PINID_AUART0_RTS,

.fun = PIN_FUN3,

},

...

...

...

}


Is this change enough for the imx board?


Regards

Pt

标签 (2)
标记 (2)
1 解答
1,309 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Pt

yes, this is enough. Also please check that these

pins are not used for other purposes. And one can wish

to set AUART0 as debug UART for iROM, check sect.12.3.1 OTP eFuse

i.MX28 RM

HW_OCOTP_ROM0:0x8002C1A0:1:0

USE_ALT_DEBUG_UART_PINS[1:0] =01 - AUART0

Best regards

chip

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

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

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

在原帖中查看解决方案

4 回复数
1,310 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Pt

yes, this is enough. Also please check that these

pins are not used for other purposes. And one can wish

to set AUART0 as debug UART for iROM, check sect.12.3.1 OTP eFuse

i.MX28 RM

HW_OCOTP_ROM0:0x8002C1A0:1:0

USE_ALT_DEBUG_UART_PINS[1:0] =01 - AUART0

Best regards

chip

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

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

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

1,309 次查看
pt
Senior Contributor I

Thanks igorpadykov.

Auart0 is not used for other purposes. I am using AUART2 for app uart.

Regards

Pt

0 项奖励
回复
1,309 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Pt

you can add some codes (or try to check with jtag)

registers value .

Best regards

chip

0 项奖励
回复
1,309 次查看
pt
Senior Contributor I

Ok igorpadykov. I will try this on my board and will come back to you if I need any help.

Thank you

Pt

0 项奖励
回复