background image

 

Research & Development 

 

9. Voice AT Commands   

Command 

Function 

Option 

Default 

Description 

+FLO 

Flow control select. 

0,1,2 

0: NO flow control. 
1: (XON/XOFF) Software flow control. 
2: (RTS/CTS) Hardware flow control. 

+VIP Initialize 

parameters. 

N/A  N/A 

+VSD=15,70 (15*4, 7 second) 
+VTD=100 (1 second) 
+VRN=10  (10 second) 
+VRA=70  (7 second) 
+VGR=0 (Enable AGC) 
+VGT=128 
+FLO=1 (XON/XOFF) 
+VIT=70 (7 second) 

+FCLASS 

Voice/data/fax selection 0,1,2.0,8 

0: DATA. 
1: CLASS 1 FAX. 
2.0: CLASS 2.0 FAX. 
8: VOICE. 

+FMI Manufacturer 

ID. 

N/A  Omni56K  

+FMM? Model 

ID 

N/A 

ZyXEL 

 

+FMR? Revision 

N/A 

V1.x 

 

+VRX 

Voice recording 

N/A 

N/A 

Start recording. 

+VGR 

Set the gain for the 
received voice sample.

0: Automatic gain control(AGC) 
   

+VGT 

Set the gain for the 
transmitted voice 
sample. 

0-255 128 

 

+VLS 

Select a voice I/O 
device. 

0,1,2   

0: The DCE is on hook. Local phone 
connected to Telco line. 
1: The DCE is on-hook and is connected 
to the local phone. The local phone is 
provided with power. The modem can 
record/play through the local phone set. 
2: The DCE is off-hook and is connected 
to the Telco line. The local phone is 
provided with power. The modem can 
record/play though the telephone line. 

+VRA 

Ring back goes away 
timer 

0 – 255   

70 

0 : turn off timer 
Unit: 100 ms 

+VRN 

Ring back never come 
timer 

0 – 255 

10 

0 : ring back never come 

+VTX 

Voice transmit mode 

NA 

NA 

Enter voice transmission process. 

+VSD Silence 

detection 

Threshold, 
Period 
(0-31),(0-255)

15,70 

(0-31): DCE silence detection threshold 
0: Disable silence detection. 
(0-255): The required period of silence 
detection before DCE reporting event. 
0: Disable silence detection. 
Unit: 0.1 second 

+VSM Selection 

compression 

method 

4;ZyXEL 
ADPCM; 4 
Bit;(9600) 

4,9600 

IMA 4 bit ADPCM. 
Sample rate : 9600 
 

 

Page

 

25

 

of

 

25

Revision 1.0 

2003/6 From 3JTech

 

Summary of Contents for uModem

Page 1: ...opment Technical Document for uModem USB Modem Revision Issue Date Engineer Comments 1 0 November 22 2002 YLYang Pre release Copyright by 3JTech Co Ltd All rights reserved Page 1 of 1 Revision 1 0 2003 6 From 3JTech ...

Page 2: ...ses only one DSP core embedded in the ZD1051 to handle both the signal and protocol processing No controller is needed for modem protocol handling This kind of integration not only shrinks the modem chipset into a single chip but also improves hardware reliability and reduces the power consumption An extremely small 128 pin TQFP package 16x16 mm square is easily fitted to any critical PCB design T...

Page 3: ...is not digital This V 90 data pump is very suitable for remote access applications such as Internet access remote on line service and corporate data base access ZyDAS 56K USB modem conforms to ITU T V 34 standard operates in two wire full duplex asynchronous mode at line speeds up to 33 6Kbps Based on ZyDAS s own DSP algorithm this modem can maintain high quality connections at high speeds especia...

Page 4: ...its such as FEPROM and Silicon Lab s DAA circuit It is active low when pin RS is active 3 3V output active low Clock signals 2 pins The clock input frequency is 12 MHz either an external clock source or a parallel mode crystal circuit can be used as the clock input of ZD1051 CKSOCI Crystal oscillator input or the input from an external clock source 1 8V input CKSOCO Crystal oscillator output Leave...

Page 5: ... power for FEPROM program and erase operation 3 3V output active low The additional FEPROM interface signal needed for programming and erasing AMD 29F400 is only EPWR Data memory interface The data memory interface is used to interface high speed SRAM ZyDAS USB modem needs a 1M bits 12 nsec SRAM This SRAM is connected to the high speed data bus of ZD1051 A 17 0 Address bus lines are the same as pr...

Page 6: ...bit 16 25 NC O Reserved 26 VDD18 Power 1 8V power 27 EPWR O Write strobe signal for program memory 28 WP O Write protect signal for FEPROM 29 NC O Reserved 30 NC O Reserved 31 A17 O Address bus bit 17 32 VPP O Control power supply for FEPROM programming and erasing 33 A9 O Address bus bit 9 34 A0 O Address bus bit 0 35 A10 O Address bus bit 10 36 GND Power Digital ground 37 A3 O Address bus bit 3 ...

Page 7: ...connection or when flashing in handshaking procedure 88 NC I Reserved 89 GND Power Digital ground 90 AA O Indicate modem in auto answer mode or when flashing detects an incoming ring signal 91 NC I Reserved 92 NC I Reserved 93 OP1 O General purpose output pin 94 OP2 O General purpose output pin 95 SCLK O Serial clock output for EEPROM 96 SDAT IO Serial bi directional data signal for EEPROM 97 VDD3...

Page 8: ...5 FSR1 I DSP frame sync input 126 CKPLL O 6 144 MHz master clock output 127 RGDT I Ring detection input 128 OFFHK O Hook control signal output Note NC Please leave those pins whose pin name marked as NC to be no connection All I O pins are 3 3V I O pad except for pin 11 26 43 68 104 105 106 and 117 which are 1 8V I O pad Pin 118 must be pulled low with a pull low resister e g 20K ohm Page 8 of 8 R...

Page 9: ...l characteristics PARAMETER MIN TYP MAX UNIT Power Consumption Operating mode 3 3V 1 8V 40 45 mA mA DC Characteristics Supply Voltage VDD 3 3V 3 0 3 6 V Supply Voltage VDD 1 8V 1 65 1 95 V Input Low Voltage 3 3V 0 0 3VDD V Input High Voltage 3 3V 0 6VDD VDD V Output Low Voltage 3 3V 0 0 2VDD V Output High Voltage 3 3V 0 8VDD VDD V AC Characteristics ROM access time 120 ns SRAM access time 12 ns Pa...

Page 10: ...Research Development Figure 2 Hardware Interface Signals of ZD1051 Page 10 of 10 Revision 1 0 2003 6 From 3JTech ...

Page 11: ...Research Development Figure 3 Physical Dimension of ZD1051 Page 11 of 11 Revision 1 0 2003 6 From 3JTech ...

Page 12: ...ign However ZyDAS also provides two reference circuit designs based on Si3034 to enhance the over current over voltage protection and RF noise immunity Please note that the inductors L1 L2 L3 and L4 must be located beside the sidactor RV1 shown below The rating current of L1 L2 L3 and L4 must be 200 mA The rating voltage of C1 and C3 must be 3 KV The rating voltage of C2 is 300 V P1B RJ11 6P4C B1 ...

Page 13: ...Research Development APPENDIX_B 3JTech uModem Mechanism Page 13 of 13 Revision 1 0 2003 6 From 3JTech ...

Page 14: ... 7 B0 Select CCITT V 22 for 1200 bps B1 Select Bell 212A for 1200 bps communication Ds Dial s numbers and options that follow see also S38 0 S35 4 The options of s are listed as follows 0 9 A B C D Digits for dialing P Pulse dialing S23 1 T Tone dialing S23 1 Pause for a time specified in S8 Remaining digits will be dialed as in band DTMF Return to command state after dialing Hook flash Wait for a...

