Intel LPCI-7200S manual Double Buffer Mode Principle

Page 67

6

Double Buffer Mode Principle

The data buffer for a double-buffered DMA DI operation is logically a circular buffer divided into two equal halves. The double-buffered DI begins when the device starts writing data into the first half of the circular buffer (Figure 6-1a). After device begins writing to the second half of the circular buffer, users can copy the data from the first half into the transfer buffer (Figure 6-1b). Users now can process the data in the transfer buffer according to application needs. After the board has filled the second half of the circular buffer, the board returns to the first half buffer and overwrites the old data. Users now can copy the second half of the circular buffer to the transfer buffer (Figure 6-1c). The data in the transfer buffer is again available for process. The process can be repeated endlessly to provide a continuous stream of data to applications (Figure 6-1d).

a

 

 

 

 

 

 

 

 

 

b

 

 

 

 

 

Incoming DMA

 

 

 

 

 

 

>

>

>

 

 

 

input data

 

 

Circular Buffer

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Transfer Buffer

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

c

 

 

 

 

 

 

 

 

 

d

 

 

 

 

 

> >

 

> >

 

 

 

 

>

>

>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Empty Buffer

Untransferred Data

Transferred Data

Figure 6-1

Double Buffer Mode Principle 59

Image 67
Contents NuDAQ→ / NuIPC→ PCI-7200 / cPCI-7200 / LPCI-7200S Page Trademarks Detailed Company Information Getting Service from AdlinkQuestions Table of Contents Double Buffer Mode Principle Limitations Warranty How to Use This Guide Page Applications IntroductionFifo FeaturesSpecifications Maximum Transfer SpeedPCI signaling environment ConnectorDimension Power ConsumptionProgramming Library Software SupportingDASYLabTM PRO PCIS-LVIEW LabVIEW DriverPCIS-VEE HP-VEE Driver DAQBenchTM ActiveX ControlsPCIS-ICL InControlTM Driver PCIS-ISG ISaGRAFTM driverPCIS-OPC OPC Server What Included InstallationUnpacking Device Installation for Windows SystemsPCI -Bus Controller PCI-7200/cPCI-7200/LPCI-7200S’s Layout1b cPCI-7200 Layout Diagram Installation 1c LPCI-7200S Layout Diagram Installation Dimension mm Hardware configuration Hardware Installation OutlinePCI-7200 Pin Assignments Connector Pin AssignmentsCN2 Pin Assignments Installation CN Pin Assignments CPCI-7200 Pin AssignmentsCN1A Pin Assignments LPCI-7200S Pin AssignmentsCN1B Pin Assignments Timer 8254 for Timer Pacer Generation4MHz Clock Onboard Pull-ups and Terminations in digital input LPCI-7200S PCI Bus SignalingI/O Registers Format Register FormatRegister Format Address Base + Attribute Read Only Data Format Digital Input Register Base +Digital Output Register Base + DIO Status & Control Register Base +‹ Digital Output Mode Setting ‹ Digital Input Mode Setting‹ Interrupt Control Interrupt Status & Control Register Base + 1C‹ Digital I/O Fifo Status Address Base + 1C Attribute READ/WRITE Data Format‹ Timer Configuration Control ‹ Fifo Control and Status cPCI-7200 only ‹ Ireq Polarity Selection8254 Timer Registers Base + Page Direct Program Control Operation TheoryCLK0 Timer Timer Pacer ModeHandshaking External Clock ModeOreq & Oack for Digital Output ≥ 60ns CYC ≥ 5 PCI CLK Cycle ≥ 2ns ≥ 30ns Timing Characteristic≥ 60ns CYC ≥ 5 PCI CLK Cycle ≥ 2ns ≥ 30ns Operation Theory ≥ 0ns ≥ 60ns ≥ 2 PCI CLK Cycle ≥ 1 PCI CLK Cycle Outack Page ++ Libraries Libraries Installation++ Libraries 38 C/C++ Libraries Programming GuideNaming Convention Data Types++ DOS 7200InitialVisual C++ Windows Visual Basic Windows7200AUXDI 7200SwitchCardNo40 C/C++ Libraries 7200AUXDO 7200AUXDIChannel7200DI 7200AUXDOChannel42 C/C++ Libraries 11 7200DO 10 7200DIChannel44 C/C++ Libraries 12 7200DOChannel13 7200AllocDMAMem 15 7200AllocDBDMAMem 14 7200FreeDMAMem46 C/C++ Libraries 17 7200DIDMAStart 16 7200FreeDBDMAMem48 C/C++ Libraries Bus Mastering DMA mode of the PCI-7200++ DOS Clearfifo 18 7200DIDMAStatus50 C/C++ Libraries 20 7200DblBufferMode 19 7200DIDMAStop22 7200DblBufferTransfer 21 7200CheckHalfReady52 C/C++ Libraries 24 7200DODMAStart 23 7200GetOverrunStatus54 C/C++ Libraries 25 7200DODMAStatus26 7200DODMAStop @ Argument 27 7200DITimer56 C/C++ Libraries 28 7200DOTimer 58 C/C++ Libraries Double Buffer Mode Principle Double Buffer Mode Principle Limitations Page Product Warranty/Service Warranty Policy

LPCI-7200S specifications

The Intel LPCI-7200S is a powerful and versatile communication controller that stands out in the field of embedded computing solutions. This product is designed to cater to a wide range of applications including industrial automation, telecommunications, and transportation systems. Its robust architecture, combined with advanced features and technologies, makes it an attractive option for developers and system integrators looking for reliable performance in mission-critical environments.

One of the main features of the LPCI-7200S is its enhanced processing capability. The controller is built around Intel’s latest processor technology, enabling high-speed data handling and improved overall system response. This makes the LPCI-7200S suitable for applications that require real-time data processing and quick decision-making based on incoming information.

Additionally, the LPCI-7200S incorporates a variety of communication interfaces, ensuring seamless integration with other devices and systems. It features multiple serial ports, Ethernet interfaces, and various other connectivity options, allowing for flexible configuration depending on the needs of the application. This versatility enables users to easily connect a range of peripherals, including sensors, cameras, and other industrial equipment.

The LPCI-7200S also supports various industrial communication protocols, making it adaptable to specific market needs. With support for standards such as CAN, Modbus, and Ethernet/IP, it can facilitate efficient data exchange in diverse industrial environments.

Power efficiency is another key characteristic of the LPCI-7200S. Intel has designed this controller to operate effectively within lower power consumption thresholds, which is critical for embedded applications, particularly those that need to manage thermal output and maintain long operational life without requiring frequent maintenance.

Moreover, the LPCI-7200S boasts a rugged design, suitable for harsh environments. Its components are built to withstand extreme temperatures, vibrations, and dust, ensuring functionality even in challenging conditions. This durability makes it an ideal choice for use in outdoor applications or manufacturing settings where reliability is paramount.

Finally, with an emphasis on security, the LPCI-7200S implements advanced cybersecurity features to protect sensitive data and prevent unauthorized access. This attention to security is increasingly important in modern connected environments where the risks of cyber threats are ever-present.

In summary, the Intel LPCI-7200S is a cutting-edge communication controller that offers a blend of processing power, versatile connectivity, industrial protocol support, energy efficiency, ruggedness, and security. These characteristics make it an invaluable asset for a wide array of applications across various industries.