Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 27 Jan 2009 01:10 PM by  mikea@logicpd.com
spec for i2c driver(smbus)
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages
swchoi
New Member
New Member
Posts:


--
23 Sep 2008 08:25 AM
    Does any have the spec for the unsupported i2c driver for wince5.0?
    what I meant is how to use it to read a word from a slave device.
    I have a smart battery on the smbus(I believe the i2c driver uses the smbus as the i2c)
    and I can transmit to the battery and it ACK back(seeing from the logic analyzer), but the A404 processor said
    it didn't get the ACK.
    So, I am not sure if this is because I write something wrong or there is still something
    wrong with the board(needs pull up resistors)

    I am using the LOLO to test this
    w /w 0x80000f48 0x822
    w /w 0x80000f44 0x125
    w /b 0x80000f40 0x16
    w /b 0x80000f40 0x16
    w /b 0x80000f40 0x17
    x /b 0x80000f40
    x /b 0x80000f40

    and the processor reg said it failed ACK

    losh> x /w 0x80000f44 6
    0x80000f44 00000125 00000822 00000183 00000015 %..."...........
    0x80000f54 00000000 00000000 ........
    swchoi
    New Member
    New Member
    Posts:


    --
    02 Oct 2008 09:46 AM
    Can the LogicPD people post the spec on how to use it (the i2c driver)
    or added that to the download website please.

    Without documentation, no one can really use the driver.
    swchoi
    New Member
    New Member
    Posts:


    --
    07 Jan 2009 08:29 AM
    there is a i2c doc which is the smbus for those who need this info.

    I don't think the lpd people are going to answer this question posting here, but here goes.
    is the ReadFile() to access the i2c driver thread safe?
    mikea@logicpd.com
    New Member
    New Member
    Posts:


    --
    27 Jan 2009 01:10 PM
    The driver was written to use a critical section around reads/writes to the I2C registers. So, the hardware accesses are protected.
    You are not authorized to post a reply.