Unable to use UART over USB on STM32F051 Discovery board
Hello all,
I am trying to send "Hello World" to my computer through using the guide below but nothing is sending to the port. I cant see anything on Tera Term. (https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:Step3_Introduction_to_the_UART) (of course I selected STM32F0disco instead because I am not using the board in the example) I have also tried following this tutorial (https://www.youtube.com/watch?v=isOekyygpR8) but I have still seen nothing.
I am using a STM32F051 Discovery Board and I am using UART2. PA2 is Tx and PA3 is Rx. When I put an oscilloscope to PA2 I can see quite clearly that the Tx is working and transmitting the data, but it does not look like it is making it to the USB. I don't really care too much about the Rx because i am only trying to send data from the board to the PC. (I am using STM32CubeMX/STM32CubeIDE by the way).
I have tried switching cables, switching OS, switching PC's, Switching to UART1 (Which also work fine). I looked at the user manual (UM1525) and Soldered SB14 and SB15 but that did not change anything. I doubt that the USB or the PC is the problem because I can easily upload the program to the board and debug without a problem. I have used Tera Term and PUTTY through COM7 which is my PC's ST virtual Port. This also does not seem to be the problem.
Personally I believe that the problem lies somewhere on the board itself or in the programming but I cant figure out what it is. If someone is more versed in this area can help me out I would be very grateful. Also, I am very new to this whole programing, microcontroller, breadboard, etc. so please put recommendations in very simple terms.
-Alex
