UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer jcmoctezuma
Observer
246 Views
Registered: ‎08-14-2007

AXI IIC acting as a sensor (slave)

Hi,

I have in FPGA an embedded system (NOT Microblaze based) which has IIC controller. In order to test this, I want to use Microblaze system with AXI IIC peripheral acting as a sensor; this is, I want MB IIC acts as a slave to the other IIC controller and deliver responses back

Any recommendations about hardware design and how to handle this in software in the MB side?

Thanks for your help

 

0 Kudos
2 Replies
Observer jcmoctezuma
Observer
192 Views
Registered: ‎08-14-2007

Re: AXI IIC acting as a sensor (slave)

Any example of using IIC as slave please?

0 Kudos
Explorer
Explorer
168 Views
Registered: ‎12-11-2017

Re: AXI IIC acting as a sensor (slave)

Model your I2C slave as a small memory. Use a small FSM to intercept address / subaddress and process that to a selected register. Then you can run transactions on your master side and validate that they're making it to your slave. You could also do that with Microblaze, but that seems like more work.

Use ILA to debug it if you need to.

0 Kudos