Page 2 of 2

Re: STM32G474xx on NUCLEO-G474RE

Posted: Mon Feb 22, 2021 8:35 pm
by RealSparky
Status update:
Sorry about the delay on posting my STM32G4xx MicroPython port source. The multi-phase HRTIM 'C' code is working now and being merged into my G4xx uPy port. I want to share my very first port done last year just so you have something to tinker with.
https://drive.google.com/drive/folders/ ... sp=sharing

The .jpg shows G4xx MicroPython talking to a 128x128 TFT display.

Once I have finish testing my HRTIM integration I will share the source at Github.
best regards, RealSparky

Re: STM32G474xx on NUCLEO-G474RE

Posted: Tue Mar 02, 2021 10:01 pm
by RealSparky
Reconsidering External Module approach:

Today I have realized maybe extending the MicroPython Timer module to include HRTIM (high resolution) might not be the best approach. Mostly, because the HRTIM only exists in a very limited number of STmicro controllers. In the G4xx series it is only available in the G474 & G484. I have updated my temporary google drive location now to include the pre-git version of my Win10 Embitz project 63MB upyNUC_G474RE.7z for your entertainment.
https://drive.google.com/drive/folders/ ... sp=sharing

You will also find a file: HRTIM MicroPython initial testing.pdf which I came to the realization that there is enough different to my HRTIM requirements that the external module approach might be a better solution.

The HRTIM is an advanced feature that not many people will consider and minimizing its impact on the existing timer.c code to the community is my concern.

The second point to ponder is: Do we want to clean this project up to make a git version available?

Now is the time to pick the best path forward so let me know your thoughts if you have a few spare minutes.

best regards, RealSparky