Use USB Peripheral as UART with STM32L4.
Hi,
I'm currently developing a board where I use STM32L433RC as my main unit
of processment. This board will have an SD Card to store some data and later on
transfer it via UART. To achieve this, I must use an UART to Serial Port
converter.
After some research on MCU reference manual, I saw that it has an USB Peripheral Interface where I could connect D+ and D- directly to the MCU. Thus, if this worked, I wouldn’t need to have the converter in my board. However, I’ve some questions:
- Is it possible to use USB peripheral as a Serial Port?
- The learning curve of this peripheral it’s hard? Since I already have code to UART, which in fact is to simple, will I spend a lot of time doing the same thing to USB protocol?
- I’m not thinking about using and external clock. To use USB peripheral do I need one?
- Is it easy to change the Serial Port name? So, when I connect the MCU to the PC this custom name its used.
Thanks in advance.
