cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
15,246 Views
Registered: ‎06-25-2008

iic example for microblaze

Jump to solution

Can anyone point me to an example (.c) for iic IP running with Microblaze in EDK?

Thanks,

DeWayne

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Voyager
Voyager
18,572 Views
Registered: ‎10-01-2007

Re: iic example for microblaze

Jump to solution

DeWayne,

 

Xilinx provides some good code examples in your EDK installation.  Look under %XILINX_EDK%\sw\XilinxProcessorIPLib\drivers\iic_v1_13_b\examples.  I am working on an example based on xiic_repeated_start_example.c that accesses the TI TMP100 temp sensor from MicroBlaze (EDK 10.1.03).  I hope to have it posted next week here www.em.avnet.com/spartan3a-evl.

 

Bryan

View solution in original post

0 Kudos
4 Replies
Highlighted
Xilinx Employee
Xilinx Employee
15,236 Views
Registered: ‎08-02-2007

Re: iic example for microblaze

Jump to solution

Hello,

 

There is a reference design for OPB based IIC.

 

Refer <http://www.xilinx.com/support/documentation/application_notes/xapp979.pdf>

 

Regards 

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Highlighted
Voyager
Voyager
18,573 Views
Registered: ‎10-01-2007

Re: iic example for microblaze

Jump to solution

DeWayne,

 

Xilinx provides some good code examples in your EDK installation.  Look under %XILINX_EDK%\sw\XilinxProcessorIPLib\drivers\iic_v1_13_b\examples.  I am working on an example based on xiic_repeated_start_example.c that accesses the TI TMP100 temp sensor from MicroBlaze (EDK 10.1.03).  I hope to have it posted next week here www.em.avnet.com/spartan3a-evl.

 

Bryan

View solution in original post

0 Kudos
Highlighted
Observer
Observer
14,319 Views
Registered: ‎02-05-2008

Re: iic example for microblaze

Jump to solution

Bryan,

 

Thanks for pointing out the existence of the examples folder for the I2c drivers.  This will help out alot!

 

Cheers.

 

Phil

0 Kudos
Highlighted
Contributor
Contributor
2,137 Views
Registered: ‎05-28-2018

iic read problem!

Jump to solution

hi,

am using spartan 6 fpga to interface decoder through i2c,

for this am using xps_iic microblaze core, here when i send data onto sda line there am able to see only device id and ack sent by slave this is continously(address ack their is low to high pulse again address ack low to high pulse.....) repeating but actual data is not their on the sda line, plz give a solution to my problem?

0 Kudos