lpcware

SGPIO Features?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by MikeSimmonds on Sat Mar 07 20:22:14 MST 2015
I am still trying to get my head round the SGPIO, specifically on the 4370.

I have fundamental questions.
Imagine a peripheral that takes a clock input and a bi-directional data line.
[Not necessarily partitioned in 8 bit chunks.]

[1] Can the SGPIO be configured to drive/read a bi-directional pin as part of a single transaction?
[2] Can the SGPIO issue 'line turn around' clock(s) without reading or writing the data pin?
[3] Can the SGPIO handle variable direction change point(s)?

I would guess that it can, because it can emulate I2C. But I have not tracked down example code yet.
Any links would be appreciated.

Regards, Mike

Outcomes