LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 11-08-2010, 11:45 AM   #1
lqu
LQ Newbie
 
Registered: Aug 2009
Posts: 15

Rep: Reputation: 0
I2C problem (registers not writable)


I am having problem using the I2C bus. I am using an ARM920T processor and trying to connect a realtime clock using the I2C bus. the I2C control register is at 0x54000000. I wrote a new value to I2CCON, but the value is still 0x0. The same thing happens to the other I2C registers. (GPIO registers at 0x56000000 are fine.)

I wrote the registers as a user space driver (mmap() the /dev/mem file), and I also setup the SDA and SCL pin in GPIO configuration before this. Could anybody give me some suggestions about what is (possibly) wrong? Thank you.
 
  


Reply

Tags
arm, mmap


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with I2C devices klabs Linux - Embedded & Single-board computer 1 04-29-2010 06:13 PM
Problem with module i2c-core in Slackware 12.0 vcats Slackware 7 04-04-2010 06:55 PM
sendmail -bi problem - Group writable jose_tk Linux - Server 2 03-20-2009 01:03 AM
I2C Header problem with Kernel 2.6 EmbeddedSteve Linux - General 0 06-21-2007 09:56 AM
Problem with Linux/SX28AC i2c interfacing Mike Davies Linux - Hardware 0 11-24-2005 01:32 PM


All times are GMT -5. The time now is 12:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration