Skip to main content
uprogc
Associate II
May 11, 2019
Question

STM32H743 LSE pins as GPIO - not working

  • May 11, 2019
  • 7 replies
  • 1758 views

Hi,

I'm trying to use one from the following pins: PC 13,14,15, PI8, but not working. The code is CubeMX generated. clock for PORTC is enabled, no LSEON, no alternate function. I tried in OUTPUT_PP mode with pullup and without pullup. I think the PC14,15 is floating. ( I use I2S on PORTC, but that is working. ) Any solution for this ? Regards.

This topic has been closed for replies.

7 replies

uprogc
uprogcAuthor
Associate II
September 24, 2019

Anyone ?

uprogc
uprogcAuthor
Associate II
September 24, 2019

I must change my 6L PCB design thanks to this problem !

Uwe Bonnes
Chief
September 24, 2019

Start the program in a debugger and break into the program. Check the PORTC register settings against the reference manual. Keep in mind that PC13-15 has only limited source capability.

uprogc
uprogcAuthor
Associate II
September 24, 2019

"Start the program in a debugger" - The PORTC settings are OK.

"Keep in mind that PC13-15 has" - I know. These pins are used in output mode for driving a logic CMOS IC.

waclawek.jan
Super User
September 24, 2019

Also read the GPIOs controlled by the RTC subchapter of RTC chapter in RM, read out and check the RTC registers.

Also check LSEON by reading it back.

JW

uprogc
uprogcAuthor
Associate II
September 24, 2019

"Also check LSEON by reading it back." -- Done, No LSEON.

waclawek.jan
Super User
September 24, 2019

And the RTC registers?

And the GPIOC registers?

JW