UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
8,477 Views
Registered: ‎04-23-2014

IICps repeated start

Jump to solution

 I found several question about the repeated start problems in the IICps driver. It seems to be back in the iicps_v3_0 version.

 3.0	sk	11/03/14 Modified TimeOut Register value to 0xFF
 					 in XIicPs_Reset.
 			12/06/14 Implemented Repeated start feature.
			01/31/15 Modified the code according to MISRAC 2012 Compliant.
			02/18/15 Implemented larger data transfer using repeated start
					  in Zynq UltraScale MP.

 

However, non of the examples demostrate how to perform the read with the repeated start. The documentation on iicps_v3_0 only says the following, which is not very informative to me. Could anyone, please, explain how to sue it properly?

Repeated Start

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.
Tags (4)
0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
13,382 Views
Registered: ‎08-02-2007

Re: IICps repeated start

Jump to solution

hi,

 

SDK 2016.1 does have repeated start example available at 

$SDK_Install/XilinxProcessorIPLib/drivers/iicps/examples folder. Can you please check?

 

--hs

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
1 Reply
Xilinx Employee
Xilinx Employee
13,383 Views
Registered: ‎08-02-2007

Re: IICps repeated start

Jump to solution

hi,

 

SDK 2016.1 does have repeated start example available at 

$SDK_Install/XilinxProcessorIPLib/drivers/iicps/examples folder. Can you please check?

 

--hs

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------