[S32K146] : Is it possible to manage USB with UART ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[S32K146] : Is it possible to manage USB with UART ?

827 Views
sebastien_ledio
Contributor I

Hello,

I am working on S32K146 NXP µc, and I would like to know if it is possible to manage an USB with UART ?

I know the USB has 2 wires (in fact 4, but Vcc + GND) and the voltage level are normally the same than UART.

So my first question is: is it possible to do USB with UART

My second question is: if yes, have you source code to managed the USB protocol ?

Best regards

Sebastien

0 Kudos
3 Replies

696 Views
sebastien_ledio
Contributor I

Hi Razvan,

thanks for your response, this is what I thought, so you confirm.

Best regards

Sebastien

0 Kudos

696 Views
sebastien_ledio
Contributor I

UP !!!

0 Kudos

696 Views
razva_tilimpea
NXP Employee
NXP Employee

Hi Sebastien,

I don't think is possible because USB use D+ and D- for differential data transmission and with UART is impossible to generate differential signal because one signal is for receive and the other one is for transmit. 

The good news are that on evaluation kit is included the uart <-> usb converter on the microcontroller which is used of openSDA. Check UART example.

Best regards,

Razvan

0 Kudos