Hi,
I have an application communicating with a GPS receiver via UART. Before my customer board is ready, I had this application working with the EVM board, which is using UART 2. Everything was fine. When my custom board is done, I simply switched the application over, but this time using UART 1. Below is my PINMUX. When I reset my GPS receiver using GIO_write(), it seems like it is looping endlessly. I changed the timeout element in the Attr with some value, the GIO_write() returned with timeout error. I used an oscilloscope to check the TxD line, there isn't any signal.
I had checked the hardware for possible problem but I couldn't find any. Does anyone has any suggestion as where could go wrong besides pinmux?
I really need some help here. I am stuck with this problem and my product development deadline is closing in.
// My pinmux codes
KICK0R = KICK0_UNLOCK_CODE;
KICK1R = KICK1_UNLOCK_CODE;
PINMUX0 = 0x11111188; // EMIFB, Check EMU0/RTCK
PINMUX1 = 0x11111111; // EMIFB
PINMUX2 = 0x11111111; // EMIFB
PINMUX3 = 0x11111111; // EMIFB
PINMUX4 = 0x11111111; // EMIFB
PINMUX5 = 0x11111111; // EMIFB
PINMUX6 = 0x11111111; // EMIFB
PINMUX7 = 0x11111111; // EMIFB, SPI0
PINMUX8 = 0x11111111; // SPI1, UART0, McASP1
PINMUX9 = 0x11011111; // RMII CLK, McASP0, USB_DRVVBUS, SPI1
PINMUX10 = 0x22222221; // RMII/ McASP0
PINMUX11 = 0x11111122; // McASP1, UART1, McASP0, MDIO (last 2 digits 0x22 for MDIO instead of GPIO)
PINMUX12 = 0x11111111; // McASP0 / McASP1
PINMUX13 = 0x22111111; // SD / McASP1
PINMUX14 = 0x88222222; // SD / EMIFA
PINMUX15 = 0x21888888; // SD / EMIFA
PINMUX16 = 0x11111112; // SD / EMIFA
PINMUX17 = 0x00100111; // EMIFA
PINMUX18 = 0x11111111; // EMIFA
PINMUX19 = 0x00000001; // EMIFA
Thanks
Chee-Beng