Tool/software:
I am using AM65X EVM.
I am trying to configure a GPIO0_1 in uboot cmdline to output and set the pin to high state.
1. Verified mux is set to GPIO mode:
=> md 0x11c004 1
0011c004: 08250007 ..%.
2. By default pins are configured in to input mode.
=> md 0x00600010 1
00600010: ffffffff ....
3. Configure GPIO0_1 to output direction
=> mw 0x00600010 0xfffffffd 1
=> md 0x00600010 1
00600010: fffffffd ....
4. configure GPIO_SET_DATA01 register to drive the pin high.
=> md 0x00600018 1
00600018: 00000000 ....
=> mw 0x00600018 0x00000002 1
=> md 0x00600018 1
00600018: 00000002 ....
5. Now when i dump the register config, i noticed SET_DATA01, OUT_DATA01 & CLR_DATA01 are all configured to same value.
=> md 0x00600000 10
00600000: 44832905 00000001 00000000 00000000 .).D............
00600010: fffffffd 00000002 00000002 00000002 ................
00600020: 00001006 00000000 00000000 00000000 ................
00600030: 00000000 00000000 ffffffff 00000000 ................
6. I am not sure why the CLR_DATA01 is also configured if i configure the SET_DATA01. Is it something wrong here?