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.

EK-TM4C123GXL: PinMUX Tool

Part Number: EK-TM4C123GXL
Other Parts Discussed in Thread: SYSCONFIG

The PinMUX tools seems pretty handy but I don't suppose it handles settings like GPIOIntEnable(), GPIOIntTypeSet(), GPIOPadConfigSet(). I am just asking if I am missing something because it actually seems logical not to try to include too much and these commands are probably usually applied to groups during interrupt initialization. Nonetheless, it still saves a lot of work and helps keep me out of trouble.

J

  • Hello John,

    Been a little since I used PinMux or SysConfig so needed to go back in and check. 

    GPIOPadConfigSet is handled by the tool. You'll see that if you adjust the pin configuration:

    Then the code output will reflect that:

        //
        // Configure the GPIO Pin Mux for PE3
    	// for GPIO_PE3
        //
    	MAP_GPIOPinTypeGPIOOutputOD(GPIO_PORTE_BASE, GPIO_PIN_3);
    

    The API above is specifically for Open Drain configuration and handles both DirSet and PadConfigSet.

    So you just need to configure the pins in the tool accurately and you will not need any additional code to set the right hardware configuration for the pin.

    That said, the tool does not support anything concerning interrupts so all of that needs to be coded by the user per application requirements.

    Best Regards,

    Ralph Jacobi