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.

AM437xGP EVM Pinmux setting

Guru 10225 points

 

Hi all, 

I would like to make sure the pinmux setting of AM437x GP EVM.

I checked the following pins in the schematic and it looks like to be contradiction to

the AM437x datasheet and the actual 44e10800.pinmux setting in linux kernel included SDK.

 After linux_SDK starting up, I checked the pin mode setting with the following command.

root@am437x-evm:/ cat /sys/kernel/debug/pinctrl/44e10800.pinmux/pins | grep "964"

I would like to know which setting is correct mode.

 

1. G24 pin

In Schematics: ECAP0_IN_PWM0_OUT to LCD backlight

Datasheet:      eCAP0_in_PWM0_out: gpio0_7 > mode0x7

In resister: CTRL_CONF_ECAP0_IN_PWM0_OUT Register (Offset = 964h)=00000000

                eCAP0_in_PWM0_out: eCAP0_in_PWM0_out> mode0x0

Is this pi settong Mode 7 or Mode 0?

 

2. D10 pin

In schematics: GPMC_WEN/GPIO to NAND_Wen

Datasheet: gpmc_wen: gpio2_4 > mode0x7 

In resister: CTRL_CONF_GPMC_WEN Register (Offset = 898h)=00010000

                gpmc_wen: gpmc_wen > mode0x0

 Is this pi settong Mode 7 or Mode 0?

3. B9 pin

In schematics: GPMC_CSN1/MMC1_CLK to AM437X_MMC1CLK

Datasheet:      gpmc_csn1: mmc1_clk > mode0x2 

In resister: CTRL_CONF_GPMC_CSN1 Register (Offset = 880h)=08060007

                gpmc_csn1: gpio1_30 > mode0x7

Is this pi settong Mode 2 or Mode 7?

 

4. F10 pin

In schematics: GPMC_CSN2/MMC1_CMD to AM437xMMC1CLK

Datasheet:      gpmc_csn2:mmc1_cmd > mode0x2

CTRL_CONF_GPMC_CSN2 Register (Offset = 884h) =08060007

                gpmc_csn2:gpio1_31 mode0x7

Is this pi settong Mode 2 or Mode 7? 
Do I have to follow the resister settings?

Best regards,
Kanae