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.

McBSP as GPIO on DSK6416

Other Parts Discussed in Thread: ADS8361

Hello,

I am using DSK6416, 5-6k Card and ADS8361 EVM. I have connected the EVM to DSK McBSP0 using the interface card. I can receive the data and it all works fine. The other McBSP on interface card is used as UART.

Now I need to use some McBSP pins as GPIO. Can I use the Transmitter related portion of McBSP0 as GPIO pins? I will be referring to Chapter 10 of SPRU580C. 

Will this effect the performance of receive portion of McBSP0 connected to EVM?

 

Thank you

Basu

  • Basu,

    There is a more recent version, SPRU580G. Section 10 looks to be identical between the two, except the Table is numbered 16 in rev C and 17 in rev G.

    You can use the transmit portion of the McBSP pins as GPIO and still use the receive portion to receive data normally. This depends on the board design, though. If the board is designed for CLKX or FX to be common to both the Tx and Rx sides. You will need to confirm this with your board schematic and adapter board schematics.

    Regards,
    RandyP

     

    If you need more help, please reply back. If this answers the question, please click  Verify Answer  , below.

  • Thank you for the quick response Randy,

     

    I just need one output pin. One more question. How to set the output pin to high and low?

     

    Thank you,

    Basu 

  • Basu,

    The section in the McBSP User's Guide that you referenced above explains exactly which register bits must be set to which states, and which register bits drive the various outputs when configured as GPIO.

    Are there any parts of this section that raise questions when you try to understand the GPIO operation?

    Regards,
    RandyP