Hi,
sorry but i have no idea how to write this.
I have still my problems with IO handling.
I need a TS-Interface like http://www.cypress.com/?rID=39714.
But just the Interface!
Is is it possible to build this with XMOS? I think yes.
But how can i write this?
Can somebody help me?
TS-Interface with XMOS
-
- Active Member
- Posts: 32
- Joined: Fri Oct 07, 2011 3:20 pm
-
- Respected Member
- Posts: 279
- Joined: Fri Dec 11, 2009 1:34 pm
Take a look here for some transport stream interface code:
https://github.com/xcore/sw_avb/tree/v5 ... rfaces/tsi
https://github.com/xcore/sw_avb/tree/v5 ... rfaces/tsi
-
- Active Member
- Posts: 63
- Joined: Mon Jul 15, 2013 11:39 pm
If you have not worked with Cypress's FX2LP ("EZ-USB") series before, then it may be impractical to learn enough about that environment to translate their EZ-USB example into XMOS terms.
That said - slave FIFO mode of the Cypress part implies there is a microprocessor used as the master to feed the FX2LP data and properly handle control signals. Are you planning on using the FX2LP for your USB 2.0 interface paired with XMOS?
I could be wrong - but I'm not aware of any projects/examples showing pairings of XMOS to the Cypress part. However, for USB connectivity there are examples using external phy parts and USB handled in XMOS code. This may overall be a better solution, save board space, increase MTBF (less parts), save cost, reduce development time, etc.
Also, depending on your USB requirements - I believe some XMOS parts have a USB phy as well.
Regards,
Jason Whiteman
That said - slave FIFO mode of the Cypress part implies there is a microprocessor used as the master to feed the FX2LP data and properly handle control signals. Are you planning on using the FX2LP for your USB 2.0 interface paired with XMOS?
I could be wrong - but I'm not aware of any projects/examples showing pairings of XMOS to the Cypress part. However, for USB connectivity there are examples using external phy parts and USB handled in XMOS code. This may overall be a better solution, save board space, increase MTBF (less parts), save cost, reduce development time, etc.
Also, depending on your USB requirements - I believe some XMOS parts have a USB phy as well.
Regards,
Jason Whiteman
-
- Active Member
- Posts: 63
- Joined: Mon Jul 15, 2013 11:39 pm
As far as a more direct answer to your question regarding help with XMOS I/O, reference documentation and get yourself comfortable with manipulating a bus.
Content: XC reference for port/clock maniupulation
Source: XS1-Library(X6020G).pdf (link subject to change)
https://www.xmos.com/download/public/XS ... 6020G).pdf
Content: I/O, Clocking, Serial buses, with examples (LCD Screen Driver, etc)
Source: XC-Programming-Guide(X1009B).pdf (link subject to change)
http://www.xmos.com/download/public/XC- ... 1009B).pdf
NOTE: see PDF page 46 - "Case Study: LCD Screen Driver" and later information. The document does a good job of showing waveforms, giving examples, etc.
If you come from an FPGA/Verilog background, the following link may be useful:
http://www.slideshare.net/xmos/xc-progr ... -designers
Also useful for another I/O-centric XC doc would be
Source: Programming-XC-on-XMOS-Devices(X9577A).pdf
https://www.xmos.com/download/public/Pr ... 9577A).pdf
Although there are updated docs - the presentation is slightly different in this doc. May help.
Regards,
Jason Whiteman
Content: XC reference for port/clock maniupulation
Source: XS1-Library(X6020G).pdf (link subject to change)
https://www.xmos.com/download/public/XS ... 6020G).pdf
Content: I/O, Clocking, Serial buses, with examples (LCD Screen Driver, etc)
Source: XC-Programming-Guide(X1009B).pdf (link subject to change)
http://www.xmos.com/download/public/XC- ... 1009B).pdf
NOTE: see PDF page 46 - "Case Study: LCD Screen Driver" and later information. The document does a good job of showing waveforms, giving examples, etc.
If you come from an FPGA/Verilog background, the following link may be useful:
http://www.slideshare.net/xmos/xc-progr ... -designers
Also useful for another I/O-centric XC doc would be
Source: Programming-XC-on-XMOS-Devices(X9577A).pdf
https://www.xmos.com/download/public/Pr ... 9577A).pdf
Although there are updated docs - the presentation is slightly different in this doc. May help.
Regards,
Jason Whiteman
-
- Active Member
- Posts: 32
- Joined: Fri Oct 07, 2011 3:20 pm
I will not build something with the Cypress Part or rebuild this.
I need just the TS Interface to read a TS Stream (188 Byte / Frame).
After i have collect a Block/Frame (188 Byte), i need a "PID" Filter and i will send the required Frame to the next Thread.
The AVB System locks like exactly what i need.
Now i must understand how this Code Works.
At the moment i understand nothing!
I need just the TS Interface to read a TS Stream (188 Byte / Frame).
After i have collect a Block/Frame (188 Byte), i need a "PID" Filter and i will send the required Frame to the next Thread.
The AVB System locks like exactly what i need.
Now i must understand how this Code Works.
At the moment i understand nothing!