Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 217283

Forum Post: RE: TMS320F2800137: Setting GPIO pin as output pulls down nSLEEP pin and shuts down LDO on DRV8317

$
0
0
[quote userid="632656" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1495757/tms320f2800137-setting-gpio-pin-as-output-pulls-down-nsleep-pin-and-shuts-down-ldo-on-drv8317"] GPIO_setPinConfig(GPIO_29_GPIO29); GPIO_writePin(29, 1); GPIO_setDirectionMode(29, GPIO_DIR_MODE_OUT); GPIO_setPadConfig(29, GPIO_PIN_TYPE_OD); [/quote] In the Open Drain output mode, if the buffer is configured for output mode, a 0 value to be driven out comes out on the on the PAD while a 1 value to be driven out tri-states the buffer Why are you wanting to tristate the pin with setting it to open drain type? Can you not just set the pin in Push-pull output configuration and drive pin as you would like? Thanks

Viewing all articles
Browse latest Browse all 217283

Trending Articles



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