Embedded Intel® Core™ Processors
Communicate Intel® Core™ Hardware, Software, Firmware, Graphics Concerns

I2C control by MMIO

AmyChen
Beginner
190 Views

Hello,

I'm using I2C with ADL-S to control the device. Currently, I'm familiar with using SMBus for control. For instance, if I want to control a device at address 0x40 and write FF to register location 0x12, I would perform the following steps in the SMBus registers:

  • IO space+00 = FE (clearing the register)
  • IO space+04 = 40 (device address)
  • IO space+03 = 12 (register address to write to)
  • IO space+05 = FF (data to write)
  • IO space+02 = 48 (write method: byte write)

By following these steps, I can achieve the write operation.

If I want to switch to I2C via MMIO, I've found the base address (memory address).

But what are the corresponding registers, values ​​or steps?
Can you give me a simple example?
Or do you have relevant information to provide me?

Thank you.

0 Kudos
1 Reply
CarlosAM_INTEL
Moderator
162 Views

Hello, @AmyChen:

Thank you for contacting Intel Embedded Community.

We sent an email to the address related to this account with information that may help you to solve this situation.

Best regards,

@CarlosAM_INTEL.

0 Kudos
Reply