Other Parts Discussed in Thread: PROFIBUS, SYSBIOS, ISO1050, ISO1176T
Tool/software: TI-RTOS
Please consider this issue report related to the bellow file.
This files clearly describes the steps to carry out to use UART1 instead of UART0 in BeagleBone Black.
I been trying to do similar task in ICEV2AM3359 board.
- Prerequisites installed
- software Modification
- opened TI cloud pinmux utility
- loaded "icev2_config" from C:\ti\pdk_am335x_1_0_7\packages\ti\starterware\tools\pinmux_config\am335x
- by default UART0, UART1, UART3 and UART4 are configured. In my case I wanted to use UART4 so I removed all UART except UART4
- generated files for staterware and downloaded it.
- Unzip the file.
- At the bottom of am335x_pinmux.h, change extern pinmuxBoardCfg_t gAM335xPinmuxData[]; to extern pinmuxBoardCfg_t gIceV2PinmuxData[];
- Change am335x_pinmux_data.c to am335x_icev2_pinmux_data.c
- Change gAM335xPinmuxData to gIceV2PinmuxDataat the end of the file at pinmuxBoardCfg_t gAM335xPinmuxData[]= of am335x_icev2_pinmux_data.c
- Replace the existing files with the new files in ${PDK_INSTALL_DIR}packages\ti\starterware\board\am335x.
- Power and clocking
Modify the PRCMModuleEnable() instance from UART0 to UART4 in the file ${PDK_INSTALL_DIR}\packages\ti\board\src\icev2AM335x\icev2AM335x.c.
To add peripheral instances,
- Change the UART instance in the file ${PDK_INSTALL_DIR}\packages\ti\board\src\bbbAM335x\include\board_cfg.h from 0 to 4 #define BOARD_UART_INSTANCE 4
- Change the UART instance from 0 to 1 inside PINMUXModuleConfig() in file ${PDK_INSTALL_DIR}\packages\ti\board\src\bbbAM335x\bbbAM335x_pinmux.c.
status = PINMUXModuleConfig (CHIPDB_MOD_ID_UART, 4U, NULL)
Rebuilded and executed. For my surprise still UART3 is running. Can any expert explain me if my steps are wrong. Thnak you.
Best regards
Vinay