Page 15: ...ayed S23 7 Q0 Modem returns result code Q1 Modem does not return result code Q2 Modem returns result code but quiet after answering on a RING see also S42 2 S40 1 Sr b n Set bit b of S register r to value n n is a binary digit 0 or 1 Sr b Display value of bit b of S register r Sr n Set S register r to value n n must be a decimal number between 0 and 255 Sr Display value stored in S register r T To...

Page 16: ...as active configuration Gn Guard tone options S28 4 5 G0 No guard tone within USA Canada G2 1800 Hz guard tone Hn Data flow control DTE DCE S27 3 5 H0 Flow control disabled H3 Hardware CTS RTS flow control H4 Software XON XOFF flow control Kn Modem error control and data compression S27 0 2 K0 No error control Same as AT K K1 MNP4 See also S41 0 include MNP3 K2 MNP4 MNP5 See also S38 5 S41 0 K3 V ...

Page 17: ...N78 V 90 56000 Pn Pulse dial make break ratio S23 2 P0 make break 39 61 P1 make break 33 67 Rn RTS Request To Send function selection S21 5 R0 CTS tracks RTS response delay is set in S26 R1 Ignore RTS assumes RTS always ON Sn Data Set Ready DSR function selection S21 3 S0 DSR has overridden DSR always ON S1 DSR according to CCITT ITU TSS See also S41 5 S44 4 Tn Modem testing S16 T0 Terminate test ...

Page 18: ...acter length C1 11 bit character length C2 9 bit character length C3 8 bit character length Dn n 0 3 Set default dial pointer at telephone directory location n S29 D0 See also S35 4 and S38 0 En Modem error control negotiation S21 0 E0 if error control negotiation fails keep the non error control connection E1 If error control negotiation fails disconnect the call hang up Pn n 0 15 P9 Set transmis...

Page 19: ...D Transmit Data with MOD Carrier See table 6 1 FRM MOD Receive Data with MOD Carrier See table 6 1 FTH n Transmit HDLC Data with MOD 3 Carrier n 3 FRH n Receive HDLC Data with MOD 3 Carrier n 3 The value of MOD parameters lists as below Value Modulation Speed 3 V 21 ch 2 300 24 V 27ter 2400 48 V 27ter 4800 72 V 29 7200 73 V 17 7200 74 V 17 short train 7200 96 V 29 9600 97 V 17 9600 98 V 17 short t...

Page 20: ...FCLASS n Service class selection Refer to FCLASS Class 1 command in previous section FCON DCE responds fax connection FCQ n Copy quality check capability parameter No copy quality checks capability n 0 Only check 1D phase C data n 1 Check both 1D and 2D phase C data n 2 FCR n Capability to receive parameter DCE will not receive message data or poll a remote device n 0 DCE receives message data or ...

Page 21: ...t n 6 FK Regular fax aborts command FLID string Local ID string parameter FLO n Flow control options No flow control n 0 Set XON XOFF software flow control n 1 Set CTS RTS hardware flow control n 2 FLPL n Document for polling command The DTE has no document available for polling n 0 Indicate a document available for polling n 1 FMDL Request DCE model FMFR Request DCE manufacturer FMINSP n Minimum ...

Page 22: ...rror on phase A hang up code n 20 Transmit error on phase B hang up code n 40 Transmit error on phase C hang up code n 50 Transmit error on phase D hang up code n 70 Receive error on phase B hang up code n 90 Receive error on phase C hang up code FHNG n n 100 Receive error on phase D hang up code FNSC HEX string Report the non standard facilities command frame FNSF HEX string Report the non standa...

Page 23: ...ixels in 303mm Page Length ln 0 A4 297mm ln 1 B4 364mm ln 2 unlimited length Data Compression Format df 0 1 D df 1 2 D Error Correction ec 0 Disable FCC vr br wd ln df ec bf st Binary File Transfer bf 0 Disable Minimum Scan Time Line st 0 0 ms st 1 5 ms st 2 10 ms normal 5 ms fine st 3 10 ms st 4 20 ms normal 10 ms fine st 5 20 ms st 6 40 ms normal 20 ms fine st 7 40 ms FIS vr br wd ln df ec bf st...

