Thanks again Damion,
I have some I/O on the SBC but they all are occupied, the modification for particular customer needs another 16 Inputs to read.
I am still not sure that one can not use all the Parallel port pins ?..
As Parallel port can be used in SPP , EPP , ECP Modes, you are absolutely right for EPP and ECP but in SPP story is different.
ON this site he is reading from all the pins I cant read :) :(
=============================================================
Pin No (D-Type 25) Pin No (Centronics) SPP Signal Direction In/out Register Hardware Inverted
1 1 nStrobe In/Out Control Yes 2 2 Data 0 Out Data 3 3 Data 1 Out Data 4 4 Data 2 Out Data 5 5 Data 3 Out Data 6 6 Data 4 Out Data 7 7 Data 5 Out Data 8 8 Data 6 Out Data 9 9 Data 7 Out Data 10 10 nAck In Status 11 11 Busy In Status Yes 12 12 Paper-Out / Paper-End In Status 13 13 Select In Status 14 14 nAuto-Linefeed In/Out Control Yes 15 32 nError / nFault In Status 16 31 nInitialize In/Out Control 17 36 nSelect-Printer / nSelect-In In/Out Control Yes 18 - 25 19-30 Ground Gnd Table 1. Pin Assignments of the D-Type 25 pin Parallel Port Connector.=============================================================
The only different : these 4 pins are Inverted????????????.
Also if I believe beyond logic than it says in SPP I can never able to read pins 2-9, which I am already reading??.
I am totally confused???.. Is any one out there wants to share any experience in this controversial issue ?.
Another solution can be to use the multiplexer and read the pins, but do I really need to use the hardware ???.???????????
Regards,
Rushi