- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
NaveedGhori 2016-4-10 下午6:36
I am in the process of writing drivers to access devices attached to the SPI and I2C ports on an E3845.
Does anyone have full working examples for any SPI and/or I2C devices?
I have read through the following document and used the code from within it without success: Intel® AtomTM Processor E3800 Windows 7 IO Driver Software Developer’s Manual
Question:
- Re: IOCTL_I2C_EXECUTE_READ, IOCTL_I2C_EXECUTE_WRITE
- How do I specify the device register to be read/writing when sending a command
- The I2C_SINGLE_TRANSMISSION only allows for a slave address but not the address for the register we are accessing.
- In any case I was unable to read from the device using the code provided.
- Re; IOCTL_SPI_READ, IOCTL_SPI_WRITE
- How do I specify the device register to be read/writing when sending a command
- The SPI_TRANSFER_BUFFER has no place to specify the address we wish to read from.
- From the example code in the document the read commands does not give an error but all the bytes rad are 0xFF..
Please help with example code or documentation detailing how to specify the address to read from in both interfaces.
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page