RAK3172 - SPI Arduino compatibillity/pins

Hi,
I’m trying to use Arduino Adafruit ILI9341 library to see if i can make RAK3172 ( breakout to be exact ) work with TFT LCD.
LCD does light up and displays some garbage so not all is lost :). Mostly those behaviours are a result of either wrong wiring or some pin misconfiguration.

I assume that addressing the pins are correct as per the datasheet

:

TFT_CS - PA4
TFT_DC - PA11
TFT_MISO - PA6
TFT_MOSI - PA7
TFT_CLK - PA5
TFT_RST - PA12

I use PA12 and PA11 for DC and RST respectively.

Question - can i use i2c pins (PA12 and PA11) as standard GPIO pins without any modifications in the code ?
I would use any other available GPIO but the breakout 3172 doesn’t have those so need to use either i2c or UART1 - but want to make sure if i have to declare them somewhere first in the beginning of the code ?

Hi,
Using PA11 and PA12 as generic GPIO should work.