Question

Hi,

I have the Zybo Zynq 7000 board (Z-7010).

I also have a Ti Msp430G2 launchpad.

I need the Zybo to be the Master I2c , send request data from the Ti Chip.

In Zybo i'm Using the I2c_0 Built in controller on the ps, i've tried the following Examples with no success(test failed Everytime):

xiicps_polled_master_example.c

xiicps_slave_monitor_example.c

then i tried to to troubleshoot the problem, i'v used the xiicps_polled_slave_example.c and on the Ti Chip i used the wire library, as I2c Master and a c program that Scans Addresses - this works

Therefor all the connections and vivado config are fine.

How can find a working Master Program for zybo?

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 1

Hi @david.600,

I would look at our vivado library here. We have IP cores that use spi, I2c, uart and gpio. If you look towards the bottom of this website here we have out pmods listed with what communication they use. I would suggest to look at the Pmod CPMS2 as an example if using I2C with the zybo being the master. Here is the AXI IIC Bus Interface v2.0 LogiCORE IP Product Guide that should be useful as well.

cheers,

Jon

Share this post


Link to post
Share on other sites
  • 0

jpeyron Thank you for your replay,

Where can i find the C code for Zybo communicating with this Pmod? i only see the code for "Library and example code for a microcontroller using the Arduino IDE"

Thanks,

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now