OSDev.org

The Place to Start for Operating System Developers
It is currently Mon Apr 29, 2024 11:43 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Intel Atom Elkhart Lake GPIO control
PostPosted: Tue Apr 02, 2024 5:21 pm 
Offline
Member
Member

Joined: Fri Sep 08, 2023 10:46 am
Posts: 41
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


Top
 Profile  
 
 Post subject: Re: Intel Atom Elkhart Lake GPIO control
PostPosted: Tue Apr 02, 2024 6:03 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5146
When the GPIO is configured as an output, bit 0 of DW0 is the output value.


Top
 Profile  
 
 Post subject: Re: Intel Atom Elkhart Lake GPIO control
PostPosted: Wed Apr 03, 2024 8:13 am 
Offline
Member
Member

Joined: Fri Sep 08, 2023 10:46 am
Posts: 41
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


Top
 Profile  
 
 Post subject: Re: Intel Atom Elkhart Lake GPIO control
PostPosted: Wed Apr 03, 2024 8:00 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5146
ravi wrote:
it appeared as if the memory is locked

MMIO is not memory.

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.


Top
 Profile  
 
 Post subject: Re: Intel Atom Elkhart Lake GPIO control
PostPosted: Thu Apr 04, 2024 9:25 am 
Offline
Member
Member

Joined: Fri Sep 08, 2023 10:46 am
Posts: 41
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group