Hi Champs,
I checked TM4C_PINMUX on TI website, I can't find download icon to download this tool. Could you please tell me where I can get TM4C_PINMUX ? thanks
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.
Hi Champs,
I checked TM4C_PINMUX on TI website, I can't find download icon to download this tool. Could you please tell me where I can get TM4C_PINMUX ? thanks
Hello Lisa,
The PINMUX utility can be found at https://dev.ti.com/pinmux
Hi Ralph,
Customer used Tiva C series PinMux and generate code. Also he used PinMux tool you mentioned to generate code also. However, he found there is a difference. Please see below code. Now we recommend customer to use Pinmux instead of Tiva C Series PinMux . Am i right ? thanks.
Tiva C Series PinMux
//
// Enable pin PD7 for USB0 USB0PFLT
// First open the lock and select the bits we want to modify in the GPIO commit register.
//
HWREG(GPIO_PORTD_BASE + GPIO_O_LOCK) = GPIO_LOCK_KEY;
HWREG(GPIO_PORTD_BASE + GPIO_O_CR) = 0x80;
//
// Now modify the configuration of the pins that we unlocked.
//
MAP_GPIOPinConfigure(GPIO_PD7_USB0PFLT);
MAP_GPIOPinTypeUSBDigital(GPIO_PORTD_BASE, GPIO_PIN_7);
TI PinMux
//
// Unlock the Port Pin and Set the Commit Bit
//
HWREG(GPIO_PORTD_BASE+GPIO_O_LOCK) = GPIO_LOCK_KEY;
HWREG(GPIO_PORTD_BASE+GPIO_O_CR) |= GPIO_PIN_7;
HWREG(GPIO_PORTD_BASE+GPIO_O_LOCK) = 0x0;
//
// Configure the GPIO Pin Mux for PD7
// for USB0PFLT
//
MAP_GPIOPinConfigure(GPIO_PD7_USB0PFLT);
MAP_GPIOPinTypeUSBDigital(GPIO_PORTD_BASE, GPIO_PIN_7);