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.

Much perplexed about MUXing.

I'm brand new to TI chips and I'm trying to learn the 28335. While looking through some examples (particularly using the SPI) I noticed that for some pins, the MUX gets set to ON, while on others, the MUX gets set to off. Can someone explain the difference to me? Please use small words and assume I come from the land of PICs where a simple pin direction is all that's needed to get started.

  • Dean,

    Sure.  The GPIOs and their MUX is described in detail within the System Control and Interrupts User Guide for the F2833x family.

    You can find this via the device's product page, but here's a link:
    http://www.ti.com/lit/sprufb0
    (see section 6.5)

    Basically, any GPIO pin can be configured to be an IO (GPIO) or a peripheral (see Table 47 of the current version of the user's guide) via GPxMUXy.  If you choose the GPIO pin to be configured as an IO (GPIO) you then get the ability to choose the direction via GPxDIR.

    I know the answer is a bit generic, but hopefully it helps you understand things a bit better.


    Thank you,
    Brett