EmbDev.net

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


Author: flote (Guest)
Posted on:
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.

Regards,
Enrique Perez

Author: Enrique Perez (flote21)
Posted on:
Attached files:

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

Author: Enrique Perez (flote21)
Posted on:

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

Reply

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]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig