Hello,
I need to use the GPIOs on Host Expansion Connector 2 (J3) and the Digital IOs on Expansion Connector (J14) of the AM3359 ICE board V2.1 under TI-RTOS.
I use the i2c_led example as a starting point for my application. In main.c I found board specific definitions of MUX_CONFIG structure for six LEDs and two I2C pins:
MUX_CONFIG icev2Mux[] = {
{ 0x0920 , 7 , AM335X_PIN_OUTPUT }, // mii1_txd2 -> LED_1
{ 0x091C , 7 , AM335X_PIN_OUTPUT }, // mii1_txd3 -> LED_2
{ 0x092C , 7 , AM335X_PIN_OUTPUT }, // MII1_TXCLK -> LED_3
{ 0x0880 , 7 , AM335X_PIN_OUTPUT }, // GPMC_CSN(1) -> LED_4
{ 0x09B0 , 7 , AM335X_PIN_OUTPUT }, // XDMA_EVENT_INTR(0) -> LED_5
{ 0x09B4 , 7 , AM335X_PIN_OUTPUT }, // XDMA_EVENT_INTR(1) -> LED_6
{ 0x0988 , 0 , AM335X_PIN_INPUT_PULLUP }, // I2C0_SCL
{ 0x098c , 0 , AM335X_PIN_INPUT_PULLUP }, // I2C0_SDA
{0xFFFFFFFF,0,0}
The memory offset of the pins seems to be board specific (0x0920 for LED_1, 0x091C for LED_2, etc).
My question:
Are the memory offset values board specific and where can I find this values for all Expansion Connectors of the AM3359 ICE board V2.1 in order to use them?
Best regards,
Boris