Skip to main content
Rakshith ks
Associate
April 12, 2018
Question

How to enable GPIO 5V tolerance

  • April 12, 2018
  • 5 replies
  • 1268 views
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

    This topic has been closed for replies.

    5 replies

    Andrew Neil
    Super User
    April 12, 2018
    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.

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Rakshith ks
    Associate
    April 12, 2018
    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 ​

    Andrew Neil
    Super User
    April 12, 2018
    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.
    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Khouloud GARSI
    ST Employee
    April 12, 2018
    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.

    Andrew Neil
    Super User
    April 12, 2018
    Posted on April 12, 2018 at 15:49

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

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.