Hi Marek and Alice
I have eventually managed to get my 6th UART to work.
I have let MQX define the UART but I have made sure I am not using it i.e. I'm not calling any functions like printf which talk to STDOUT. Obviously I don't have a debug console but I'm not too worried about that.
After the PEX_components_init() I added calls to set up the UART in the way I wanted. (see below)
#ifdef MainTask_PEX_RTOS_COMPONENTS_INIT
PEX_components_init();
#endif
NVIC_SetPriority(UART0_RX_TX_IRQn, 7U);
OSA_InstallIntHandler(UART0_RX_TX_IRQn, uart1_IRQHandler);
UART_DRV_Init(FSL_UART1,&uart1_State,&uart1_InitConfig0);
UART_DRV_InstallRxCallback(FSL_UART1, uart1_RxCallback, NULL, NULL, true);
UART_DRV_InstallTxCallback(FSL_UART1, uart1_TxCallback, NULL, NULL);
I also added the uart1_IRQHandler and the 2 callbacks and everything seems to work fine.
Anyway, thanks again for your help.
John