Part Number: AM6548
Tool/software: TI-RTOS
Hi, TI engineers
Thanks for the help all the times, I want to ask a question the default configuration of pinmux.
at the file:am65xx_evm_pinmux_data.c,
it just set up AD9&AC8(USBX_DRVVBUS) just as the source below
static pinmuxPerCfg_t gUsb0PinCfg[] =
{
/* USB0 -> USB0_DRVVBUS -> AD9 */
{
PIN_USB0_DRVVBUS, PIN_MODE(0) | \
((PIN_PULL_DISABLE) & (~PIN_PULL_DIRECTION & ~PIN_INPUT_ENABLE))
},
{PINMUX_END}
};
static pinmuxPerCfg_t gUsb1PinCfg[] =
{
/* USB1 -> USB1_DRVVBUS -> AC8 */
{
PIN_USB1_DRVVBUS, PIN_MODE(0) | \
((PIN_PULL_DISABLE) & (~PIN_PULL_DIRECTION & ~PIN_INPUT_ENABLE))
},
{PINMUX_END}
};
why it doesn't need to set up other pins of USB?
such as“USB0_DM/AE2 USB0_DP/AF1 USB0_VBUS/AE7”
I think the reason about it is that AD9&AC8 has two muxmodes:USB0_DRVVBUS and GPIO1_71,
while the others(AE2 AF1 AE7) just has one muxmode.
so we should set up AD9&AC8 especially。
is my thought right?
then I looked up the pin config of UART, it just configed MAINUART0 MAINUART1 WAKEUPUART and didn't config MCUUART.
but I can output to MCUUART as well, the pin MCUUART used(P1 P4 P5 N3)also have several muxmodes,
why they don't need to me config especially?
Best Regards