Page 24: ... 2400 bps FBO n Phase C Data Bit Order n 0 Selects direct bit order n 1 Selects reversed bit order FEA n Phase C Received EOL alignment n 0 EOL patterns are as received FCR n Capability to Receive n 0 Not receive message data or poll a remote device n 1 Receives message data or poll a remote device FCQ rq tq Copy Quality disable enable rq 0 Receive copy quality check is disable rq 1 Receive copy q...

Page 25: ...ice 0 1 2 0 0 The DCE is on hook Local phone connected to Telco line 1 The DCE is on hook and is connected to the local phone The local phone is provided with power The modem can record play through the local phone set 2 The DCE is off hook and is connected to the Telco line The local phone is provided with power The modem can record play though the telephone line VRA Ring back goes away timer 0 2...

Page 26: ...he following command AT VLH Inquire hook status AT VNH hook Enable disable automatic hang up function AT VDD dds ddi Set DTMF detection threshold and required period AT VSY timer Set recording resync timer Note3 The d evice selection command VLS is different from IS101 and voice command set This problem is associated with speaker phone function Response Code Description DLE 0 DLE 9 DLE DLE DLE A D...

Page 27: ... This register also sets the time out interval for the W dial modifier to wait for the dial tone See also S41b4 003 S7 Set duration in number of seconds modem waits for a carrier 060 S8 Set duration in seconds for pause option in Dial command and pause between command re executions for Repeat command 002 S9 Set duration in tenths of a second of remote carrier signal before recognition Ignored if i...

Page 28: ...ex Bit mapped register 022 4 1 0 30 0 1E Set transmit power level from 0 to 15 dBm See also S35b3 Default P11 Pn 5 0 0 Normal dial Default D 32 20 Reverse dial go on line in answer mode DR S18 dec hex Force modem to fix baud rate when answering 000 0 0 Disable fixed baud function 1 46 1 2E Enable baud rate to be fixed when answering Baud rate value settings n the same as S20 S19 dec hex Modem conn...

Page 29: ...umber D1 128 80 108 2 Data Terminal Ready DTR OFF causes the modem to hang up and return to command state default D2 192 C0 108 2 DTR OFF causes the modem to hang up and reset the modem to profile 0 after DTR dropped D3 S23 bit dec hex Bit mapped register 105 0 0 0 Command echo disabled E0 1 1 Command echo enabled default E1 1 0 0 Tone dial Default T 2 2 Pulse dial P 2 0 0 Pulse dial make break ra...

Page 30: ... Y2 4 5 0 0 No guard tone default G0 16 10 Reserved G1 32 20 1800 Hz guard tone G2 6 0 0 DTE DCE rate follows link rate See also S18 S44b6 B0 1 64 DTE DCE rate is fixed at the DTE setting range from 300 460 8 Kbps default also see S18 S44b6 B1 S29 0 3 0 3 Set default dial phone number pointer use AT Zn s to store phone numbers in EEPROM 000 D S31 0 255 0 FF Holds the ASCII decimal value of the XON...

Page 31: ...ed set by Nn command S44 bit dec Bit mapped register 000 8 8 ATDSn initiates auto dial of the stored numbers consecutively until connection is made cyclic dial DSn 4 16 10 S1 6 40 When selected with B0 DTE speed fixed at 38400 when the link speed is above 9600 DTE speed fixed at 9600 if link speed is 7200 If it is below 7200 DTE speed follows link speed When selected with B1 DTE speed fixed at cur...

