Weact STM32H743VIT6 Mini board

Kenjutsu
Posts: 27
Joined: Tue Apr 07, 2020 10:58 am
Answers: 2

Re: STM32H743VIT6

Post by Kenjutsu »

Thank you @ag123 8-)

I have a similar board from another developer: MCUDev DevEBox STM32H7XX_M the H743VIT6 version.

I am using you work as the basis for a variant for the DevEBok version ;)
Pieter

OSX: 11.6.8
Arduino IDE: 1.8.19
PlatformIO: 6.1.4
STM32 Core: 2.3.0
Get a $5 off coupon on your first purchase at Kaiweets
Kaiweets Affordable & Smart Electrical Testing Tools
ag123
Posts: 1653
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: STM32H743VIT6

Post by ag123 »

That looks like a nice and compact board too ;)
The WeAct one is slightly pricier as I think they fixed an LCD on board (I'm still tryng to get it to work - an ST7735) and made FPC connectors for OV2640 camera. But both boards seem pretty much similar for the features.

I looked at the specs for your board in
https://github.com/mcauser/MCUDEV_DEVEBOX_H7XX_M
It seemed the HSE crystal is the same 25 Mhz, hence I't likely 'just works'.
But if you are searching for clocks settings, you could try the python scripts here:
viewtopic.php?f=41&t=78
I made some modifications to that script and I've attached it here.

I stumbled with the ST7735 currently as I found out that ST7735 uses a *half-duplex* SPI protocol.
The MOSI line is shared for the purpose of transmit and receive, this is really incompatible with even the arduino SPI api if the features are to be used.
And in addition, there seemed to be some problems picking up the correct pin mappings for SPI with my variant. SPI stalls, hang. I've not got time to get around to debug it yet.
Attachments
clks.zip
python script to explore clocks
(597 Bytes) Downloaded 231 times
ag123
Posts: 1653
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: STM32H743VIT6

Post by ag123 »

A PR has been created for this board
https://github.com/stm32duino/Arduino_C ... /pull/1552
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: STM32H743VIT6

Post by fpiSTM »

ag123 wrote: Sat Nov 20, 2021 10:44 pm A PR has been created for this board
https://github.com/stm32duino/Arduino_C ... /pull/1552
And now it is merged. The H750VBT has also be added.
Thanks @ag123 :!:
ag123
Posts: 1653
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: Weact STM32H743VIT6 Mini board

Post by ag123 »

Thanks ! :)
ag123
Posts: 1653
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: Weact STM32H743VIT6 Mini board

Post by ag123 »

@fpiSTM do the on board led PE3 blink?
mine didn't. But i'm using makefiles and there could be mix up in symbols. with my other files.
Other things are working fine in the test sketch i used, e.g. usb serial works, ok, ADC and mcu temperature readings are ok.
whetstone benchmark works as expected.
Only the led didn't blink.
i did some checks, the pinmap looks correct.
it's getting late and i'd check that again
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Weact STM32H743VIT6 Mini board

Post by fpiSTM »

Yes it works as expected.
ag123
Posts: 1653
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: Weact STM32H743VIT6 Mini board

Post by ag123 »

@fpiSTM
oops it is my goof, a #include in my test sketch for makefile build picks up incorrect defs.
now everything works, led blinks per normal with the updated variant.
added a new PR
https://github.com/stm32duino/Arduino_C ... /pull/1585
in previous commmit some clocks from PLL2, PLL3
are not distributed to some peripherals
#1552

originally to save some power. However, users using those
pheriperials may mistake that it is not working

this fix distributes the missed out PLL clocks to all pheripherals
those clocks are at 80 Mhz

retested with original sketch in Arduino IDE 1.8.16, works ok.
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Weact STM32H743VIT6 Mini board

Post by fpiSTM »

OK. Thanks again!
ag123
Posts: 1653
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: Weact STM32H743VIT6 Mini board

Post by ag123 »

I did the same fixes for DevEBoxH7xx, using DevEBoxH7xx variant.
However, i tested on my WeAct board as I do not have the DevEBoxH7xx
Post Reply

Return to “STM32H7 based boards”