AnsweredAssumed Answered

NXP QN9080C: UART and VCOM

Question asked by Sapna Skinner on Aug 23, 2019
Latest reply on Aug 26, 2019 by Estephania Martinez

Hi,

I am working with QN908x SoC. I need to enable both VCOM and UART as two separate channels of communication. I am trying to do this by setting up two tasks: 1) For USB which spawn VCOM and 2) For UART. I have noticed throughout the example code that VCOM uses UART0 as base and pins pin16, 17, as USART i/o. My questions are:

1) Is it possible for UART0 FIFOs and pin16, 17 to service both threads/tasks?

2) Where can I setup a particular interrupt to a particular pin input? For example I see in the user guide that Flexcomm0 generates IP_FC0, So am I correct in assuming that this interrupt is generated when pin 17 Rxd fills UART0's FIFO? I also see that pin 4 and 5 can also be used for TxD and RxD, how can I map these pins to fill UART0's FIFOs instead of pins 16,17 and similarly then remap pins 16,17 to UART1's FIFOs?

 

Any advice is welcome

Thanks,

Sapna

Outcomes