WeActSTM32F411CEU6 uart problem
Posted: Fri Jul 10, 2020 11:24 pm
@davef posted about the WEACT and UART1, and then the post was deleted.
The mpconfigboard.h file for the WEACT sets up the REPL to mirror on UART1:
https://github.com/mcauser/WEACT_F411CE ... .h#L35-L36
You'll want to comment out those 2 lines and rebuild the firmware.
In your sample code, you'll also want to pass in a baud rate when you initialize the UART, otherwise, it just returns the currently configured UART object, and since it wasn't configured yet, it won't work the way you expect.
With those 2 changes, I see the AT commands on the pin A9 (UART1_TX)
The mpconfigboard.h file for the WEACT sets up the REPL to mirror on UART1:
https://github.com/mcauser/WEACT_F411CE ... .h#L35-L36
You'll want to comment out those 2 lines and rebuild the firmware.
In your sample code, you'll also want to pass in a baud rate when you initialize the UART, otherwise, it just returns the currently configured UART object, and since it wasn't configured yet, it won't work the way you expect.
With those 2 changes, I see the AT commands on the pin A9 (UART1_TX)