2019-05-11 03:19 AM
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.
2019-09-24 03:34 AM
Anyone ?
2019-09-24 03:38 AM
I must change my 6L PCB design thanks to this problem !
2019-09-24 03:42 AM
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.
2019-09-24 04:07 AM
"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.
2019-09-24 04:15 AM
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
2019-09-24 04:54 AM
"Also check LSEON by reading it back." -- Done, No LSEON.
2019-09-24 06:33 AM
And the RTC registers?
And the GPIOC registers?
JW