Search found 9 matches

by RealSparky
Tue Mar 02, 2021 10:01 pm
Forum: Development of MicroPython
Topic: STM32G474xx on NUCLEO-G474RE
Replies: 11
Views: 1282

Re: STM32G474xx on NUCLEO-G474RE

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...
by RealSparky
Mon Feb 22, 2021 8:35 pm
Forum: Development of MicroPython
Topic: STM32G474xx on NUCLEO-G474RE
Replies: 11
Views: 1282

Re: STM32G474xx on NUCLEO-G474RE

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/fold...
by RealSparky
Fri Feb 05, 2021 8:29 pm
Forum: Development of MicroPython
Topic: STM32G474xx on NUCLEO-G474RE
Replies: 11
Views: 1282

Re: STM32G474xx on NUCLEO-G474RE

Hi Joaquin, You should install the ST Motor Control Workbench and STM32CubeMx together. https://my.st.com/resource/en/data_brief/x-cube-mcsdk.pdf I had to transverse the procedure a few times to realize the power of the MCSDK. I used the 2 isolated shunt project for the STMG431RB to start. Some of t...
by RealSparky
Wed Feb 03, 2021 10:33 pm
Forum: Development of MicroPython
Topic: STM32G474xx on NUCLEO-G474RE
Replies: 11
Views: 1282

Re: STM32G474xx on NUCLEO-G474RE

Hi Joaquin & Adruder, Thanks for your interest in the STM32G4xx MicroPython port. My initial project that inspired the G4xx port just became active again today so, I will be releasing my initial port soon. I also have the STM32 PMSM FOC firmware (X-CUBE-MCSDK) motion control running on the NUCLEO-G4...
by RealSparky
Tue Oct 13, 2020 5:48 am
Forum: General Discussion and Questions
Topic: stm library documentation
Replies: 8
Views: 712

Re: stm library documentation

Hi mogplus8,
Great post with real details. I'm sure you already considered the built-in MicroPython servo function dedicated to TIM5.
https://docs.micropython.org/en/latest/ ... servo.html

RealSparky - the hardware guy
by RealSparky
Mon Oct 12, 2020 5:01 pm
Forum: General Discussion and Questions
Topic: stm library documentation
Replies: 8
Views: 712

Re: stm library documentation

Hi mogplus8,
I think the forum could be much more helpful in solving your issue if you would provide a few more details of what you are trying to do. What upy HW are you using and what are you trying to control?

RealSparky -- the hardware guy
by RealSparky
Sat Oct 10, 2020 9:18 pm
Forum: General Discussion and Questions
Topic: stm library documentation
Replies: 8
Views: 712

Re: stm library documentation

Hi mogplus8, If you need the ultimate in terms of PWM performance please check my STM32G474xx post and the STM link: https://www.st.com/resource/en/application_note/dm00121475-hrtim-cookbook-stmicroelectronics.pdf The STM G4 reference manual RM0440 section 27 has 240 pages dedicated to the HRTIM and...
by RealSparky
Wed Sep 30, 2020 12:48 am
Forum: Development of MicroPython
Topic: STM32G474xx on NUCLEO-G474RE
Replies: 11
Views: 1282

Re: STM32G474xx on NUCLEO-G474RE

HRTIM what? This is the very item that attracted me to the G4 series and note table 2 that the G series uses version 2.0.

https://www.st.com/resource/en/applicat ... ronics.pdf
by RealSparky
Tue Sep 29, 2020 5:24 pm
Forum: Development of MicroPython
Topic: STM32G474xx on NUCLEO-G474RE
Replies: 11
Views: 1282

STM32G474xx on NUCLEO-G474RE

As a hardware guy, I believe MicroPython is the best thing since cheesecake was invented. For hardware test jigs it is just the best. I have an initial port running on the NUCLEO-G474RE and hoped to share with the community after getting a handle on Git. Then I realized this was what the community w...