Do you have a question about the HSS8 and is the answer not in the manual?
Questions and answers
Summary of Contents for SSCI HSS8
Page 1
User Manual for the 4-Channel New Generation 8-Channel High-Speed Serial I/O Adapters Windows NT 4 Software Driver C²I² Systems Document No. CCII/HSS8/6-MAN/004 Document Issue Issue Date 2009-08-31 Print Date 2009-09-03 File Name W:\HSS8\TECH\MAN\CH8MAN04.WPD Distribution List No.
Page 3
Signature Sheet Name Signature Date Completed by Project Engineer Board Level Products C²I² Systems Accepted by Project Manager Board Level Products C²I² Systems Accepted by Quality Assurance C²I² Systems CCII/HSS8/6-MAN/004 2009-08-31 Issue 1.2 CH8MAN04.WPD Page ii of vii...
Page 4
Amendment History Issue Description Date ECP No. First draft. 2005-09-26 Updated after review by WRM. 2005-10-20 Implemented ECP, references to adapters made more generic. 2006-06-29 CCII/HSS8/6-ECP/026 Improve document naming consistency. 2009-08-31 CCII/HSS8/6-ECP/042 CCII/HSS8/6-MAN/004 2009-08-31 Issue 1.2 CH8MAN04.WPD Page iii of vii...
Baud Rate Generator Hardware Abstraction Layer Hard Diskdrive HDLC High Level Data Link Control High-Speed Serial (Acronym for the C²I² Serial I/O Adapter project) HSS8 8-Channel High-Speed Serial I/O Adapter Input / Output Industry Standard Architecture MSDN Microsoft Developer Network...
C²I² Systems HSS8 Adapter. The HSS8 Windows NT 4 Software Driver binaries are provided with explicit installation instructions. The HSS8 Windows NT 4 Software Driver will also run as a legacy software driver under Windows 2000 or XP, but does not support Plug and Play (PnP), Windows Management Instrumentation (WMI) or power management.
2.1.1 Motorola, MPC8260 PowerQUICC II Family Reference Manual, MPC8260UM/D Rev. 1, dated May 2003. 2.1.2 CCII/HSS8/6-MAN/001, Hardware Reference Manual for the 4-Channel New Generation and 8-Channel High-Speed Serial I/O Adapters. 2.1.3 DI-IPSC-81443, Data Item Description for a Software User Manual.
Please note that by default the software driver will not be listed in the Device Manager. To view the adapter, select View and then “Show hidden devices”. The HSS8 is listed under the “Non-Plug and Play Drivers” node. Windows will indicate the adapter as an ISA device, this is normal as it is how Windows treats non-PnP drivers.
Uninstalling the Software Driver In the Start menu, select Control Panel from the Settings menu. Click on “Add/Remove Programs”. Select the “HSS8 Windows Driver (vX.Y.Z)” from the list and click the Remove button. Answer yes to delete all files from the HDD.
Using the Event Viewer The Windows administrative tool, “Event Viewer” can be used to inspect the event logs. The HSS8 Windows NT 4 Software Driver logs certain information and fatal errors to the event log. Refer to the event log when an operation does not function as expected.
Application Program Interface (API) The HSS8 Windows NT Software Driver complies to most of the Windows 32 API for serial devices, i.e. channels can be opened and used in the Windows HyperTerminal application. Refer to the Platform SDK in [2.1.4] for the communications resource documentation. The serial function prototypes can be found in the SDK file “winbase.h”.
4.3.6 FlushFileBuffers Not supported. Structure Limitations Not all the fields of the serial structures are used by the HSS8 Windows NT 4 Software Driver. This paragraph will mention all the exceptions. 4.4.1 COMMCONFIG dwProviderSubType : none of the types makes provision for a device that is both RS-232 and RS-422 capable.
When “Lock Settings” is checked, all requests via the Win32 API will be ignored. Any change in baud rate or parity will then not be updated, the HSS8 Windows NT 4 Software Driver will keep the setting as specified in the control panel.
Software Driver information dialogue shown in Figure 3. The Driver version is referring to the HSS8 Windows NT 4 Software Driver itself. It has the format X.Y.Z. A change in X would indicate that the HSS8 Windows NT 4 Software Driver has an added feature. Y would mean that a new software driver engine is used in the software driver.
SMC Channels. The UART dialogue window is shown in Figures 4 and 5. The settings are described in Paragraph 5.4.1. Figure 4 : UART Dialogue Figure 5 : UART Advanced Dialogue CCII/HSS8/6-MAN/004 2009-08-31 Issue 1.2 CH8MAN04.WPD...
Number of data bits. Note only Ports [9-12] support nine or more data bits. NORMAL Select UART mode : UART Mode MAN MM Normal, manual multidrop AUTO MM automatic multidrop mode. CCII/HSS8/6-MAN/004 2009-08-31 Issue 1.2 CH8MAN04.WPD Page 11 of 26...
Page 20
10 zero bits. 0x0000 - 0x00FF Address in multidrop mode. Only Address1, Address2 the lower 8 bits are used so the upper 8 bits should be cleared. CCII/HSS8/6-MAN/004 2009-08-31 Issue 1.2 CH8MAN04.WPD Page 12 of 26...
Page 21
Ignore these bits when comparing Receive control character mask. A RX Control Character incoming character. one enables comparison and a zero Mask 0b11------11111111 - Enable comparing the incoming masks it. character to cc[n]. CCII/HSS8/6-MAN/004 2009-08-31 Issue 1.2 CH8MAN04.WPD Page 13 of 26...
This protocol may only be used with the eight SCC ports : HSS8_1 to HSS8_8. The HDLC dialogue windows is shown in Figures 6 and 7. The settings are described in Paragraph 5.5.1. Figure 6 : HDLC Dialogue Figure 7 : HDLC Advanced Dialogue CCII/HSS8/6-MAN/004 2009-08-31 Issue 1.2 CH8MAN04.WPD...
CLK_IN for synchronous mode) and RTS to CTS and CD. ECHO The transmitter automatically Set diagnostic mode. resends received data bit-by- bit. For synchronous mode : see encoding_method. LOOPBACK_ECHO Loopback and echo operation occur simultaneously. CCII/HSS8/6-MAN/004 2009-08-31 Issue 1.2 CH8MAN04.WPD Page 15 of 26...
Page 24
Send flags/sync Send either idles or flags/syncs between frames as defined by the protocol. For HDLC the flag is defined as 0x7E. NRZI encoding methods may only be used with flags/syncs. CCII/HSS8/6-MAN/004 2009-08-31 Issue 1.2 CH8MAN04.WPD Page 16 of 26...
Minimum Preamble Length Decoding Method Preamble Pattern Required NRZI Mark All zeros 8-bit NRZI Space All ones 8-bit All ones 8-bit All zeros 8-bit Manchester 101010...10 8-bit Differential Manchester All ones 8-bit CCII/HSS8/6-MAN/004 2009-08-31 Issue 1.2 CH8MAN04.WPD Page 17 of 26...
This protocol may only be used with the eight SCC ports : Ports HSS8_1 to HSS8_8. The BISYNC dialogue windows is shown in Figures 8 and 9. The settings are described in Paragraph 5.6.1. Figure 8 : BISYNC Dialogue Figure 9 : BISYNC Advanced Dialogue CCII/HSS8/6-MAN/004 2009-08-31 Issue 1.2 CH8MAN04.WPD...
2. LRC (sum check) : For even LRC, initialise prcrc and ptcrc to zeros, for odd LRC initialise to ones. Enable Receive Block Check Enable RX BCS Sequence (BCS). CCII/HSS8/6-MAN/004 2009-08-31 Issue 1.2 CH8MAN04.WPD Page 19 of 26...
Page 28
CRC constant value. 0x0000 or Preset receiver transmitter CRC Preset RX 0xFFFF CRC16/LRC. These values should be CRC Preset TX preset to all ones or zeros, depending on the BCS used. CCII/HSS8/6-MAN/004 2009-08-31 Issue 1.2 CH8MAN04.WPD Page 20 of 26...
Page 29
LRC or CRC. cccccccc (8 bits) - Defines control characters to be compared to the incoming character. When using 7-bit characters with parity, include the parity bit in the character value. CCII/HSS8/6-MAN/004 2009-08-31 Issue 1.2 CH8MAN04.WPD Page 21 of 26...
Page 30
The receiver synchronizes on a 16-bit sync pattern stored in sync. Send either idles or flags/syncs Enable flags/syncs between frames as defined by the protocol. The flag character is equal to sync. CCII/HSS8/6-MAN/004 2009-08-31 Issue 1.2 CH8MAN04.WPD Page 22 of 26...
Actual baud rate = 100 MHz / 16 / ROUND (100 MHz / 16 / Desired baud rate) Where ROUND () implies that the result is rounded to the nearest integer. Number of full stop bits. Stop bits CCII/HSS8/6-MAN/004 2009-08-31 Issue 1.2 CH8MAN04.WPD Page 23 of 26...
Page 32
1 + data length (5-14) + 1 (if parity is used) + number of stop bits (1-2). For 8 data bits, no parity, and 1 stop bit, the character length is 10 bits. CCII/HSS8/6-MAN/004 2009-08-31 Issue 1.2 CH8MAN04.WPD Page 24 of 26...
Getting Started This paragraph contains example code extracts for using the Win32 API to access the HSS8 device. Normal Write Operation HANDLE h_device; dcb; char tx_buffer[100]; DWORD bytes_send; h_device = CreateFile("\\\\.\\HSS8_1", GENERIC_READ | GENERIC_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); GetCommState(h_device, and dcb);...
Email support@ccii.co.za http://www.ccii.co.za/ Product Support Support on C²I² Systems products is available telephonically between Monday and Friday from 09:00 to 17:00 CAT. Central African Time (CAT = GMT + 2). CCII/HSS8/6-MAN/004 2009-08-31 Issue 1.2 CH8MAN04.WPD Page 26 of 26...
Need help?
Do you have a question about the HSS8 and is the answer not in the manual?
Questions and answers