Dear All,
I have the information that Toshiba Satellite Pro 4600's IrDA port is
SMC LPC47N227 chip with a SMC IRCC.
I downloaded the pdf file from www.smsc.com. ( 47n227.pdf )
The programming seems very similar to the FDC37N869.
I can get the device ID ( 0x5a ) at config register 0x02e.
The trivially hacked findchip
(
static smc_chip_info_t chips[] =
{
{ "FDC37C669", {0x3f0, 0x370, 0}, 0x55, 0x55, 0x0d, 0x03, probe_69
},
{ "FDC37C669FR", {0x3f0, 0x370, 0}, 0x55, 0x55, 0x0d, 0x04, probe_69 },
{ "LPC47N227", {0x02e, 0x04e, 0}, 0x55, 0x0, 0x0d, 0x5a, probe_69 },
{ 0 }
) gives:
Found SMC LPC47N227 Controller at 0x2e, DevID=0x00, Rev. 0
SIR Base 0x0, FIR Base 0x0
IRQ = 0, DMA = 15
Enabled: no, Suspended: no
UART compatible: yes
Half duplex delay = 0 us
------------------------------------------------------
I can get ex. the SIR address for Serial 1 port via the CR24 register,
but for the Serial 2 port always get 0x0.
The CR28 also says correct value for serial 1 IRQ, but for the serial
2 is 0.
-------------------------
Power: 0x08
Revision: 0x00
CR00: 0x0028
CR01: 0x0094
CR07: 0x0050
CR24: 0x00fe
CR24<<2: 0x03f8
CR25: 0x0000 <-- should be ex. 0x2f8
CR28: 0x0040 <-- should be 0x0043
CR2B: 0x0000 <-- should be nonzero
Mode: 0x02
------------------------
The only difference between the default values of the FDC37N869 and
LPC47N227 is the CR02 power on default which is 0x88 at 869 and 0x08
at 227.
So the serial2 is missing from my LPC47N227 :-) !!!??
Or I should enable it somehow ?
I tried the power up for serial2, and many other things, but
I cannot control the serial 2 nor the FIR address (CR2B) ?
The documentation says that the default IO address is 0x0 for the
serial1, serial2, fir, but the serial 1 is not 0x0. Why ? I didn't
inicialized it !
So I think I can configure the LPC47N227 except the Serial2 and IRCC
module.
Does anybody have any idea how to program correctly this chip ?
Thank you in advance !
Csaba Paradi
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda