2014-08-11 12:47 AM
Hello.
I have downloaded project for STM32F4-DISCO board ( CubeMX 4.3 ). I can export it to IAR, compile and download into board. But I can't turn on any led on board with standard instruction.''GPIOG->ODR=...'' is working good, but ''GPIOG->BSRRH=...'' or''GPIOG->BSRRL=...'' on next line of project can't change pin level...I try to download MEMS-example for this board and make some change ( led turn on ) - it works with ''GPIO_PORT[Led]->BSRRL'' string...What problem is it?2014-08-11 12:58 AM
On the STM32F4-DISCO aren't the four primary LED's on GPIOD ??
The STM32F429I-DISCO, the one with the LCD panel, has two primary LED's on GPIOG. Check the clock and pin configurations. Check the correct bits are being driven on BSRR.2014-08-11 01:10 AM
2 user leds only ( PG13 and PG14 ).
''GPIOG->ODR=0x4000;'' does led on''GPIOG->BSRRH=0x4000;'' doesn't led on2014-08-11 02:59 AM
Sorry, I'm bad (:
I'm new in STM32. High bits in BSRRL register make pin high,ones in BSRRH register make pin low... L and H isn't new value but half of register.