Yes I do use a custom variant but it was not a supported board so I used the Nucleo H743 as base for the variant since it was the same chip.
I still have some clock issues but the main one is fixed. The peripheral clocks are still wrong like for canbus but I think I can solve them.
Search found 5 matches
- Tue Sep 22, 2020 6:51 am
- Forum: General discussion
- Topic: [H743VIT] Custom variant attempt clock speed issue
- Replies: 9
- Views: 7118
- Sun Sep 20, 2020 2:11 pm
- Forum: General discussion
- Topic: [H743VIT] Custom variant attempt clock speed issue
- Replies: 9
- Views: 7118
Re: [H743VIT] Custom variant attempt clock speed issue
That was not the problem but it was in the right way
This piece of code was the culprit
// HSE default value is 25MHz in HAL
// HSE_BYPASS is 8MHz
#ifndef HSE_BYPASS_NOT_USED
#define HSE_VALUE 8000000
#endif
HSE_BYPASS_NOT_USED is not defined and HSE_VALUE must be 25000000 since the crystal on ...
This piece of code was the culprit
// HSE default value is 25MHz in HAL
// HSE_BYPASS is 8MHz
#ifndef HSE_BYPASS_NOT_USED
#define HSE_VALUE 8000000
#endif
HSE_BYPASS_NOT_USED is not defined and HSE_VALUE must be 25000000 since the crystal on ...
- Fri Sep 18, 2020 11:43 am
- Forum: General discussion
- Topic: [H743VIT] Custom variant attempt clock speed issue
- Replies: 9
- Views: 7118
Re: [H743VIT] Custom variant attempt clock speed issue
It didn't work. Still a 3.2 ms pulse. Serial is also to fast. I use it at 115200 baud but the monitor needs to be at 368640. F_CPU also raports a wrong value of 153600000
- Fri Sep 18, 2020 7:16 am
- Forum: General discussion
- Topic: [H743VIT] Custom variant attempt clock speed issue
- Replies: 9
- Views: 7118
Re: [H743VIT] Custom variant attempt clock speed issue
After updating to the latest git version I still got the issue.
The board that I use is a MCUDev DevEBox STM32H7XX_M board with the H743
This is the SystemClock_Config code that I use.
void SystemClock_Config(void)
{
RCC_OscInitTypeDef RCC_OscInitStruct = { 0 };
RCC_ClkInitTypeDef RCC ...
The board that I use is a MCUDev DevEBox STM32H7XX_M board with the H743
This is the SystemClock_Config code that I use.
void SystemClock_Config(void)
{
RCC_OscInitTypeDef RCC_OscInitStruct = { 0 };
RCC_ClkInitTypeDef RCC ...
- Thu Sep 17, 2020 1:56 pm
- Forum: General discussion
- Topic: [H743VIT] Custom variant attempt clock speed issue
- Replies: 9
- Views: 7118
[H743VIT] Custom variant attempt clock speed issue
Hello,
I am trying to create the variant STM32H743VITx but I am stumbling on a really weird issue.
The clock is setup to be 480 Mhz and when I toggle a LED with a delay of 10ms in STM32CubeIDE it really shows 10 ms.
When I try the same in Arduino it is 3.2 ms.
I copied the SystemClock_Config from ...
I am trying to create the variant STM32H743VITx but I am stumbling on a really weird issue.
The clock is setup to be 480 Mhz and when I toggle a LED with a delay of 10ms in STM32CubeIDE it really shows 10 ms.
When I try the same in Arduino it is 3.2 ms.
I copied the SystemClock_Config from ...