cancel
Showing results for 
Search instead for 
Did you mean: 

MCU UNUSED PINS

hkane.1
Associate II

I didn't have a suitable microcontroller available and I have to use what is available, but the problem is that I have a lot of unused pins and I also work with Battery, so according to the documents, I decided to make the unused pins analog inputs.
But I have 2 questions:
1-Is the analog input the same as GPIO_ANALOG in the cube?
2-  when it is set in this way, do we need to use external pullup/pulldown  resistors?

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

1. Yes

2. No, you can leave them floating. The internal Schmitt triggers are disconnected in analog mode.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

1 REPLY 1
TDK
Guru

1. Yes

2. No, you can leave them floating. The internal Schmitt triggers are disconnected in analog mode.

If you feel a post has answered your question, please click "Accept as Solution".