IMX28 Pin Configuration

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

IMX28 Pin Configuration

ソリューションへジャンプ
1,745件の閲覧回数
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,308件の閲覧回数
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,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!

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

1,308件の閲覧回数
pt
Senior Contributor I

Thanks igorpadykov.

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

Regards

Pt

0 件の賞賛
返信
1,308件の閲覧回数
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,308件の閲覧回数
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 件の賞賛
返信