GPIO connection on MCU
Hello,
I'm relatively new to PCB designing and I've already learned a lot of things, but I'm still not sure about connecting 2 components through GPIO pins. I have IIS2MDC magnetometer and I would like to connect INT/DRDY pin to STM32H747AI. Let's say I choose PG0 as my GPIO pin. Is all I have to do just connect it to PG0 with some resistor for current limitation and I'm done? (I know I need to also check voltage leves of both pins but I'm really getting lost in this) Or when do I need to use pull-up/pull-down resistor?
These are all unused GPIO signals in my project:



Thank you very much in advance for any recommendation.
Best regards