Page 32: ...number when DTR changes from ON to OFF dec N12 80 Hook flash detect time in units of 10ms country specific S57 bit dec hex Bit mapped register 016 16 10 Enables the reporting of Class 1 capability in the response to FCLASS S59 bit dec hex 0 0 Not display 4 16 10 Display the expected values automatically when using the interrupt mechanism 5 32 Will put 3 chars S register bit number b used in ATSr b...

Page 33: ...urrent setting sync with the table with Modulation V90 V 34 V 32bis V 32 V 22bis V 23 V 21 Bell212A Link layer MNP3 4 5 V42 V42bis 11 2 Receive Sensitivity 11 3 Transmit Level Command AT P n Parameter n 8 to 25 set the transmit power from 8 dBm to 25 dBm ERROR i e Invalid value Default value 11 dBm 11 4 Return Loss Allow the host to change the polling time via AT X2 11 1 Protocols 24 2 dBm Respons...

Page 34: ...one If the busy tone is detected then respond BUSY Ring back tone If the ring back tone is detected then respond RINGING 11 7 DTMF Tone Level High frequency group 8 2 dBm Low frequency group 10 2 dBm The character format is N81 and supports the hardware flow control 11 9 Modem Interrupt Provide the following customization commands to define the thresholds used to issue an interrupt to the host CPU...

Page 35: ...ence exceeds the defined threshold ref to 9 2 2 Disable the line current detection Query the current setting Response 2 On Hook Detection mode Off Hook Detection mode OK Response for query setting 3 ERROR Error Setting 11 9 2 Threshold setting Command AT X1 On hook voltage thresh Off hook current thresh AT X1 From 0 to 31 this applies to both of the differential and absolute voltage threshold Plea...

Page 36: ... 68 Command Value 0 70 Table 11 9 2 Current translate Table FCC 1 2 3 4 5 6 7 8 9 10 11 12 14 15 16 18 19 20 22 23 24 26 27 28 30 31 mA 00 12 18 21 24 30 33 36 42 45 48 54 57 60 66 69 72 78 81 84 90 93 96 99 Command Value 0 1 3 4 5 7 8 9 10 11 13 14 15 17 18 19 21 22 23 25 26 27 29 30 31 Voltage mA 00 15 18 21 27 30 33 39 40 42 45 46 48 51 52 54 57 58 60 60 60 60 60 60 11 9 3 Polling time setting ...

Page 37: ...t S59 32 Modem will put 3 chars 47 47 47 to alert extra Otherwise you can disable it by set S59 0 4 Line current difference absolute value is over the threshold defined in 9 2 OK Description Query the RJ11 status Command AT I1 Parameter None 0 No phone line is attached 1 A phone line is attached OK Description Query the voltage current value and the value type absolute or Default 100 1 second Para...

Page 38: ...rupt is caused by the Carrier Loss 11 10 Reset Signal Pin Allow active signal pin indicating the modem module to reset 11 11 Escape Signal Pin A signal high on the pin ESC forces the modem enter the command mode Then the modem will respond an OK string and enter the escape state ATO command will let the modem return to the data state 12 1 Power on self test A test for basic components whenever pow...

Page 39: ...DT2 12 NA Number of redial using T1 RDN1 RDN1 RDN2 1 0 15 NA Maximum number of redial RDN2 14 0 15 1 dB 15 0 15 DTMF low group power 11 dBm 8 to 7 dB 16 NA Pulse per second for pulse dial 0 10 PPS 1 16 PPS 2 20 PPS 3 Disable 17 0 1 0 39 61 Factory default Make Break ratio 18 On Off Detect busy tone before dial Reserve Reserve 20 0 3 Dial pulse inter digit delay from 700 ms to 1000 ms 21 0 Digit pu...

Page 40: ... On Off DAA setting for DTMF CID detection 30 Reserved Reserved pulses 0 3 Calling tone enable Yes No 0 15 Enable dial up line transmit power adjustment NA 0 255 29 Reserved 31 1 0 On Off Enable RING reporting at the rising edge of ring 1 0 On Off Use the half wave rectifier for Si3034 setting 33 1 0 On Off 34 Reserved Reserved 35 Reserved Reserved Reserved Reserved Reserved 32 CID Polarity settin...

