Added 7 months, 2 weeks ago.
Hello there,
Thanks for reaching us. We've found results for this part at the search below.
Our engineers will check the GPIO option and provide an update as soon as possible.
Answered 7 months, 2 weeks ago.
Hello Eyalabben,
Dizar here, jumping in for Carlos. Nice to e-meet you.
Here is a quick overview to get you started with the GPIOs on the STM32L432KCU6.
This microcontroller provides up to 26 GPIO pins, spread across ports A, B, C, and H. You can use these pins as general digital I/Os or repurpose them for alternate functions like UART, SPI, I2C, ADC, and more. Each GPIO can be configured as an output (push-pull or open-drain), input (with pull-up, pull-down, or no resistor), or set to an alternate peripheral function. GPIOs are mapped on the AHB2 bus, which allows for fast I/O toggling.
GPIO Basics:
Each GPIO pin can serve as:
Input (with optional pull-up or pull-down resistors)
Output (push-pull or open-drain)
Analog input (for ADC use)
Alternate function (for peripheral connections)
External interrupt input
All configurations can be done through STM32CubeMX or directly in code using HAL or LL drivers. This video might be helpful with this: https://www.youtube.com/watch?v=W7-jnVpTD1M
Pin-to-Port Mapping and Functions:
Here’s a general breakdown of some key pins and what they can do:
PA0 to PA7: Analog-capable (ADC IN5 to IN12); also support USART2 (TX, RX, CTS, RTS) and SPI1 (MISO, MOSI, SCK, NSS)
PA8 to PA10: Useful for MCO, I2C3 (SCL), and USART1 (TX/RX)
PA11 / PA12: USB D- and D+ lines
PA13 / PA14: Dedicated to SWD (SWDIO and SWCLK for debugging)
PA15: SPI1_NSS or general-purpose
PB3 to PB7: SPI1, I2C1, and general-purpose use
PB12 to PB15: SPI2 or GPIOs
PC13 to PC15: Typically used for low-speed/RTC functions or oscillator inputs
PH3: BOOT0 pin
You can refer to the datasheet (pages 55–58) for a full mapping of each GPIO and its alternate functions. Just be mindful of the additional notes in the document—for example, PC14 and PC15 can’t supply much current (max ~3mA), so they’re not suitable for driving LEDs directly.
I hope this was helpful! Let me know if you have a specific use case in mind—we’d be happy to help further based on that.
Answered 7 months, 2 weeks ago.