Forum: FPGA, VHDL & Verilog Help with the RTC-8564 in ZC702 evaluation board of xilinx

von flote (Guest)

Attached files:

Rate this post
0 useful
not useful
Hello people,

I am trying to run this Real Time Clock module but I am not lucky. I 
have been using like starting point the xiicps_eeprom_polled_example.c 
provided by xilinx in the folder "drivers" of the installation path. I 
did some modifications to adpat this code to the RTC and I have trying 
to send just an address+data byte to the RTC using the function 
"XIicPs_MasterSendPolled". However I am only able to see that the 
Address is sent correctly, however the data byte is not sent. (See the 
code attached)

Some considerations:
- I want to connect to the RTC through a SDK standalone project.
- The switch is working properly because the oscilloscope pictures 
attached were taken directly in the I2C pins of the RTC-8564. I soldered 
two cables direcly on the chip to check if the signals were driven to 
the chip.

Enrique Perez

von Enrique P. (flote21)

Attached files:

Rate this post
0 useful
not useful
I forgot to attach te file...

von Enrique P. (flote21)

Rate this post
0 useful
not useful
Problem solved. Wrong address...


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.