cancel
Showing results for 
Search instead for 
Did you mean: 

How to enable GPIO 5V tolerance

Rakshith ks
Associate
Posted on April 12, 2018 at 14:37

Hai,

we are using a STM32F070RBT6 controller for development  i need a clarification regarding I/O's

if we want use FT 5 V tolerant I/O we need add any external component or just enable has high.

Thanks

Rakshith

5 REPLIES 5
Andrew Neil
Evangelist
Posted on April 12, 2018 at 15:26

Whether a pin is 5V tolerant or not is due to the physical hardware of that pin - it is not configurable.

Khouloud GARSI
Lead II
Posted on April 12, 2018 at 15:39

Hello

rakshith

‌,

You may refer to table 'STM32F070xB/6 pin definitions' in the

http://www.st.com/content/ccc/resource/technical/document/datasheet/31/4f/10/5f/a5/32/46/42/DM00141pdf/files/DM00141pdf/jcr:content/translations/en.DM00141pdf

to get the I/O structure.

Khouloud.

Posted on April 12, 2018 at 15:47

It's a 5V I/o pin .we configured has high but we getting 1.6V..

Thanks

Rakshith

�Sent from TypeApp ​

Posted on April 12, 2018 at 15:49

See also section 6.3.14,  'I/O port characteristics' in the same document.

Posted on April 12, 2018 at 15:56

Your question, 'How to enable GPIO 5V tolerance' has been answered.

If your output is not driving to the expected level, that's a different question.

Suggest you mark this thread as answered, and start a new thread about your output drive problem.

But you will need to give a lot more detail for anyone to be able to help in that new thread:

  • A schematic
  • Details of how you are observing the output
  • A minimal but complete code example which illustrates the problem.