Change GPIO functionality

Hello,

I’m looking for information since I’m new to RAK modules and the platform.

My question is: Is it possible to change the functionality of the default GPIOs establish on the module RAK3172 ?

For example :

*RAK3172 module pin - definition
Pin 4 - UART1_TX to I2C1_SCL
Pin 5 - UART1_RX to I2C1_SDA
Pin 20 - PA9 to USART1_TX
Pin 25 - ADC4 to USART1_RX

All the changes are according to the datasheet of the stm32wle5ccu6

I’m intending to develop my own firmware using STM32CubeIDE with VSCode, and I read about the modifications to the files that has to be made in order to use the module. But, I just want to confirm this doubt.

Best regards,

Welcome to the forum @jjota67000

Not sure, better you check the STM32WLE5 datasheet which pins can be assigned to which function. There is a long list of alternate functions for each pin in the datasheet.

Hello again,

Yes, I verify the configuration with the STM32CubeMX. I just wanted to confirm that there was not hardware lock using the RAK3172 module if we wanted to create our own firmware. Thank you !