Solved
STM32L051 Port PH1 Initialization Error
Posted on September 29, 2017 at 00:23
I used STM32CubeMX to generate code for a STM32L051R8xx microcomputer. All I/O ports initialize correctly except PH1. If I delete the PH1 initialization code, the program executes correctly. With the PH1 code the microcomputer resets when it attempts to initialize PH1 as a push-pull output. This error occurs for code that uses either HAL or LL code. Is there a bug in the silicon or very low level firmware?
Jim R.
