AnsweredAssumed Answered

UART vs USB on MKL27Z

Question asked by Joey Gouly on Sep 14, 2016
Latest reply on Sep 29, 2016 by Joey Gouly

Hi,

 

Is there any issues to be aware of when trying to run USB and UART at the same time?

 

I used to have this working, but now I've come back to my code and I'm getting garbage output on UART.

If I remove my usb_init() function, the UART output is fine.

 

I can configure the LPUART to use either the LIRC or the IRC48 clock, while USB is running, right?

Could I need to disable/enable interrupts inside my uart_putc function? I didn't do that before..

 

Any other tips on what might be going wrong.

 

Thanks,

Joey

Outcomes