STM32F4 GPIO clock
Hello
I have an STM32F429 discovery board
I program it with : STM32-Matlab/target (embedded target for Matlab and Simulink), STM32CubMx (configuration tool) and the toolchain: Keil uVision5 (lite).
I tray a very simple Simulink program, which consist of blinking a LED (PG13, green LED).
For this purpose, I used a ramp generator, from simulink sources, (period 1s, 5% ramle ratio).
The output of the generator is connected to the GPIO_Write block (pin PG13)
The GPIO pin 13 configuration is set as :
GPIO_Mode: OUT
GPIO_Speed : Low
type: pull up
when I download the code in the board, the LED is fired but it doesn't blink
what can I do to resolve this problem ?
thank you for your help
best regards
RCC_AHB1PeriphClockCmd
(
RCC_AHB1Periph_GPIOD
,
ENABLE
)
;
RCC_AHB1PeriphClockCmd
(
RCC_AHB1Periph_GPIOD
,
ENABLE
)
;
#!stm32f4-disco #gpio