Question
STM32N6: In HSE Bypass, can PH1 pin be configured as Input Output ?
Split from original question
Can you check your documentation ? According to RM086 - Reference Manual for STM32N657, all PH GPIOs can be set as input/output (contradicting your previous post).
- Default State: When a crystal is used for the HSE (PH0/PH1), PH1 is dedicated to the oscillator output and cannot be used as a general-purpose I/O (GPIO).
- Bypass Mode: When you configure the RCC (Reset and Clock Control) to "HSE Bypass," an external clock signal is fed directly into PH0 (OSC_IN), freeing up the PH1 pin to act as a standard GPIO.
- Functionality: As a GPIO, it can be configured as a push-pull output.
Please retest your device and determine which document is correct.
thanks
Matthew