Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: GST on July 17, 2017, 09:44:50 AM

Title: TE0720 rtc mapping
Post by: GST on July 17, 2017, 09:44:50 AM
Hello,

I'm having trouble to use the provided RTC on my TE0720-03-2IF module which I'm using on a custom carrier. I don't know how to reach the I2C bus to which the RTC is connected to from my bare metal application. And in Vivado I don't know to were I must map the IIC_1 peripheral to, to make the bus visible for the ARM. The next page:

https://wiki.trenz-electronic.de/display/TE0720/I2C+Peripherals (https://wiki.trenz-electronic.de/display/TE0720/I2C+Peripherals)

states that: 'It is recommended to map PS I2C1 via EMIO to this I2C bus.'

I activated the IIC_1 peripheral in the ZYNQ_processing_system in the (existing) block design but cannot figure out were to connect it to... Propably I'm missing out something very obviously.


Thanks in advance!
Giovanni
Title: Re: TE0720 rtc mapping
Post by: JH on July 18, 2017, 08:10:28 AM
Hello,

you can use our reference design:
https://shop.trenz-electronic.de/de/Download/?path=Trenz_Electronic/TE0720/Reference_Design/2017.1/test_board

I2C1 to  RTC is connected over System Controller IP on external PL IOs.

br
John
Title: Re: TE0720 rtc mapping
Post by: GST on July 21, 2017, 02:46:44 PM
Hello JH,

Thank you, that's the part I've been missing, got it working now.

Thanks again!

Giovanni