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.

DP83826E: how to drive LED1

Part Number: DP83826E
Other Parts Discussed in Thread: DP83826I

Hi Team,
I'm using a DP83826E in Basic Mode and try to control a LED (strapped via resistor to GND, which means active high output is necessary to drive
the LED) connected to LED1 /PIN 31 manually via software. I set therefore:

- LED1_GPIO_CFG Register (304h) bit 2-0 to 0h (LED1)

- LEDCFG2 Register (469h), bit 2 to 1h (active high), bit 1 to 1h (high) and bit 0 to 0h (drive LED polarity).


But Pin 31 stays always low - is there anything else to configure which i forgot?


I think that there are some mistakes in the documentation DP83826i, (revised October 2020) which are related to the LED1 Output:
- page 46, Figure 9-9, upper, right block: Pin31/Pin28/Pin29: Register-Addresses are always 0x303, but should be 0x304/0x305/0x306 in my opinion
- page 80, Table 9-19, Bit 5-3, Description: should be cfg_led1_gpio_ctrl[2:0] instead of cfg_led0_gpio_ctrl[2:0] in my opinion
- page 80, Table 9-19, Bit 2-0, Type: should be R/W instead of R in my opinion
- page 86, Table 9-94, Bit 15-12, Type: should be R/W instead of R in my opinion

Thanks a lot in advance and with best regards
Dominik