- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We are using the STM32F412. We need to use the internal oscillator. How do I change the WICED platform?
Solved! Go to Solution.
- Labels:
-
WICED Studio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Go to the platform makefile and replace HSE_VALUE with HSI_VALUE and provide the internal oscillator frequency of the host processor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Go to the platform makefile and replace HSE_VALUE with HSI_VALUE and provide the internal oscillator frequency of the host processor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I changed GLOBAL_DEFINES += HSE_VALUE=26000000 to GLOBAL_DEFINES += HSI_VALUE=16000000.
It does not work. The baud rate is bad and I lose my serial port.
Do I need to change something else?
Shouldn't matter, but the external oscillator is still installed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please check the PLL settings, crystal selection made in platform.config.h. To understand the clock organization, please check 43xxx_Wi-Fi/WICED/platform/MCU/STM32F4xx/peripherals/libraries/system_stm32f4xx.c.