I'm trying to display information on an OLED screen via I2C.
In Vivado -> Board I checked "Shield I2C on J3" and made the necessary settings in .xdc
But it doesn't seem to work, if I try to scan the devices it gets stuck at 0x3C and until then it says that all the addresses are connected.
Question
Bogy
Hello,
I'm trying to display information on an OLED screen via I2C.
In Vivado -> Board I checked "Shield I2C on J3" and made the necessary settings in .xdc
But it doesn't seem to work, if I try to scan the devices it gets stuck at 0x3C and until then it says that all the addresses are connected.
XIic_Send(XPAR_AXI_IIC_0_BASEADDR, address, NULL, 0, XIIC_STOP)
If I use XIIC_REPEATED_START it does not block but detects all addresses as connected.
Also, the XIic_SelfTest function blocks the execution.
I would appreciate any suggestions.
Thank you,
Bogdan
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now