Page 2 of 2

Re: STM32H743VIT6

Posted: Thu Nov 11, 2021 2:34 pm
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 ;)

Re: STM32H743VIT6

Posted: Thu Nov 11, 2021 3:16 pm
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.

Re: STM32H743VIT6

Posted: Sat Nov 20, 2021 10:44 pm
by ag123
A PR has been created for this board
https://github.com/stm32duino/Arduino_C ... /pull/1552

Re: STM32H743VIT6

Posted: Fri Nov 26, 2021 10:32 am
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 :!:

Re: Weact STM32H743VIT6 Mini board

Posted: Fri Nov 26, 2021 11:03 am
by ag123
Thanks ! :)

Re: Weact STM32H743VIT6 Mini board

Posted: Sat Nov 27, 2021 8:24 pm
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

Re: Weact STM32H743VIT6 Mini board

Posted: Sat Nov 27, 2021 11:15 pm
by fpiSTM
Yes it works as expected.

Re: Weact STM32H743VIT6 Mini board

Posted: Sat Dec 11, 2021 6:56 pm
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.

Re: Weact STM32H743VIT6 Mini board

Posted: Sat Dec 11, 2021 7:22 pm
by fpiSTM
OK. Thanks again!

Re: Weact STM32H743VIT6 Mini board

Posted: Sat Dec 11, 2021 7:46 pm
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