EPAQ-9410
Hardware Programming Reference 0.16
________________________________________________________________________
________________________________________________________________________
Copyright © 2019 QEI
Page 36
5.7 Modem ports
PORT1 (J1B)
PORT2 (J1A)
- bring-up Bell 202 modem interfaces
- connect MODEM_1_DET and MODEM_2_DET to SR CPLD for routing
- Modem pin RXEQ needs to be controllable by the processor
5.7.1
CH 1 TX/CH 2 RX configuration
1. power cycle the system
2. Configure routing, modems, etc
#modem CH1 (CH14) TX is controlled by DUART CHA TX
./mmdump -a 0xB4020000 -o 0x08 -b 0x05
#modem CH1 M1/M0 = 0/1 (transmit)
./mmdump -a 0xB4020000 -o 0x09 -b 0x01
#modem CH2 (CH15) TX is controlled by DUART CHB TX
./mmdump -a 0xB4020000 -o 0x0A -b 0x05
#modem CH2 M1/M0 = 1/0 (receive)
./mmdump -a 0xB4020000 -o 0x0B -b 0x02
#DUART CH A RX is controlled by MODEM 1
./mmdump -a 0xB4020000 -o 0x12 -b 0x02
#DUART CH B RX is controlled by MODEM 2
./mmdump -a 0xB4020000 -o 0x13 -b 0x02
3. set baudrate for both DUART ports
stty -F /dev/ttySC0 -echo -icrnl 1200
stty -F /dev/ttySC1 -echo -icrnl 1200
4.
terminal 1:
cat /dev/ttySC1
terminal 2:
cat fox.txt > /dev/ttySC0
observe text from file fox.txt appear on terminal 1
5.7.2
CH 2 TX/CH 1 RX configuration
1. power cycle the system
2. Configure routing, modems, etc
#modem CH1 (CH14) TX is controlled by DUART CHA TX
./mmdump -a 0xB4020000 -o 0x08 -b 0x05