Skip to content

Commit d51d562

Browse files
ag88fpistm
andauthored
Add a new variant for WeAct MiniSTM32H743VITX and MiniSTM32H750VBT (#1552)
The board schematics, images at the time of this commit is found at https://github.com/WeActTC/MiniSTM32H7xx This variant is 'unofficial' (i.e. this is community contributed and not from the original vendor) it is actually adapted from the generic variant found in https://github.com/stm32duino/Arduino_Core_STM32/tree/main/variants/STM32H7xx/H742V(G-I)(H-T)_H743V(G-I)(H-T)_H750VBT_H753VI(H-T) the changes are: 1) created a void SystemClock_Config(void) that use the external 25 Mhz HSE crystal. this makes it run at 480 Mhz ! USB (CDC Serial) still works per normal. much of the rest of the peripherals are clocked at 80 Mhz (from the outputs of PLL2 and PLL3), that's the max allowable documented in ref manual for the ADC. 2) the rest of definitions are pretty much same as the generic variant with the following redefinitions a. #define LED_BUILTIN PE3 (per schematics and tested) b. #define USER_BTN PC13 (per schematics and tested) c. SERIAL_TX PA9, SERIAL_RX PA10 - this makes the 1st hardware serial port UART1 3) added 2 conveinence functions - this is only for this board and is only availaible if it is selected /* power saving mode, mcu runs significantly cooler * Sysclock 240 Mhz, bus clocks 120 Mhz */ void SysClkHalfSpeed(); /* full speed - sysclk from PLL1 P - 480 Mhz * Sysclock 480 Mhz, bus clocks 240 Mhz */ void SysClkFullSpeed() This variant runs the systemclock default at 480 MHz (published max) and AHB at 240 MHz. The stm32h743 mcu tend to run pretty warm after a while (around 50 deg C). The half speed function call changes the system clock dividers (divide by 2 - gives 240 Mhz) and AHB dividers (divide further by 2 - gives 120 Mhz) so that it runs at 1/2 the PLL1 P speeds (480 Mhz). the mcu runs significantly cooler running at 1/2 speeds. some tests has been done to swtich the speeds calling the functions at run time, they seem to work ok. But tests isn't thorough, so check things if you use the speed changing functions. Signed-off-by: ag88 <[email protected]> Co-authored-by: Frederic Pillon <[email protected]>
1 parent b7fd9ec commit d51d562

File tree

5 files changed

+1170
-0
lines changed

5 files changed

+1170
-0
lines changed

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
329329
| :green_heart: | STM32H742ZG<br>STM32H742ZI | Generic Board | *2.0.0* | |
330330
| :green_heart: | STM32H743IG<br>STM32H743II | Generic Board | *2.0.0* | |
331331
| :green_heart: | STM32H743VG<br>STM32H743VI | Generic Board | *2.0.0* | |
332+
| :yellow_heart: | STM32H743VI | [WeAct MiniSTM32H743VIT6](https://github.com/WeActTC/MiniSTM32H7xx) | **2.2.0** | [More info](https://github.com/stm32duino/Arduino_Core_STM32/pull/1552) |
332333
| :green_heart: | STM32H743ZG<br>STM32H743ZI | Generic Board | *2.0.0* | |
333334
| :green_heart: | STM32H747AG<br>STM32H747AI | Generic Board | *2.0.0* | |
334335
| :green_heart: | STM32H747IG<br>STM32H747II | Generic Board | *2.0.0* | |
@@ -337,6 +338,7 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
337338
| :green_heart: | STM32H750IB | [Daisy](https://www.electro-smith.com/daisy/daisy) | *1.9.0* | |
338339
| :yellow_heart: | STM32H750IB | [Daisy Patch SM](https://www.electro-smith.com/daisy/patch-sm) | *2.2.0* | |
339340
| :green_heart: | STM32H750VB | Generic Board | *2.0.0* | |
341+
| :yellow_heart: | STM32H750VB | [WeAct MiniSTM32H750VBT6](https://github.com/WeActTC/MiniSTM32H7xx) | **2.2.0** | [More info](https://github.com/stm32duino/Arduino_Core_STM32/pull/1552) |
340342
| :green_heart: | STM32H753VI | Generic Board | *2.0.0* | |
341343
| :green_heart: | STM32H753ZI | Generic Board | *2.0.0* | |
342344
| :green_heart: | STM32H757AI | Generic Board | *2.0.0* | |

Diff for: boards.txt

+20
Original file line numberDiff line numberDiff line change
@@ -3748,6 +3748,26 @@ GenH7.menu.pnum.DAISY_PATCH_SM.build.variant=STM32H7xx/H742I(G-I)(K-T)_H743I(G-I
37483748
GenH7.menu.pnum.DAISY_PATCH_SM.build.peripheral_pins=-DCUSTOM_PERIPHERAL_PINS
37493749
GenH7.menu.pnum.DAISY_PATCH_SM.build.ldscript=DAISY_SEED.ld
37503750

3751+
# WeAct MiniSTM32H743VITX
3752+
GenH7.menu.pnum.WeActMiniH743VITX=WeAct MiniSTM32H743VITX
3753+
GenH7.menu.pnum.WeActMiniH743VITX.upload.maximum_size=2097152
3754+
GenH7.menu.pnum.WeActMiniH743VITX.upload.maximum_data_size=524288
3755+
GenH7.menu.pnum.WeActMiniH743VITX.build.board=WeActMiniH743VITX
3756+
GenH7.menu.pnum.WeActMiniH743VITX.build.product_line=STM32H743xx
3757+
GenH7.menu.pnum.WeActMiniH743VITX.build.variant=STM32H7xx/H742V(G-I)(H-T)_H743V(G-I)(H-T)_H750VBT_H753VI(H-T)
3758+
GenH7.menu.pnum.WeActMiniH743VITX.build.variant_h=variant_WeActMiniH7xx.h
3759+
GenH7.menu.pnum.WeActMiniH743VITX.build.peripheral_pins=-DCUSTOM_PERIPHERAL_PINS
3760+
3761+
# WeAct MiniSTM32H750VBTX
3762+
GenH7.menu.pnum.WeActMiniH750VBTX=WeAct MiniSTM32H750VBTX
3763+
GenH7.menu.pnum.WeActMiniH750VBTX.upload.maximum_size=131072
3764+
GenH7.menu.pnum.WeActMiniH750VBTX.upload.maximum_data_size=524288
3765+
GenH7.menu.pnum.WeActMiniH750VBTX.build.board=WeActMiniH750VBTX
3766+
GenH7.menu.pnum.WeActMiniH750VBTX.build.product_line=STM32H750xx
3767+
GenH7.menu.pnum.WeActMiniH750VBTX.build.variant=STM32H7xx/H742V(G-I)(H-T)_H743V(G-I)(H-T)_H750VBT_H753VI(H-T)
3768+
GenH7.menu.pnum.WeActMiniH750VBTX.build.variant_h=variant_WeActMiniH7xx.h
3769+
GenH7.menu.pnum.WeActMiniH750VBTX.build.peripheral_pins=-DCUSTOM_PERIPHERAL_PINS
3770+
37513771
# Generic H742IGKx
37523772
GenH7.menu.pnum.GENERIC_H742IGKX=Generic H742IGKx
37533773
GenH7.menu.pnum.GENERIC_H742IGKX.upload.maximum_size=1048576

0 commit comments

Comments
 (0)