Page 41: ...ion 0 for details The main specification is that when bit2 of S63 is enabling the modem is allowed to use line when the parallel phone is not in use Flow chart is as the following figure Old function Modem standby Modem start dial Check parallel phone Ask to connect Current state Modem On hook Send error message Parallel phone off hook Parallel phone on hook Parallel phone off hook Use parallel ph...

Page 42: ...defined threshold ref to0 2 Disable the line voltage detection Off Hook Detection mode 0 Assume parallel phone is off hook when the line current difference exceeds the defined threshold ref to 0 1 Assume parallel phone is off hook when the line current exceeds the defined threshold ref to 0 2 Disable the line current detection Query the current setting Response 1 OK Setting Successfully 2 On Hook ...

Page 43: ... 1 Current translates Table FCC Command Value 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Voltage mA 00 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 75 78 81 84 87 90 93 96 99 99 Table 12 2 2 2 Current translates Table CTR21 Command Value 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Voltage mA 00 1...

Page 44: ...s 47 47 47 to alert extra otherwise you can disable it by set S59 0 4 Line current difference absolute value is over the threshold defined in 2 2 OK 12 2 5 RJ11 status query Description Query the RJ11 status Command AT I1 Parameter None Response Line status 0 No phone line is attached 1 A phone line is attached OK 12 2 6 Voltage Current value query Description Query the voltage current value and t...

Page 45: ...rupt Status The interrupt reasons are as follows The status is automatically cleared after read 0 Nothing happens or is cleared 1 The modem interrupt is caused by the Line status change and the detailed reason can be read from AT I0 2 The Carrier Loss causes the modem interrupt OK Page 45 of 50 Revision 1 0 2003 6 From 3JTech ...

Page 46: ... Switzerland CH 225 United Kingdom UK 249 UAE AE 224 Belgium BE 248 China_T CN Greece GR 247 China CN 222 Czech Republic CZ 246 Ukraine UA 221 Norway NO 245 Portugal PT 220 Australia AU 244 France FR 219 New Zealand NZ 243 Korea u law KR 218 Hong Kong HK 242 Korea a law KR 217 Singapore SG 241 Philippine PH 216 Finland FI 240 Slovenia SI 215 Morocco MA 239 India IN 214 Taiwan TW 238 Spain SP 213 G...

Page 47: ...on example for Taiwan 1 Set country code to 238 Taiwan ATS38 2 G238 2 Set ATS40 2 1 to enable CND function The Caller ID function will be shown when detected Use AT T will show last caller ID message Page 47 of 50 Revision 1 0 2003 6 From 3JTech ...

Page 48: ...n driver has been well installed Update procedure a For ZD1051A ROM code mode Issue ATF select 4 for Intel flash Issue ATUPX select Y After has appeared use XModem to send file 3JU HEX with kernel b At flash modem code mode b 1 Update modem file only Issue ATUPX select Y After has appeared use XModem to send file 3JU FSH without kernel b 2 Update modem with kernel changed Issue ATBZYX Issue ATUPXK...

Page 49: ...the second turn the result will become 1 5 Issue AT I to get the information from uModem s current state Phone line attachment Parallel phone operation test Item Device Initial State Action AT X0 1 1 AT X0 0 0 AT X0 1 0 AT X0 0 1 Expected Values 1 Modem Line Phone On hook Attach On hook Power ON Pass this item Pass this item Pass this item NA 2 Modem Line Phone On hook Attach On hook Off hook 1 NA...

Page 50: ...ommands For Debug Command Function Description ATREEP Display EEPROM ATREEP10000 256 Clear all EEPROM value to FF AT T8 Modem send ASCII codes to PC continuous AT T1 AT E1 AT E0 Hardware noise testing Page 50 of 50 Revision 1 0 2003 6 From 3JTech ...

Reviews: