Hi,
i want set some of the gpio pins as output and also set the value, should this be done before the pinmuxing in 1st stage or should it be done after pinmuxing ?
Thanks & Regards,
mike
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Mike,
Please refer to the below links:
http://processors.wiki.ti.com/index.php/TI81XX_PSP_GPIO_Driver_User_Guide
http://processors.wiki.ti.com/index.php/TI81XX_PSP_User_Guide#TI814X.2FTI813X
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/383797.aspx
Best regards,
Pavel
Mike,
If you want to set the GPIO in u-boot, you can do this after pinmux and with direct programming of the GPIO registers. See DM814x TRM, chapter 10 GPIO.
See also the below e2e treads:
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/193691.aspx
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/152722.aspx
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/261383.aspx
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/146704.aspx
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/189465.aspx
Regards,
Pavel
Mike,
mike A said:For the unused pinmuxes do we need to explicitly pull down ?
For how to handle unused pins, refer to the DM814x datasheet, section 4.4 Handling Unused Pins
BR
Pavel