hello Octocontrabass
Which is the register to use to change the state of GPIO, 1 to 0 or 0 to 1 so on during run time, is it DW0?
Thanks
Ravi
Intel Atom Elkhart Lake GPIO control
-
- Member
- Posts: 5568
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Intel Atom Elkhart Lake GPIO control
When the GPIO is configured as an output, bit 0 of DW0 is the output value.
Re: Intel Atom Elkhart Lake GPIO control
Yeah its configured as output,,, but when i try to change DW0 bit 0, to Change the output state, nothing happens, it appeared as if the memory is locked
Thanks
Ravi
Thanks
Ravi
-
- Member
- Posts: 5568
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Intel Atom Elkhart Lake GPIO control
MMIO is not memory.ravi wrote:it appeared as if the memory is locked
Firmware might have locked the configuration registers. You can read the lock registers and the ownership registers to check.
Your board's firmware might describe the GPIOs using ACPI AML.
Re: Intel Atom Elkhart Lake GPIO control
Thanks, Solved
Configfile in bootloader was getting corrupted, my pad configuration where not updated correctly,, i think the editor(comes with SBL tool) is the issue
Thanks
Ravi
Configfile in bootloader was getting corrupted, my pad configuration where not updated correctly,, i think the editor(comes with SBL tool) is the issue
Thanks
Ravi