IMX28 Pin Configuration

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

IMX28 Pin Configuration

Jump to solution
1,747 Views
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

Labels (2)
Tags (2)
1 Solution
1,310 Views
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!

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

View solution in original post

4 Replies
1,311 Views
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,310 Views
pt
Senior Contributor I

Thanks igorpadykov.

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

Regards

Pt

0 Kudos
Reply
1,310 Views
igorpadykov
NXP Employee
NXP Employee

Hi Pt

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

registers value .

Best regards

chip

0 Kudos
Reply
1,310 Views
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 Kudos
Reply