1 month, 1 week ago.  This question has been closed. Reason: Off Topic

How change pin function ?

Hi, I am using the Nucleo-F745ZG that has 15 digital pin but I need more. If it's possible how can I change the function of other pins of the board to digital function ?

Thank for helping me,

Cécile R

Question relating to:

STM32 Nucleo-144 development board with STM32F746ZGT6 MCU, supports Arduino, ST Zio and morpho connectivity

Hello Cecile you'd use shift registers to drive more digital pins. Regards, Lorenzo

posted by Lorenzo Arrigoni 09 Jun 2017

2 Answers

1 month, 1 week ago.

I don't know how you mean it has 15 digital pins. However on the pinout diagram every pin that is labelled blue (so called for example PE_4), can be used as digital pin. Just use DigitalIn / DigitalOut to make a digital function on that pin.

Thank you for your answer, this is what I needed !

posted by Cécile Rapoutet 09 Jun 2017
1 month, 1 week ago.

First, could you please tell me what '15 digital pin' means? The STM32F746ZG is LQFP144 package with over 100 availble IO pins, and nearly every Pin can be configured as GPIO_OUTPUT function. I think you can just use those pins which are not used by your peripherals and init them as usual.

All right, thanks ! What I meant by 15 digital pins, are the pins D0 to D15 (the ones displayed on the board). Cécile

posted by Cécile Rapoutet 09 Jun 2017

To post an answer, please log in.