Quantcast
Viewing all articles
Browse latest Browse all 123657

Forum Post: RE: tms320c6748 - are gpio pulls disabled automatically when config as output

Hi Perry,

The internal Pull-up/Pull-down functionality can be set through SYSCFG1 registers

  1. PUPD_ENA Pull-up/Pull-down Enable Register
  2. PUPD_SEL Pull-up/Pull-down Selection Register

You need to specify the pin group CP [0...31] in which you’re going to use the Pull-up/Pull-down functionality

GPIO peripheral provides dedicated general-purpose pins that can be configured as either inputs or Output .You don’t have control over Pull-up/Pull-down selection in the GPIO peripheral registers.

That is already set in the SYSCFG1 registers regardless of the GPIO direction ( Input/output) set in the direction register .So, the Pull-up/Pull-down functionality remains the same as we set in the SYSCFG1 register, if you don’t want that option you need to disable it the PUPD_ENA resister.

Regards

Antony

  •  --------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

 


Viewing all articles
Browse latest Browse all 123657

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>