Content originally posted in LPCWare by kbalar on Tue Sep 29 08:58:02 MST 2015
Where can I see CAN1 pin muxing? In which file of board library?
How can I verify CAN1 pin muxing is correct or not?
ohhh. I can see muxing table here where CAN1 Pin is not defined.
/* Pin muxing configuration */
STATIC const PINMUX_GRP_T pinmuxing[] = {
{0, 0, IOCON_MODE_INACT | IOCON_FUNC2},/* TXD3 */
{0, 1, IOCON_MODE_INACT | IOCON_FUNC2},/* RXD3 */
{0, 4, IOCON_MODE_INACT | IOCON_FUNC2},/* CAN-RD2 */
{0, 5, IOCON_MODE_INACT | IOCON_FUNC2},/* CAN-TD2 */
{0, 22, IOCON_MODE_INACT | IOCON_FUNC0},/* Led 0 */
{0, 23, IOCON_MODE_INACT | IOCON_FUNC1},/* ADC 0 */
{0, 26, IOCON_MODE_INACT | IOCON_FUNC2},/* DAC */
/* ENET */
{0x1, 0, IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_TXD0 */
{0x1, 1, IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_TXD1 */
{0x1, 4, IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_TX_EN */
{0x1, 8, IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_CRS */
{0x1, 9, IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_RXD0 */
{0x1, 10, IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_RXD1 */
{0x1, 14, IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_RX_ER */
{0x1, 15, IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_REF_CLK */
{0x1, 16, IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_MDC */
{0x1, 17, IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_MDIO */
{0x1, 27, IOCON_MODE_INACT | IOCON_FUNC1},/* CLKOUT */
/* Joystick buttons. */
{2, 3, IOCON_MODE_INACT | IOCON_FUNC0},/* JOYSTICK_UP */
{0, 15, IOCON_MODE_INACT | IOCON_FUNC0},/* JOYSTICK_DOWN */
{2, 4, IOCON_MODE_INACT | IOCON_FUNC0},/* JOYSTICK_LEFT */
{0, 16, IOCON_MODE_INACT | IOCON_FUNC0},/* JOYSTICK_RIGHT */
{0, 17, IOCON_MODE_INACT | IOCON_FUNC0},/* JOYSTICK_PRESS */
};
Thanks,
KBalar