This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
resources:eval:dpg:programming_reference [09 May 2012 17:19] – Approved Jason Coutermarsh | resources:eval:dpg:programming_reference [12 Oct 2012 15:10] (current) – JESD204 documentation Jason Coutermarsh | ||
---|---|---|---|
Line 112: | Line 112: | ||
<code csharp> | <code csharp> | ||
Returns an array of HardwareSPIport objects, used to communicate through a SPI port on the DPG. // | Returns an array of HardwareSPIport objects, used to communicate through a SPI port on the DPG. // | ||
+ | |||
+ | <code csharp> | ||
+ | Returns an object which allows access to JESD204-related functions. Only available on pattern generators which support JESD204, and only when a JESD204 image is loaded into the DPG. // | ||
==== Methods ==== | ==== Methods ==== | ||
Line 229: | Line 232: | ||
<code csharp> | <code csharp> | ||
This method is identical to setting the property Pattern. It is provided for use in applications which cannot set array properties. | This method is identical to setting the property Pattern. It is provided for use in applications which cannot set array properties. | ||
+ | |||
+ | ===== JESD204Interface ===== | ||
+ | Provides access to the JESD204 capabilities of a pattern generator. | ||
+ | |||
+ | ====Properties==== | ||
+ | <code csharp> | ||
+ | Gets or sets the number of framers in the current DPG setup. | ||
+ | |||
+ | <code csharp> | ||
+ | Returns an array of JESD204Framer objects, which is the primary interface to the hardware framers inside the DPG. | ||
+ | |||
+ | <code csharp> | ||
+ | Gets or sets the maximum number of lanes that can be utilized in this setup across all framers. | ||
+ | |||
+ | <code csharp> | ||
+ | Returns an array of JESD204Lane objects, which provides access to individual lane features. | ||
+ | |||
+ | ===== JESD204Framer ===== | ||
+ | Provides access to one (of one or more) JESD204 framers inside the DPG. | ||
+ | ====Enumerations==== | ||
+ | ^eJESD204Revision| | | | ||
+ | | |PreA|The original revision of the JESD204 specification| | ||
+ | | |A|The JESD204A revision| | ||
+ | | |B|The JESD204B revision| | ||
+ | |||
+ | ^eSubclass| | | | ||
+ | | |Subclass0|JESD204B Subclass 0 (No deterministic latency)| | ||
+ | | |Subclass1|JESD204B Subclass 1 (High-Speed Deterministic Latency)| | ||
+ | | |Subclass2|JESD204B Subclass 2 (Low-Speed Deterministic Latency)| | ||
+ | |||
+ | ====Properties==== | ||
+ | <code csharp> | ||
+ | Gets or sets the revision of the JESD204 specification to use. // | ||
+ | |||
+ | <code csharp> | ||
+ | Gets or sets the JESD204B subclass used. // | ||
+ | |||
+ | <code csharp> | ||
+ | Gets or sets the JESD204 parameter L // | ||
+ | |||
+ | <code csharp> | ||
+ | Gets or sets the JESD204 parameter F // | ||
+ | |||
+ | <code csharp> | ||
+ | Gets or sets the JESD204 parameter K // | ||
+ | |||
+ | <code csharp> | ||
+ | Gets or sets the JESD204 parameter N // | ||
+ | |||
+ | <code csharp> | ||
+ | Gets or sets the JESD204 parameter Np // | ||
+ | |||
+ | <code csharp> | ||
+ | Gets or sets the JESD204 parameter M // | ||
+ | |||
+ | <code csharp> | ||
+ | Gets or sets the JESD204 parameter S // | ||
+ | |||
+ | <code csharp> | ||
+ | Gets or sets the JESD204 parameter HD // | ||
+ | |||
+ | <code csharp> | ||
+ | Turns on or off JESD204 scrambling // | ||
+ | |||
+ | ====Methods==== | ||
+ | <code csharp> | ||
+ | Downloads data asynchronously to the memory in the pattern generator for playback to the framer. The first dimension of DataVectors should be M long. ShowProgress indicates if a status bar should be displayed during the download process. | ||
+ | |||
+ | <code csharp> | ||
+ | Downloads data synchronously to the memory in the pattern generator for playback to the framer. The first dimension of DataVectors should be M long. ShowProgress indicates if a status bar should be displayed during the download process. | ||
+ | |||
+ | ===== JESD204Lane ===== | ||
+ | Provides access to one (of one or more) JESD204 physical lanes inside the DPG. | ||
+ | |||
+ | ====Properties==== | ||
+ | <code csharp> | ||
+ | When true, the polarity of the differential pair is reversed (effectively swapping P and N) // | ||
+ | |||
===== AnalogDevices.DPG.Interfaces.HardwareTypes Namespace ===== | ===== AnalogDevices.DPG.Interfaces.HardwareTypes Namespace ===== | ||
====Enumerations==== | ====Enumerations==== | ||
Line 281: | Line 362: | ||
| |OneShot6|The second DCI line will be asserted for 6 DCO cycles after playback is started.| | | |OneShot6|The second DCI line will be asserted for 6 DCO cycles after playback is started.| | ||
| |OneShot7|The second DCI line will be asserted for 7 DCO cycles after playback is started.| | | |OneShot7|The second DCI line will be asserted for 7 DCO cycles after playback is started.| | ||
+ | |||
+ | ===== DPG3-Specific Features ===== | ||
+ | ====QBF (Implementation of JESD204Framer)==== | ||
+ | In addition to the base implementation of JESD204Framer, | ||
+ | ===Enumerations=== | ||
+ | ^eSyncSelect| | | | ||
+ | | |Internal|Drive Sync from an internal data bit| | ||
+ | | |External|Use the Sync line provided from the connected evaluation board| | ||
+ | |||
+ | ===Properties=== | ||
+ | <code csharp> | ||
+ | Holds the framer in reset when true // | ||
+ | |||
+ | <code csharp> | ||
+ | Selects between the external (hardware) Sync line, or an internally generated sync state. // |