Skip to main content
Visitor II
November 5, 2007
Question

Newbie to ARM. Please help to my first program.

  • November 5, 2007
  • 2 replies
  • 492 views
Posted on November 05, 2007 at 05:13

Newbie to ARM. Please help to my first program.

    This topic has been closed for replies.

    2 replies

    amorenoAuthor
    Visitor II
    November 2, 2007
    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

    amorenoAuthor
    Visitor II
    November 5, 2007
    Posted on November 05, 2007 at 05:13

    Missed library, solved.

    forget it please.

    Alfa