Tool/software: Code Composer Studio
How to configurate a serial port interrupt in the XGCONF to receive and transfer data by serials port on the SYS/BIOS? any example? I need a example to tell me how to do.
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.
Tool/software: Code Composer Studio
How to configurate a serial port interrupt in the XGCONF to receive and transfer data by serials port on the SYS/BIOS? any example? I need a example to tell me how to do.
Hi zhuangbin,
PRSDK serial port LLDs are described in the Developer's Guide, the latest version of which is available here: http://software-dl.ti.com/processor-sdk-rtos/esd/docs/06_01_00_08/rtos/index.html.
The UART LLD, for example, is documented here: http://software-dl.ti.com/processor-sdk-rtos/esd/docs/06_01_00_08/rtos/index_device_drv.html#uart.
UART LLD examples for non-DMA (CPU interrupt) & DMA mode are described here: http://software-dl.ti.com/processor-sdk-rtos/esd/docs/06_01_00_08/rtos/index_device_drv.html#examples
Additional documentation for the UART LLD API can be located in pdk_am437x_1_0_16\packages\ti\drv\uart\docs\doxygen\html\index.html.
It shouldn't be necessary (and it isn't possible) to configure serial port IP interrupts for PRSDK LLDs in XGCONF. Interrupt configuration should be handled internally by the LLD. The hardware configuration for a particular IP instance can be located in the LLD SoC file, e.g. for AM437x UART this is located in pdk_am437x_1_0_16\packages\ti\drv\uart\soc\am437x\UART_soc.c.
If needed, the SOC level configuration can be read & modified by the application using the XXX_socGetInitCfg()/XXX_socSetInitCfg() API functions. Usage of these functions is shown in the serial port examples.
Regards,
Frank