Part Number: MSPM0L1306
Other Parts Discussed in Thread: SYSCONFIG,
Hello everyone,
I am having trouble with the UART module. The UART module works fine for me as long as I configure it to operate it in Transmit-AND-Receive-Mode.
When I configure the UART to operate in Receive-only-mode, I cannot build the code in CCS as the generated function SYSCONFIG_WEAK void SYSCFG_DL_GPIO_init(void) contains the following line: DL_GPIO_initPeripheralOutputFunction(GPIO_UART2Rotor_IOMUX_TX, GPIO_UART2Rotor_IOMUX_TX_FUNC). I need to do this as I need the TX pin for another purpose.
Why is this function called anyway? I cannot build because the symbols GPIO_UART2Rotor_IOMUX_TX and GPIO_UART2Rotor_IOMUX_TX_FUNC are nowhere defined.
I circumvent this problem by defining the symbols in the build settings. I copy the function SYSCFG_DL_GPIO_init(void) to another file and deletethe call: DL_GPIO_initPeripheralOutputFunction(GPIO_UART2Rotor_IOMUX_TX, GPIO_UART2Rotor_IOMUX_TX_FUNC). The weak function is then no more called.
However, If I do this, the reception of characters does not work anymore. Though the UART bit stream is still present at the RX Pin, the RXData register stays empty though RX and UART are enabled.
My CCS version is Version: 12.0.0.00009
Sysconfig version is 1.13.0.2553
Best regards and thank you very much for your help in advance
Samuel


