cancel
Showing results for 
Search instead for 
Did you mean: 

Newbie to ARM. Please help to my first program.

amoreno
Associate II
Posted on November 05, 2007 at 05:13

Newbie to ARM. Please help to my first program.

2 REPLIES 2
amoreno
Associate II
Posted on November 02, 2007 at 14:12

Hello all,

I'm newbie in ARM microcontroller 🙂 and I'll be pleased if you could help me with my first program.

In order to enable UART1, the code I write is:

GPIO_Config(GPIO0,0x0800,GPIO_IN_TRI_CMOS);

GPIO_Config(GPIO0,0x0400,GPIO_AF_PP);

UART_OnOffConfig(UART1, ENABLE);

UART_FifoConfig (UART1, DISABLE);

UART_FifoReset (UART1 , UART_RxFIFO);

UART_FifoReset (UART1 , UART_TxFIFO);

UART_LoopBackConfig(UART1 , DISABLE);

UART_Config(UART1,9600,UART_NO_PARITY,UART_1_StopBits,UARTM_8D);

It returns to me an error: Undefined External RCCU_FrequencyValue refered in UART...

What is worng? Do I need to add something else?

Please help me.

Best regards.

Alfa

amoreno
Associate II
Posted on November 05, 2007 at 05:13

Missed library, solved.

forget it please.

Alfa