From 86e14e1e5a5a8d35d96125aa846113560d2c1112 Mon Sep 17 00:00:00 2001 From: P L Sai Krishna Date: Wed, 18 Feb 2015 11:49:10 +0530 Subject: [PATCH] iicps_v3_0: Modifies the examples. This patch modifies eeprom start address in polled example and updated the note in header in repeated start example. Signed-off-by: P L Sai Krishna --- .../drivers/iicps/examples/xiicps_eeprom_polled_example.c | 2 +- .../drivers/iicps/examples/xiicps_repeated_start_example.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/XilinxProcessorIPLib/drivers/iicps/examples/xiicps_eeprom_polled_example.c b/XilinxProcessorIPLib/drivers/iicps/examples/xiicps_eeprom_polled_example.c index 9bc4ff30..3976dc85 100644 --- a/XilinxProcessorIPLib/drivers/iicps/examples/xiicps_eeprom_polled_example.c +++ b/XilinxProcessorIPLib/drivers/iicps/examples/xiicps_eeprom_polled_example.c @@ -103,7 +103,7 @@ /* * The Starting address in the IIC EEPROM on which this test is performed. */ -#define EEPROM_START_ADDRESS 128 +#define EEPROM_START_ADDRESS 0 /**************************** Type Definitions *******************************/ diff --git a/XilinxProcessorIPLib/drivers/iicps/examples/xiicps_repeated_start_example.c b/XilinxProcessorIPLib/drivers/iicps/examples/xiicps_repeated_start_example.c index ae4f52e6..232d97b0 100644 --- a/XilinxProcessorIPLib/drivers/iicps/examples/xiicps_repeated_start_example.c +++ b/XilinxProcessorIPLib/drivers/iicps/examples/xiicps_repeated_start_example.c @@ -51,7 +51,7 @@ * * The I2C controller does not indicate completion of a receive transfer if HOLD * bit is set. Due to this errata, repeated start cannot be used if a receive -* transfer is followed by any other transfer. +* transfer is followed by any other transfer on Zynq platform. * *
 * MODIFICATION HISTORY:
@@ -152,7 +152,7 @@ int main(void)
 	/*
 	 * Run the Iic repeated start example.
 	 * Refer to note in the header - repeated start cannot be used
-	 * if read transfer is followed by any other transfer.
+	 * on zynq platform if read transfer is followed by any other transfer.
 	 */
 	Status = IicPsRepeatedStartExample();
 	if (Status != XST_SUCCESS) {