This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3517EVM UART1 and UART2



I'm trying to get UARTs 1 and 2 going on the EVM in VxWorks. I believe I have the vxworks configuration right (memory address, interrupt), but I'm not sure about the hardware side.

To enable the UARTS you set the padconf registers so uart lines are setup as input/output and route out the correct ball. Then I enabled the interface and function clocks.

Is there anything else that needs enabling to make the UART work? 


It seems to freeze vxworks when I open the port and start writing. 

 

-Thomas

  • Hi Thomas,

    I wonder why you need to configure all that if you have a working OS on your system.

    Thomas Taylor said:
    To enable the UARTS you set the padconf registers so uart lines are setup as input/output and route out the correct ball. Then I enabled the interface and function clocks.

    Have you initialized the UART peripheral as well? There are a range of UART controller registers that you need to configure as per your requirements. Setting up baud rate is also an essential step in configuring your device driver. Refer to Section 14, 'UART/IrDA/CIR Module' section of TRM for details.

    Regards,

    Awais Masood

    Mentor Embedded

    Nucleus | Services | UI | Multi-OS

  • Awais,

     

    The BSP Windriver released for the evm only implements uart 3. I need the other uarts to connect to other devices, and didn't think it would be too difficult to add support for the other uarts into the BSP. I believe I had all the connections/hooks to the uart driver in vxworks made, but I didn't know what else I have to do with configuring the module and the mux, clocks, and etc to make the uart function.

    -Thomas