Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 5, 3 & 1 Forum Discussions

MaMi_1205306
Level 7
Level 7
500 replies posted 50 solutions authored 25 likes received

Hi,

The DisplayPort AUX signal is half duplex.
We are considering converting that half duplex to full duplex.
So we are considering using PSoC, is it feasible?
Have there been any such cases in the past?
conversion.JPG
I think PSoC4 if it doesn't need UDB resources,

Do you think that conversion of DisplayPort will require UDB?

Regards,

0 Likes
4 Replies
Len_CONSULTRON
Level 9
Level 9
500 solutions authored 1000 replies posted 750 replies posted

Hi,

I'm not that familiar with DisplayPortAUX standard.  I just read about on Wikipedia.

If you're not trying to read or interpret the data across the AUX channel but translating it from half- to full- then you should be able to implement it with logic.  In this case, it's just an electrical pass-through.

If the PSoC needs to interpret the the bit-stream to perform some function, you will need to create a Manchester decoder.  If the PSoC needs to insert data into the stream, you will need to create a Manchester encoder.  In both cases, you will need some UDB logic to serialize the data stream.

Bit to Manchester encoding is fairly easy.  A bit 1 turns into a Manchester 1->0 and a bit 0 turns into a Manchester 0->1 (G.E. Thomas) .  Some devices use the inverted version (IEEE 802.3) of this which is bit 1 = Manchester 0->1 and bit 0 = Manchester 1->0.  Decoding is just the reverse of encoding.

Since there are two 'chips' for every bit, the chip rate needs to be double the bit rate.

Does the PSoC have to perform any actions with the data in the data stream?

Len

Len
"Engineering is an Art. The Art of Compromise."
0 Likes

Hi Len,

To do this project, you don't need any PSoC. You can actually use the fixed function components like UART and SPI.

You can actually use Display port to USB converter to convert the DisplayAUX signal to PSoC. Please refer the page below. To implement this project, you need PSoC 4L device because USB is present in PSoC 4L. Please note that USB in PSoC will not support the data rate for video.

https://www.cypress.com/documentation/reference-designs/ez-pd-ccg3-usb-type-c-displayport-cable-solu...

You can also go through the following code example where the image from the PC is downloaded to PSoC using UART terminal.

https://www.element14.com/community/thread/26076/l/psoc-4-pioneer-kit-community-project060-psoc-4-mi...

From PSoC to Optical cable you can use SPI component which is Full Duplex.

Thanks

Ganesh

0 Likes

We will also report the content we considered.

Since DisplayPort's TX is full duplex, It can be processed by AOC(Acrive Optical Cable) as it is.

Since AUX is half duplex, conversion is necessary.
However, since we only convert the signal,
It seems to be possible with half duplex and full duplex components.

At that time, we have to be careful about the timing of transmission and reception,

but it can be realized by using the UART reception interrupt.

0 Likes

Hi,

You are correct. You should be careful with the timing while converting Half-Duplex o Full-Duplex. Please try to do the same and let us know if you are facing any particular issues during project development.

Thanks

Ganesh

0 Likes