2022-01-02 03:14 AM
Hello,
has someone created a complete definition of the "Arduino Portenta H7" board including the clocks in STM32CubeMX?
I would like to use this board to develop and test some parts of projects.
The creation of the IOC file is a lot of work that I want to save myself as much as possible.
Thanks in advance,
Michael
2022-01-12 06:04 AM
Hello @Mick P. F. ,
Thanks for your feedback,
There are some examples available under C:\Users\<Your_User_Name>\STM32Cube\Repository\STM32Cube_FW_H7_V1.9.1\Projects for the STM32H747I-DISCO and for STM32H747I-EVAL which both have the same MCU as a Portenta H7 ( STM32H747XI ). These examples don't come with an .ioc file but they are helpful.
You can also find some examples under Example selector in CubeMX, some of which are Compatible with STM32CubeMX.
I Hope this helps!
If you issue is solved, please close this post by clicking the "Select as Best" button. This will help other members of the community find this response more quickly :)
Sara.
2022-01-12 06:37 AM
It would help if boards in common use, and circulation, get some brief analysis and IOC templates.
Also doing some real-world testing of the tools and code generation in these scenarios would significantly help the reliability and reach of the tools.
2022-01-12 06:58 AM
Hello Sara,
Sorry, I do not know how far your hints should be helpful?
Finding the right MCU from the list takes round about 10 seconds, but for a complete and correct definition of all IOs and clocks in STM32CubeMX you would spend many hours or some days. Without this IOC file you can't start any project.
And if you are already familiar with the H7 series and you have already done some DIY projects with these MCUs, the named examples are useless because it is not much different from the code for STM32H743 MCUs.
A simple "no" from you would have sufficed at this point!
Sorry for this harsh judgment on your answer.
In the meantime I have postponed the desire to use the Protenta-H7 board because it simply means too much effort to create the 1st IOC file, even if it would be very incomplete in the 1st step.
For me it is much more important to finally make progress with the design of hardware and software in the project.
Kind Regards,
Michael
2022-01-12 07:26 PM
Try to ask on Arduino's forum. In my opinion, it's theirs job to do IOC files and/or examples for this board. Also contact them by using this form and describe your problem
https://www.arduino.cc/en/contact-us/
I can help with your project (spending hours on making IOC and more), contact by e-mail in my profile if interested.
2022-01-12 11:05 PM
Hello "thundertronics.com",
This idea is not bad...
I made such request there, but I don't think they would do it even if it were their job. Nowadays everything is different than it was in the past ...
As I said, at the moment I am using the NUCLEO144-H743ZI board to develop and test the software. It is the fastest and easiest way to do this with STM32CubeIDE. I would never use Arduino SDK, I hate this (dirty) mix of C and C++. Millions of years ago I learned C, thousands of years ago I learned the genuine C++, but I'll never accept/learn this mix. I would use the MCU H743xx in this project anyway because I only need the two M7 cores.
Many thanks,
Michael
2024-04-05 04:13 PM
If you need a STM32CubeH7 HAL based project - I have it here:
https://github.com/tjaekel/PortentaH7_VFR_CubeIDE
It is not really based on CubeMX: you can use the tool for some drivers to generate, but not for the entire project. The Portenta H7 has a very specific HW (e.g. PMU chip) and is intended to run Arduino code (esp. Bootloader).
You cannot generate a full project with CubeMX tool - it will not be complete and it will not run. In particular, the startup code, the stuff to do in main() first - will be not correct for this board:
You can use my project as a reference: it is based on STM32 Cube HAL drivers (some CubeMX generated code), intended for the STM32CubeIDE. Nothing related to Arduino.
Related links in forum:
If you have any specific question about Portenta H7 - you can ping me: maybe I can help as a user of this board.
2024-04-05 04:16 PM
Sorry: the PMU chip must be configured via I2C.