Home
        ELAN DIGITAL SYSTEMS LTD. SP230 PC
         Contents
1.     10   ACKbar_   INTRbar   in   acknowledge      11   BUSY _   WAITbar   i   bwy k    12   PE   USERDEF  in _   preo     13_  _SLCT ___ _USERDEF   n o   semo    auto feed  15   ERRbar   USER DEF   m   moe    16   INITbar_   RESETbar   out    resetsignaal      17  SELECTINbar   ADDRSTBbar  out   select    18 25   GND _   GND Ts signal ground         Elan Digital Systems Ltd  16 SP230 USER    S GUIDE    5 2 ELECTRICAL  All figures quoted are typical parameters   25  C    RS232 SIGNALS  Typical output level  5 5V    LPT SIGNALS  Typical Vol 0 3V  Voh 4 8V  Vil 0 7V  Vih 2 4V   Driver output impedance typ  30ohms  Input  amp  output  capacitance typ  800pF    Open drain drivers use 4 7KOhm pull ups to Vcc     ESD PROTECTION  All RS232 signal lines on the SP230 card are protected  against electrostatic discharge  ESD   e  15kv   human body model  e  8kv   IEC1000 4 2 contact discharge  e      15kv   IEC1000 4 2 air gap discharge    All LPT signal lines on the SP230 are protected against  electrostatic discharge  ESD   e kv  330R and 150pF discharge model    UART CLOCK SPEED  xl mode 1 8432MHz  max baud rate 115 2K Baud  x8 mode 14 7456MHz  max baud rate 921 6K Baud    5 3 POWER CONSUMPTION   All figures quoted are typical parameters   25  C   VCC CURRENT  25mA typical at 5V with no connections  35mA typical at 5V  115KBaud  and LPT  connected    5 4 MECHANICAL   MASS  12g typical    FORM FACTOR  Typell PC Card   5 5 ENVIRONMENTAL   HUMIDITY   lt 80  non condensing   TEMP  0 50  
2.    ELAN DIGITAL SYSTEMS LTD     LITTLE PARK FARM ROAD   SEGENSWORTH WEST   FAREHAM    HANTS  PO15 5SJ   TEL   44   0 1489 579799  FAX   44   0 1489 577516  e mail  support   pcecard co uk    website  http   www pccard co uk    SP230 PC CARD  USER   S GUIDE       All Trademarks are duly acknowledged     REVISION HISTORY    ISSUE   PAGES DATE NOTES    a EC eee eT  ee  a a a       Elan Digital Systems Ltd  1 SP230 USER   S GUIDE    Table of Contents    1  OVER VIEW vise ssccdecieccccdes cecsccsscsscsesccactesatesss sus susdesvcsascssvccteaseseobea sSeesstecsbustsdessndecasedkebeesseetastssbrsdveavenes 3  2  ABOUT THE SP2S0 ii scccciccccsscsccssescosscssscssasnccvasescocossencecbevonasedecoacsedesaseesessoscasdevsscasdensssnedsnadososuassesoas 4  3  INSTALLING THE SP230  sccccccisccsscaccsaccesiestescesecvscsessuccchscsucosselexccnsseonsbecsnoncusbsesccbesgeesheddecvsansuseeas 6  3 1 DOS  amp  WINDOWS 31X  NTM aiaa aa a eee eee ROS RR 6  3 2 WINDOWS 95  98  98SE  ME  2000  XP            cccecesssssssssssssssssssssssssssssssssessesesssssessesesssesseseeesseseeeeseeeees 6  3 3  WINDOWS CE  POCKETPC i  s cicscdencccevs Ge lieel eis coagesecctea seeccgos se dee te E EEE AA uttdadeveedeveuterteeccessaaeeetes 8  4  SP230 REGISTER INTERFACE                cccccssscssssssssscsssscssscsscessesssessecscssscsscsesescsscnsssssesssesseesseees 9  4I SERIAL POR Taria esserne eona e aean deed des dette ee iea e a e secede th des Jester 9  AD PARALLEL PORT HAE EE OEE EEE AATE A ER EEO EE TOR EEE 
3.  S GUIDE    2  ABOUT THE SP230    Serial Port    The SP230 PC Card provides an RS232 serial port  which uses  Elan   s own 16550 compatible UART ASIC device  called the  VPU16550  The serial data and control lines are buffered using ESD  protected RS232 drivers  which feature an auto power down mode  when the RS232 cable is not connected     Industry standard baud rates up to 115 2K baud are supported   together with 16 byte deep TX and RX FIFOs  Additionally  the  SP230 can be set to multiply the baud rates by 8  allowing up to  921KBaud to be used  The faster rates are transparent to the O S  so  you ll have to remember to multiply the rate you set in software by 8  to tell you what the real hardware rate is e g  if you set 19200baud in  software  and you select x8 mode  the real rate will be 153600baud     For further information please refer to the WPU16550 data sheet  available from our website  http   www pccard co uk    Parallel Port    The SP230 follows the IEEE1284 standard to offer 3 modes of   operation    1  Uni directional SPP mode  This mode is closest to the legacy     Centronics    mode as was found on the original IBM AT printer  adapter  The 8 data lines are output only  and certain of the  output control lines use open drain drivers with 4 7KOhm pull   ups  This mode can also be known as    nibble    mode because the  only way to input data is via the 4 input status lines    2  Bi directional SPP mode  This mode is identical to uni   directional SPP mode ex
4.  acknowledge the cycle some time later by setting its WAITbar signal  high  The SP230 will respond to this edge  by setting the  ADDRSTBbar or DATASTBbar signal high  followed by the  WRITEbar strobe  In response  the peripheral will set its WAITbar  signal low  or sometime in the future  ready for the next cycle     A read cycle follows the same pattern except the WRITEbar signal  remains high the whole time  and the host reads the data present on  DATA  0  7  that is being driven by the peripheral  make sure DIR is  set to a    1    before the read cycle      If an EPP cycle is started by the SP230 and cannot complete within  8us because either the WAITbar signal stays low  or it goes high and  stays high  then the cycle will be terminated and the EPP timeout bit  will be set     Elan Digital Systems Ltd  20 SP230 USER   S GUIDE    The following diagrams show the basic transfers diagrammatically     EPP Port  Write Access       WRITEbar       ADDRSTBbar or  DATASTBbar    WAITbar    DATALO  7        EPP Write Cycle    EPP Port  Read Access   Fi    WRITEbar  ADDRSTBbar or    DATASTBbar  CT OoOO lf  WAITbar S rs a  DATALO  79 ZRS Ved KA    EPP Read Cycle    Elan Digital Systems Ltd  21 SP230 USER   S GUIDE    
5.  is provided    as is     with no warranty  express or implied  as to its quality or fitness for a particular purpose   Elan assumes no liability for any direct or indirect losses arising from use of the  supplied code     Copyright    2002 Elan Digital Systems Ltd     Elan Digital Systems Ltd  2 SP230 USER    S GUIDE    1  OVERVIEW    The SP230 is a multifunction RS232 Serial and JEEE1284 Parallel  Port PC Card with the following features     e Industry standard RS232 COM port with 16550 UART   e TEEE1284 Parallel Port featuring SPP Uni directional  SPP Bi   directional and EPP Modes   e Windows 95  osr2   98  98SE  Me  2000  XP compatible using   standard O S  drivers   Serial data rates up to 921K Baud using x8 baud rate mode   Full hardware modem control line support on COM port   Standard decode for COM1 to COMn  and LPT1  2 or 3      Any    IO port and interrupt decode option for best pnp flexibility   ESD protected RS232 and Parallel Port drivers   Low power consumption  5V operation   Supplied with 300mm cable with DB9 male using    standard      COM port pin out and DB25 female with standard LPT port pin    out    This guide aims to familiarize you with the way that the SP230  works and so will help you to maximize its performance in your  application     Elan will be happy to quote for either customization of the SP230 if    its exact specifications do not quite meet your needs  or to create  complete application software     Elan Digital Systems Ltd  3 SP230 USER  
6. 1    will allow an external circuit  to    over drive    the 4 7KOhm pull up  resistor then bit2 will act as an input  reading  the level from pin16     Inverse of DB25pin17  In SPPU mode  setting bit3 to    1    will drive  pin17 low and force bit3 to read as    0     But  setting it to    1    will allow an external circuit  to    over drive    the 4 7KOhm pull up  resistor then bit3 will act as an input  reading  the inverted level from pin17     INTACK    SPPU     0     SPPB  amp  EPP  DIR    This port is the control register for the parallel port  It allows direct bit wise access to  the control signals that connect to the attached parallel device     12       SP230 USER   S GUIDE    EPP Address Port  IOBASE 3  THIS REGISTER FUNCTIONS IN EPP MODE ONLY    BIT FUNCTION    A write access to this port will trigger an EPP ADDRESS WRITE cycle   with nADDRSTB and nWRITE asserted and DATA 0  7  output to  DB25pins2 to 9  A read cycle to this port will trigger an EPP ADDRESS  READ cycle with nADDRSTB asserted and data read from DB25pins2 to 9   See Appendix A        ieai  0    4    6    Note that the DIR bit must be set to    1    prior to a read cycle     Elan Digital Systems Ltd  13 SP230 USER   S GUIDE    EPP Data Port  IOBASE 4 5 6 and 7  THESE REGISTERS FUNCTION IN EPP MODE ONLY    BIT FUNCTION    A write access to any of these port will trigger an EPP DATA WRITE  cycle  with nDATASTB and nWRITE asserted and DATA 0  7  output to  DB25pins2 to 9  A read cycle to this port wil
7. C ambient    5 6 NOTES ON SERIAL DATA THROUGHPUT  The maximum serial baud rate of 921KBits sec does not imply that  the maximum sustained throughput rate of the serial port will be as    high  The actual throughput rate that can be achieved depends on    Elan Digital Systems Ltd  17 SP230 USER    S GUIDE    many factors including the host PC speed  the serial data source   s  data block size and whether the block are    back to back     whether  the interrupt in use on the host is being shared by other devices  leading to increased latency etc    As a simple rule of thumb  using the standard serial drivers on a fast  PC will allow throughput rates of 400 600KBits sec although these  rates can   t be guaranteed and will be application specific     5 7 SP230 MODE CONFIGURATION    The SP230 can be configured using a small bank of DIP switches  arranged at the rear of the PC Card  The diagram below shows the  function of each switch  The switches should be set to the desired  mode of operation before the card is inserted and used     a  gt     OFF ON                             gt  BAUD RATE x1 BAUD RATE x8   gt  not used not used         gt   BOTH OFF  SPP SPP UNI DIRECTIONAL MODE         BI DIRECTIONAL MODE EPP MODE          not used    E       ON    orr AS  A    Figure 5 7 1 SP230 DIP Switch Settings                                              Elan Digital Systems Ltd  18 SP230 USER    S GUIDE    5 8 BAUD RATE SETTINGS    The table below illustrates the common baud rate value
8. EEEE S T N EE TEE 10  5  HARDWARE SPECIFICATION              cccsccsscssssssscsocssesscesssessssscessesscesseessesscesscesscssccsseseseseasseessense 15  DF ed ALO 1 0 EEEE E EEE EE EEE EET EB ERB ERR 15  DAPA m B D EA h id LOAN ERE E E ES EE  17  3 3  POWER CONSU MP T ON N N A eee 17  54 MECHA NCA a N a a 17  SVEN VIRONMENT Air N HSE a a Sa a a e 17  5 6 NOTES ON SERIAL DATA THROUGHPUT    cccccecscscececececseseesecseeeeceeseseeeesseseseeeeeess 17  5 1 SP230  MODE  CONFIGURATION e E A A a r Aa 18  5 8  BAUD RATE SETTINGS vas nna tebe e E SEE A EE 19  APPENDIX A EPP MODE wisssscscisscccssssstcssccesssccossssscccasseenecvssansechsovscdeteponascdesecdeedssdeoasdenssedsdeoseoseceneecace 20  DISCLAIMER    This document has been carefully prepared and checked  No responsibility can be  assumed for inaccuracies  Elan reserves the right to make changes without prior notice  to any products herein to improve functionality  reliability or other design aspects  Elan  does not assume any liability for loses arising out of the use of any product described  herein  neither does it convey any license under its patent rights or the rights of others   Elan does not guarantee the compatibility or fitness for purpose of any product listed  herein  Elan products are not authorized for use as components in life support services  or systems  Elan should be informed of any such intended use to determine suitability of  the products     Source code supplied with Elan PC Cards and Compact Flash cards
9. TINbar  The bit written is inverted and output to  DB25pin17   In SPPU mode the output driver is an open   drain type with a 4 7KOhm pull up  In all  other modes  the driver is a totem pole type     INTACK    Setting this bit low prevents the parallel port  from making interrupts  Setting this bit high  allows the rising edge of DB25pin10   ACKbar  to activate an IRQ  Once an IRQ  is activated it will stay asserted until a read  or write access to any of the parallel port  registers     SPPU  Not used  SPPB amp EPP  DIR    In SPPU this bit is write only  In SPPB  amp   EPP this bit controls the data port output  drivers  A    l    in this bit will tri state them  allowing the data port to act as an input  A     0    in this bit will enable the output drivers     Inverse of DB25pin1  In SPPU mode  setting bit0 to    1    will drive  pin  low and force bit0 to read as    0     But  setting it to    0    will allow an external circuit  to    over drive    the 4 7KOhm pull up  resistor then bitO will act as an input  reading  the inverted level from pin1     Inverse of DB25pin14  In SPPU mode  setting bit1 to    1    will drive  pin14 low and force bit  to read as    0     But  setting it to    0    will allow an external circuit  to    over drive    the 4 7KOhm pull up  resistor then bit  will act as an input  reading  the inverted level from pin14     DB25pin16  In SPPU mode  setting bit2 to    0    will drive  pin16 low and force bit2 to read as    0     But  setting it to    
10. cept that a previously unused register bit  is now used to tri state the 8 data line output drivers  allowing  data to be read in  and the open drain drivers become    normal     totem pole outputs  the 4 7KOhm resistors become disabled in  this mode   Having the bi directional data port offers a great  improvement in transfer speed for equipment that must  communicate data in both directions    3  EPP mode  This mode preserves all the same features as Bi   directional SPP mode but also adds extra IO ports to allow data  handshaking to occur automatically with the connected device     Elan Digital Systems Ltd  4 SP230 USER   S GUIDE    This offers a large increase in data throughput capability  To use  EPP mode may require special drivers  as Windows    support is  limited  EPP mode is described in Appendix A  The SP230 only  supports EPP1 9 mode  EPP1 7 mode was superseded by EPP1 9  mode      Elan Digital Systems Ltd  5 SP230 USER   S GUIDE    3  INSTALLING THE SP230    3 1 DOS  amp  Windows 3 1x  NT4    The SP230 is not suited to use in DOS or Windows 3 1x because it  is a true multi function PC Card  3  party Card and Socket Services  drivers for such cards do not exist  multi function cards were  defined sometime during Windows95 roll out and correspondingly  DOS drivers were not updated and were left to support only single  function cards   This is simply a function of available software and  is NOT a shortcoming of the SP230 hardware     A similar situation is found wi
11. is the level at the DB25 pins  which will be the same as the byte  written if the port is set to the output direction in the Control Port        ieee    Elan Digital Systems Ltd  10 SP230 USER   S GUIDE    sa Port  IOBASE 1    RESET  WRITE    m n Not used     tee 1    EPP  Clear timeout EPP  Timeout  This bit is set in EPP mode if an EPP  cycle did not complete within approx   8us  The bit is cleared by writing a    1     back to this bit  Further EPP cycles  are permitted while the EPP Timeout  bit is set     EA    Sey  Follows  ERRbar signal    DB25pin12  Follows  PE leu  ACKbar signal  DB25pin11  Inverse of  BUSY signal    This port is the status register for the various signals that are inputs from  the connected parallel device     DB25pin13 Follows  SLCT signal       Elan Digital Systems Ltd  11 SP230 USER   S GUIDE    Elan Digital Systems Ltd     Control Port  IOBASE 2    FUNCTION    STROBEbar  The bit written is inverted and output to  DB25pin1   In SPPU mode the output driver is an open   drain type with a 4 7KOhm pull up  In all  other modes  the driver is a totem pole type     AUTOFDbar  The bit written is inverted and output to  DB25pin14   In SPPU mode the output driver is an open   drain type with a 4 7KOhm pull up  In all  other modes  the driver is a totem pole type     INITbar    The bit written is output to DB25pin16   In SPPU mode the output driver is an open   drain type with a 4 7KOhm pull up  In all  other modes  the driver is a totem pole type     SELEC
12. l trigger an EPP DATA READ  cycle with nDATASTB asserted and data read from DB25pins2 to 9  See  Appendix A     Note that the DIR bit must be set to a    1    prior to a read cycle     Note that by performing 16  24 or 32 bit IO cycles to IOBASE 5 6 or 7  respectively  the host will automatically break the transfer down into  several 8 bit wide EPP cycles  accessing IOBASE 5  6  7 etc in turn  so  allowing more efficient word or dword wide transfers            0    4    6    Elan Digital Systems Ltd  14 SP230 USER   S GUIDE    5  HARDWARE SPECIFICATION    5 1 PINOUT    The SP230 is supplied with a 300mm long Type313 cable that  terminates with both a DB9 Male connector with female screwlocks  and a DB25 Female connector with female screwlocks  both  connectors are a match of the ports at the back of a PC     The pin outs below show the connections at the end of the DB9 and  DB25 connectors    DB9 COM PORT PINOUT  MALE     NAME FUNCTION    2   RX Receive Datainput               3    5  Data Set Ready input     8     s   ear ToSendinput O    PoP RE   CRing indicate input    RX  TX  ND       Elan Digital Systems Ltd  15 SP230 USER   S GUIDE    DB25 LPT PORT PINOUT  FEMALE     Baal SPP NAME   EPP NAME  in  Out  Bidir from  FUNCTION  see    STROBEbar   WRITEbar strobe ena      2   DATAO   DATAO   bidir   databito      4   DATA2   DATA2   bidir   databit2      6   DATAd   DATA4   bidir   databit4 k     8   DATA6   DATAG   bidir   databito f     9   DATA7   DATA7   bidr   databit7  
13. ng  Pick the first  free port in the list  Windows will then ask you to re boot again   The LPT port should now be useable in the usual way     These O S     also allow you to change the COM port number  Go to  the Device Manager and expand the Ports branch  There you will  find the    SP230 Com Port  COMxx      Double click on this device  and use the Properties page to adjust the COM port number that  Windows assigned by default     Elan Digital Systems Ltd  7 SP230 USER   S GUIDE    3 3 Windows CE  PocketPC    The SP230 will not work in either of these O S     because of a  limitation in the handling of true multi function PC Cards     Elan Digital Systems Ltd  8 SP230 USER   S GUIDE    4  SP230 REGISTER INTERFACE    4 1 Serial Port    Full details of the SP230   s UART register interface can be found in  the VPU 16550 data sheet  available at Elan   s website    http   www pccard co uk    Elan Digital Systems Ltd  9 SP230 USER   S GUIDE    4 2 Parallel Port    In the following tables  SPPU means SPP uni directional mode   SPPB means SPP bi directional mode and EPP means EPP mode     Data Port  IOBASE 0    BIT FUNCTION  SPPB amp EPP  DB25pin2  SPPB amp EPP  DB25pin3  SPPB amp EPP  DB25pin4  SPPB amp EPP  DB25pin5  SPPB amp EPP  DB25pin6  SPPB amp EPP  DB25pin7  SPPB amp EPP  DB25pin8  SPPB amp EPP  DB25pin9   This port is the 8 bit wide data register that connects to pins 2 to 9 on the   DB25 connector  Note that in SPPB  amp  EPP modes  the read state of this    register 
14. s available  for each of the baud rate multiplier switch positions     300 300 2400  1200 1200 9600  2400 2400 19200  4800 4800 38400                9600 9600 76800  19200 19200 153600  38400 38400 307200  57600 57600 460800   115200 115200 921600                         Elan Digital Systems Ltd  19 SP230 USER   S GUIDE    Appendix A EPP Mode    EPP Mode uses interlocking handshakes  This means that the  interface can exchange data with a peripheral and the transfer will  happen at a rate dictated by the slowest device  the host or the  peripheral      This maximises throughput speeds and takes away timing  uncertainties due to cable length  capacitance  I O driver speeds etc     The basic transfer uses the WAITbar signal to control the cycle   The SP230 uses EPP1 9 mode where it will not initiate an EPP cycle  unless the WAITbar signal is low     On initiating a cycle  the SP230 will assert either DATASTBbar or  ADDRSTBbar depending on whether the cycle is of data or address  type  In fact either type of cycle is just a way of passing data back  and forth across the interface  but data cycles are defines specifically  for    data    transfers whereas address cycles could transfer control   addressing or command data     For a write cycle  the SP230 will assert WRITEbar  to signal the  start of the cycle  as well either ADDRSTBbar or DATASTBbar    The data on DATA 0  7  will be the byte written to one of the EPP  ports  make sure to set DIR to a    0      The peripheral will 
15. th Windows NT4 although it is more  likely that 3  party tools may exist to support this O S     3 2 Windows 95  98  98SE  Me  2000  XP    The    generic    serial and parallel drivers in these Operating Systems  support the SP230  No extra driver software is needed but you will  need to install Card Center Pro to get the SP230 registered with the  O S  Simply run SETUP and follow the instructions given  Note  that you must reboot the PC after installation  to allow the com and  Ipt ports to be assigned port numbers by the O S     Note that for Win9x and Me the port numbers assigned cannot be  changed and are a function of the other ports you have in your  system     Special Note for Windows2000 and XP     Parallel ports don   t default to having an LPT port number assigned  in either of these two operating systems  On first installation of the  SP230  you should follow the instructions that you are given i e  re   boot when you are asked to do so  these are Windows    prompts    After the whole process is complete  go to the Device Manager   right click My Computer  select Properties  Device Manager   Hardware   Expand the    Ports    branch  You should see    SP230 Lpt  Port  COMxx      and there should be an exclamation mark along side  it  You ll notice that Windows has given it a COM port number  not    Elan Digital Systems Ltd  6 SP230 USER   S GUIDE    an LPT port number  Double click this device  and use the    Port  Settings    tab to access the LPT port number setti
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
Emerson Fisher CV500 Data Sheet  TDS HYDROMASK GREEN 50  Samsung 320TSN-3 Lietotāja rokasgrāmata  Add-On Computer Peripherals (ACP) 15ft DVI-D to DVI-D  2.1 Subw oo fer System PEP 200  TUBE ULTRAGAIN MIC100  User Guide - Boot Disk  Canon 6048B001 Digital Camera User Manual  Kaito Electronics KA600  Numérisation des données radiométriques de    Copyright © All rights reserved. 
   Failed to retrieve file