Heltec Wifi Lora 32 Serial Monitor Baud Rate

COM8COM8
Posts: 4
Joined: Thu Sep 06, 2018 1:56 pm

Heltec Wifi Lora 32 Serial Monitor Baud Rate

Postby COM8COM8 » Thu Sep 06, 2018 2:15 pm

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?

ESP_Sprite
Posts: 9043
Joined: Thu Nov 26, 2015 4:08 am

Re: Heltec Wifi Lora 32 Serial Monitor Baud Rate

Postby ESP_Sprite » Fri Sep 07, 2018 1:55 am

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.)

COM8COM8
Posts: 4
Joined: Thu Sep 06, 2018 1:56 pm

Re: Heltec Wifi Lora 32 Serial Monitor Baud Rate

Postby COM8COM8 » Fri Sep 07, 2018 6:29 am

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)"

Who is online

Users browsing this forum: No registered users and 96 guests