2020-02-27 01:59 AM
Hello!
As the question/topic title says, I'm new to MCU programming. I've touched C# (Unity) before and programmed an intelligent display by 4DSystems for a few applications. Unfortunately we've found some limitations on said intelligent display, so I was tasked with moving on to a better alternative (which would be the STM32F779 series).
With the intro out of the way, I've looked around and saw that there is a step by step guide using the NUCLEO-L476RG. I figured I would be able to adapt the guide to the STM32F779I-EVAL board, but I'm not having much luck. Using STM32CubeMX I created a new project selecting the EVAL board, which automatically selects the STM32F779NIHx as the chip, generated the code and opened it up in TrueStudio. After attempting to follow/convert the guide over to the EVAL board (and not succeeding), here are a few questions:
The only lines I added to the generated code are as follows, inside the while loop:
HAL_GPIO_TogglePin(GPIOI, GPIO_PIN_15);
HAL_Delay(250);
The end result on the board is that LED1 through LED4 stay on all the time. I tried prodding on PI15 on CN6 with an oscilloscope but I see no voltage change.
Thank you for your time!
Edit: Changed instances where I wrote 799 instead of 779 as chip model.
Solved! Go to Solution.
2020-03-04 04:33 AM
Hello! Writing this as a sort of closure to the question.
I took a look at the GPIO Toggle projects, both for V1.15 and V1.16, and both of them had the same issue - couldn't build since there were missing header files. I then took the example I had after following the step by step guide and set a breakpoint in the main loop, and realized the code wasn't reaching that point. I commented out all Init functions except for the GPIO Init and could successfully toggle the LEDs on and off. Unsure why or which function is the one blocking the program to run properly, but the code was generated using STM32CubeMX with the proper board selected.
2020-02-27 09:20 AM
I'm afraid ST abandoned this initiative and is not willing to migrate it to other platforms.
JW
@Emma DULUARD
@Amel NASRI
2020-02-27 10:37 AM
F 7 7 9 !
Look perhaps at the array of sample projects in the CubeF7 code trees, the F769 is the F779 without HASH/CRYPT
\STM32Cube\Repository\STM32Cube_FW_F7_V1.15.0\Projects\STM32F769I_EVAL\Examples\GPIO\GPIO_IOToggle\readme.txt
2020-02-28 12:00 AM
Whoops! Good catch on the chip model mistake!
I'll take a look at the example projects as suggested, thank you!
2020-03-04 04:33 AM
Hello! Writing this as a sort of closure to the question.
I took a look at the GPIO Toggle projects, both for V1.15 and V1.16, and both of them had the same issue - couldn't build since there were missing header files. I then took the example I had after following the step by step guide and set a breakpoint in the main loop, and realized the code wasn't reaching that point. I commented out all Init functions except for the GPIO Init and could successfully toggle the LEDs on and off. Unsure why or which function is the one blocking the program to run properly, but the code was generated using STM32CubeMX with the proper board selected.