Page 1 of 1

Heltec Wifi Lora 32 Serial Monitor Baud Rate

Posted: Thu Sep 06, 2018 2:15 pm
by COM8COM8
I have a Heltec Wifi Lora 32 and try to change the baud rate of the serial console.
By default the ESP is sending on 115200 so if I run

Code: Select all

make monitor
it's able to read the output from the ESP.

Now i want to flash the hello word example. For this I run:

Code: Select all

make menuconfig
And just set the serial port and save it (monitor baud rate is still at 115200!).

Then I run:

Code: Select all

make flash monitor
And now the monitor outputs just jibberish. If I now set the monitor baud rate to "custom baud rate" with 74880 as baud rate, I'm able to read the output again.
Is there a way I can set the sending baud rate of the ESP back to 115200?

Re: Heltec Wifi Lora 32 Serial Monitor Baud Rate

Posted: Fri Sep 07, 2018 1:55 am
by ESP_Sprite
My guess would be that your board has a 26MHz crystal in it; esp-idf by default is configured for a 40MHz crystal. You can change this in menuconfig (components -> esp32-specific options, if memory serves.)

Re: Heltec Wifi Lora 32 Serial Monitor Baud Rate

Posted: Fri Sep 07, 2018 6:29 am
by COM8COM8
Works thanks!

And just for those who come here with the same problem, the exact path to the option is:
"Component config" ---> "ESP32-specific" ---> "Main XTAL frequency (40 MHz)"