How to set up FLECOMM1 USART for private_profile_server project to send data over both flecomm0 and flecomm1 in QN9080DK?
I used pin configuration tools to get following in pin_mux.c and also added CLOCK_EnableClock(kCLOCK_Flexcomm1); in clock_config.c but nothing works.
void BOARD_InitPins(void)
{
SYSCON->PIO_FUNC_CFG[1] = ((SYSCON->PIO_FUNC_CFG[1] &
/* Mask bits to zero which are setting */
(~(SYSCON_PIO_FUNC_CFG_PA08_FUNC_MASK | SYSCON_PIO_FUNC_CFG_PA09_FUNC_MASK)))
/* PORTA PIN8 (coords: 46) is configured as FC1_TXD_SCL. */
| SYSCON_PIO_FUNC_CFG_PA08_FUNC(PIO_FUNC_ALT4)
/* PORTA PIN9 (coords: 45) is configured as FC1_RXD_SDA. */
| SYSCON_PIO_FUNC_CFG_PA09_FUNC(PIO_FUNC_ALT4));
SYSCON->PIO_FUNC_CFG[2] = ((SYSCON->PIO_FUNC_CFG[2] &
/* Mask bits to zero which are setting */
(~(SYSCON_PIO_FUNC_CFG_PA16_FUNC_MASK | SYSCON_PIO_FUNC_CFG_PA17_FUNC_MASK)))
/* PORTA PIN16 (coords: 29) is configured as FC0_TXD. */
| SYSCON_PIO_FUNC_CFG_PA16_FUNC(PIO_FUNC_ALT4)
/* PORTA PIN17 (coords: 28) is configured as FC0_RXD. */
| SYSCON_PIO_FUNC_CFG_PA17_FUNC(PIO_FUNC_ALT4));
SYSCON->PIO_PULL_CFG[0] = ((SYSCON->PIO_PULL_CFG[0] &
/* Mask bits to zero which are setting */
(~(SYSCON_PIO_PULL_CFG_PA08_PULL_MASK)))
/* Pull control register: Selects High-Z function. */
| SYSCON_PIO_PULL_CFG_PA08_PULL(PIO_MODE_HIGHZ));
}