>   My aim is to configure the modem using UART ch.3
> of sa-1110 and some gpio pins for handshaking, i have
> taken due care that gpio's that i use are solely
> general purpose.
> 
>  I have configured DTR and RTS as output pins(seting
> them aso/p direction in GPDR register) and since they
> are active low signal cleared the same in GPCR
> register. CTS and DSR being programmed as input pins.
> I am sending AT commands for dialling over TxD_3.
> 
>  Have i missed out anything??please let me know as
> to how i can configure gpio-pins AND the procedure
> followed for HANDSHAKING with a dialup modem(in either
> data or voice modes).

First (it might be dependent on what's on the board besides the SA), I
needed to set the GPIO bits in order to talk to the modem, not clear
them.
Second, you also need to add support to the serial driver for the actual
flow control (assuming you use hardware flow control, which is the right
thing to do with a modem).

at http://www.arava.co.il/matan/arm/serial_sa1100.c you can find a
version of my drivre with my enhancement for modem lines support. It
should be easy to adapt to your needs. Using it should be possible with
any program that controls modem lines in a a standard way. An example
program is at http://www.arava.co.il/matan/arm/writeSS.c


-- 
Matan Ziv-Av.                         [EMAIL PROTECTED]


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to