Project

General

Profile

Possibly invalid CONFIG_ESP32_XTAL_FREQ setting (40MHz). Detected 26 MHz

Added by Seneda Nassir-Ali 10 months ago

I am trying to get the WiFi demo project to run on an ESP32 board ( https://heltec.org/project/wifi-kit-32/ ) I am finally able to make the model build and compile for the ESP32, but I don't think it is working.
On the Serial Monitor I expect to see the results from the GET request, but all I see is some startup messages and what looks like an error to do with the crystal frequency.

rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)

configsip: 0, SPIWP:0xee

clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00

mode:DIO, clock div:2

load:0x3fff0018,len:4

load:0x3fff001c,len:6988

load:0x40078000,len:14724

load:0x40080400,len:4292

entry 0x400806e4

I (60) boot: Chip Revision: 1

I (61) boot_comm: chip revision: 1, min. bootloader chip revision: 0

W (88) rtc_clk_init: Possibly invalid CONFIG_ESP32_XTAL_FREQ setting (40MHz). Detected 26 MHz.

It says that the crystal frequency is set to 40Mhz, while the crystal that is actually on my device is in fact 26Mhz. I can't work out how to change the config for the crystal frequency in the "Waijung 2 Target Setup" block.

Is there somewhere that this can be configured?
( I think the relevant settings are automatically put into sdkconfg.h , but i do not know where in the simulink code generation process this is done)


Replies (1)

RE: Possibly invalid CONFIG_ESP32_XTAL_FREQ setting (40MHz). Detected 26 MHz - Added by Chandima Jayaneththi (จันทิมา) 10 months ago

Thank you for reaching us. Currently there is no option to change the crystal frequency in the 'Waijung 2 Target Setup' block. The default crystal frequency is set to 40MHz in Waijung 2. We will add this option to change the frequency in future releases.

    (1-1/1)