Home

A Low-Cost Soft Modem using the Freescale Digital Signal Controller

image

Contents

1. anO SI0 AO09 T 195330 Jes 0S AN Sly A9 T punoze pezequep ALZO0 0 lt AE00 0 Po 0 punoze pezequap AOC t lt ASSE O ddAt00 0 o3 ddasse 0 ex JoJA wgpos o3 ugpe L Oo lt lt y EIS L DG dee Odd EI p OldL pint 2 20001 6dL 619 0S 9IH 6X O3 UTeD Jes uorado zeptata 857 Aq eptata aNG XOS ZId Adooze 00L S HO Sen et ey S zco ddas o qq e Gel 9 6L ev Mbe Mc8 l 6lH wot OR R079 Lx i A Ge A e en j ond e ES D a gt iji zen Tr Leen kn JniO O a neeo o HO A 8419 sar O Agee AE Et port Aq optata HHIUIIJd AHddO UAV ZHM v AATLOV lt LOL Schematics Rev 0 Appendix A 3 Freescale Semiconductor iminary Prel JO Joo 0L JequunwN NSQ OGWOl dto SOVAYSLNI VYA S AS A OI OLSZ Lt 08p XV4 Sl27 S68 21S jopnpucsures Eo 80 ygz98 euozuy eduie J Wi pou loa sea 002 9 E9S99JJ uomneiedo 49j 04juO02 jeubis JeuDig ue NOS MGtBHBLHO WEE ee EI AL viva gu c ME c BIA T WA UON EES E E 2 A sore ee a Pe T 0r8LHO Lidl e E viva SLO9VIEW18 S _ lt 08d CH Lu L gsooled farce NO v Ld o 9 ir SLo9Y Lena NOILOHS AH Preliminary Freescale Semiconductor Low Cost Soft Modem Designer Reference Manual Rev 0 Appendix A 4 NP Appendi
2. 3 29 Table of Contents Rev 0 Freescale Semiconductor Preliminary Chapter 4 Conclusion ET eR Et ENEE 4 1 4 1 1 Routine File Transfer Testing 4 1 4 1 2 Bit Error Rate Testing 4 2 4 2 Bit Error Rate TestResults 4 3 4 3 Dynamic Range TestResults 4 15 4 4 Memory Utilizationonthe56F8357 4 16 44 1 Summary Memory Utilization 4 16 4 4 2 Complete Load Map 4 17 4 5 Core ProcessorLoadingandRTOS 4 36 4 5 1 Core Processor Load 4 36 4 5 2 Using RTOS to Run the Modem Concurrently with Other Tasks 4 37 AG SISO AKAA X edo CR CES 4 37 Af GCODGIUSIDIIBS uiuis ae deoa across qe go E XU CR e 309 AC RRCE RR de e Rd e d 4 38 Appendix A Schematics Appendix B Low Cost Soft Modem Bill of Materials Appendix C Layout and Governmental Certifications Low Cost Soft Modem Designer Reference Manual Rev 0 Freescale Semiconductor Preliminary LIST OF FIGURES 2 1 Second Millennium Modem Architecture 2 2 2 2 Third Millennium Modem Architecture 2 3 2 3 Low Cost S
3. Processor Expert Bean Utilization in the Soft Modem Rev 0 Freescale Semiconductor 3 3 Properties Methods Events Build options Used Comment PESL support Unhandled interrupts Une handler for all User initialization B Generate linker file yes 9 Constants in xH M yes MSH MSHAM mode tno Serial bootloader support e 9 0100 H S ROM RAM Areas ea Memanas E PL DNE POREENNNENM Vm M Quafi RW Cl MemoryAreal Wa E ROM RAM Area Enabled EjMemoy rma2 J E ROM RAM Ara Enabled EjMemop rma3 EjRUM RAM Area Enabled AI Name Le Duren Figure 3 3 Cpu 56F8357 on sdm pROM xRAM target 3 2 MEMT1 DSP MEM Bean This bean defines internal xRAM for use by the other related beans Internal memory is much faster than external memory The most notable feature on this configuration is the x Dynmem at the bottom of Figure 3 3 which must be present in order to provide dynamic memory services for the soft modem Since the modem is not the only function in a real application when it is not in operation it is recommended that it give back all of its RAM memory This can be most easily accomplished with the help of the dynamic memory services provided by Processor Expert Low Cost Soft Modem Designer Reference Manual Rev 0 3 4 Freescale Semiconductor Freescale Semicond
4. 3 23 TenthSecint Timerint Properties 3 24 TenthSeclnt Timerlnt Methods 3 25 TenthSecint TimerintEvents 3 25 TEL1 CallProgressToneDetection Properties 3 26 TEL1 CallProgressToneDetection Methods 3 26 TEL1 CallProgressToneDetection Events 3 27 TEL2 DTMFGenerate Properties 3 27 TEL2 DTMFGenerate Methods 3 28 TEL2 DTMFGenerateEvents 3 28 Mdm2 DSP v21 Properties 3 29 Mdm2 DSP v21 Methods 3 29 CTS1 56F8357EVM LED Yellow2 Properties 3 30 CTS1 56F8357EVM LED Yellow2 Methods 3 31 CTS1 56F8357EVM LED Yellow2 Events 3 31 z2 4 bg r m 4 4 SEN AER EELER ENEE EE OnE he E 4 5 SIA PP 4 6 ES HERE ee eee ee KUKANA ee UTULIE UU NUNUA TES PTS 4 7 EE oe dt ab yb wees beac SC Kg eee ne babes KADUMA E MI 4 8 EDS A oe ho os eh T ds a oe AUWA ee P 994924345 2327 25 42 2 231 4 9 EDS LB Lu 9X 332 83 93 979 ee er ee EE eee ERE RES 4 10 EST LE S uua dca jo Gee nere ES Ar EE ERC e CR ER EU 4 11 EIBD LE aoa 4 3 23 278 209 9 70918 doe des SEET EE Qa Rd OE UR CR 4
5. EIAA e HBA AB Oo o BA SNR dB Figure 4 4 EIA4 Line Conclusion Rev 0 Freescale Semiconductor 4 7 Preliminary 1P In the worst case for this modem the EIAS line is usable down to 13dB SNR After that the spectral shaping of the pair of EIA5 lines used in the test exceeds the dynamic range of the unit under test so the signal cannot be reconstructed below 13dB SNR EIAS LLI a HBA e AB o Oo BA SNR dB Figure 4 5 EIA5 Line Low Cost Soft Modem Designer Reference Manual Rev 0 4 8 Freescale Semiconductor Preliminary 1P Bit Error Rate Test Results The EIA6 line is usable down to 12dB SNR EIA6 7 HBA AB Oo Oo BA SNR dB Figure 4 6 EIA6 Line Conclusion Rev 0 Freescale Semiconductor 4 9 Preliminary 1P The EIAT line is usable to slightly less than 13dB SNR IEA7 LLI M HBA o AB Oo o BA SNR dB Figure 4 7 EIA7 Line Low Cost Soft Modem Designer Reference Manual Rev 0 4 10 Freescale Semiconductor Preliminary 1P Bit Error Rate Test Results The ETSI1 line is good down to 11 5dB SNR ETSI1 e HBA AB Oo 2 BA SNR dB Figure 4 8 ETSI1 Line Conclusion Rev 0 Freescale Semiconductor 4 11 Preliminary 1P The ETSI2 line is good down to 11 4dB SNR ET
6. Bean Inspector TERESE Bean tems Visibility Help lt gt Ferpheral Initialization gt Properties Methods Events Comment Bean name TELE El Memory management Enabled Memory management library MEM l BASIC ADVANCED ExFERT Bean Level High Level Bean 4 Figure 3 34 TEL1 CallProgressToneDetection Properties de Bean Inspector TEL1 CallProgress T onelietechon IOl x Bean ltems Visibility Help lt gt Ferpheral Initialization gt Properties Methods Events Comment E CPT DetCreate generate code e CPT O etlrit generate code e CPTDetection El CPTDetDestroy BASIC ADVANCED EXPFERT Bean Level High Level Bean 4 Figure 3 35 TEL1 CallProgressToneDetection Methods Low Cost Soft Modem Designer Reference Manual Rev 0 3 26 Freescale Semiconductor Preliminary TEL2 DTMFGenerate Bean en Bean Inspector TELT CallProgreszT oneD elect Bean tems Visibility Help gt Peripheral Initialization gt Properties Methods Events Comment This bean does nat contain any event BASIC ADVANCED EAPERT Bean Level High Level B 4 Figure 3 36 TEL1 CallProgressToneDetection Events 3 13 TEL2 DTMFGenerate Bean This bean generates the software to generate the samples needed for DTMF dialing and supports both 7200 and 8000 samples per second The soft modem uses 7200 samples per second consuming less cycles and energy The resources of this bean are only used RAM allocated w
7. L LCMDC Low Cost Modem Daughter Card Preface vii LLow Cost Modem Daughter Card Preface vii Measuring the Peak to Average Power of Digitally Modulated Signals Preface vii R Receive Preface vii RX Receive Preface vil S Signal to Noise Ratio Preface vii SNR Signal to Noise Ratio Preface vii Freescale Semiconductor Preliminary T TAS 240 Voiceband Subscriber Loop Emulator Operations Manual Preface vii TAS Series II Plus Telephone Network Emulator Operations Manual Preface vii TAS Series II Telephone Netowrk Emulator UCO Option Operations Manual Preface vii Transmit Preface vii TX Transmit Preface vii U Understanding Telephone Electronics Preface vii Unit Under Test Preface vii UUT Unit Under Test Preface vii Index How to Reach Us Home Page www freescale com E mail support freescale com USA Europe or Locations Not Listed Freescale Semiconductor Technical Information Center CH370 1300 N Alma School Road Chandler Arizona 85224 1 800 521 6274 or 1 480 768 2130 support freescale com Europe Middle East and Africa Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen Germany 44 1296 380 456 English 46 8 52200080 English 49 89 92103 559 German 33 1 69 35 48 48 French support freescale com Japan Freescale Semiconductor Japan Ltd Headquarters ARCO Tower 15F 1 8 1 Shimo Meguro Meguro ku Tokyo 153 0064 Japa
8. RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data LUPALP v22bis rxmdmmem asm RXSCRD v22bis rxmdmmem asm RXODAT v22bis rxmdmmem asm RXO v22bis rxmdmmem asm RXO l v22bis rxmdmmem RXO 2 v22bis rxmdmmem RXO 3 v22bis rxmdmmem RXQ 4 v22bis rxmdmmem asm RXO 5 v22bis rxmdmmem RXO 6 v22bis rxmdmmem RXO 7 v22bis rxmdmmem RXO 8 v22bis rxmdmmem RXO 9 v22bis rxmdmmem RXQ l0 v22bis rxmdmmem asm RXQ 11 v22bis rxmdmmem asm RXO 12 v22bis rxmdmmem asm RXO 13 v22bis rxmammem as RXO 14 v22bis rxmammem as RXO 15 v22bis rxmdmmem RXQ ptr v22bis rxmdmmem asm Rx StOC v22bis rxmdmmem asm Rx StOA v22bis rxmdmmem asm Rx StOG22 v22bis rxmdmmem asm Rx StOGBis v22bis rxmdmmem asm Rx StO ptr v22bis rxmdmmem asm RXMASK MC v22bis rxmdmmem asm RXMASK v22bis rxmdmmem asm TXMASK MC v22bis rxmdmmem asm TXMASK v22bis rxm
9. 12500000800 min stack size linker command file gt 00000F8C Stack addr linker command file gt 0000178C Stack end linker command file gt O0000E8C F heap addr linker command file gt O0000F8C F heap end linker command file gt O0000F8C F Lstack addr linker command file gt O0000F8C F StackAddr linker command file gt 0000178B H StackEndAddr linker command file gt 00000B70 F Ldata size linker command file gt 00000000 F Ldata RAM addr linker command file gt Q0003D7E F Ldata ROM addr linker command file gt 00000000 F xROM to xRAM linker command file gt 00000001 F pROM to xRAM linker command file gt 00000B70 F start bss linker command file gt 00000E8B F end bss linker command file gt 0000178C DATA END linker command file gt O000F020 FArchIO linker command file 4 5 Core Processor Loading and RTOS Since the modem uses almost none of the core processor s resources an RTOS may be used to run several tasks along with the modem task 4 5 1 Core Processor Load When the modem is idle waiting for a call it consumes almost no MIPS because the hardware is used to count ring pulses without the help of the core The core is interrupted only when a significant ring is detected The V 22bis bean methods with a line rate of 2400 characters per second are called to recieve data for a consumption rate of 6 21 MIPS The V 22bis bean methods for transmission of data consume 94 MIPS so the total M
10. Freescale Semiconductor 3 30 Preliminary CTS1 56F8357EVM LED Yellow2 Bean Bean Inspector CTS 56F8357EVM LED Yellow Bean ltemsz Visibility Help lt gt Peripheral Initialization gt Properties Methods Events Comment Hi On generate code h El Un generate code h 1 Tooge generate code WY B Set dont generate code YY I Status don t generate code 5 E ConnectPin dant generate code 5 BASIC ADVANCED EXPERT Bean Level High Level Bea Figure 3 43 CTST 56F8357EVM LED Yellow2 Methods The On method actually stops the flow from the PC whereas the Off method allows it to resume This is due to the simple jumper wire connection on the EVM to install the signal The jumper wire conveys the drive to the RTS pin on the EVM on JG11 gt Bean inspecto 5515565835 254 MDE Dn Bean thems Visibility Help FPenpheral Initialization gt Properties Methods Events Comment This bean does not contain any event BASIC ADVANCED ESPERT Bean Level High L 4 Figure 3 44 CTS1 56F8357EVM LED Yellow2 Events Processor Expert Bean Utilization in the Soft Modem Rev 0 Freescale Semiconductor 3 31 Preliminary Low Cost Soft Modem Designer Reference Manual Rev 0 3 32 Freescale Semiconductor Preliminary Test Set up Chapter 4 Conclusion The modem is fully capable of error free operation over average telephone lines in the USA Limitations to performance are inherent in the limited dyna
11. Ss 4 OU OU c c c c c c c c cpt it it ijt iz IIIA SS jns rm c Ka Processor Expert Bean Utilization in the Soft Modem Rev 0 Freescale Semiconductor 3 11 Preliminary gt Bean Inspector Outpullimer METAR Bean theme Visibility Help lt gt Peripheral Initialization gt Properties Methods Events Comment Wi nil generate cade BASIC ADVANCED EXPEHRT Bean Level Ferpheral Initialization Bean Figure 3 11 OutputTimer Init TMR Methods Bean Inspector Outpullimen nit THR Bean ltems Visibility Help lt gt Ferpheral Initialization gt Properties Methods Events Comment This bean does not contain any event BASIC ADVANCED E PERT Bean Level Peripheral Initialization Bean 2 Figure 3 12 OutputTimer Init TMR Events 3 5 V1 lnterruptVector Bean The misaligned LongWordlSR is supplied only to detect a misaligned LongWord interrupt This does not occur in the project as provided but is useful to illustrate how to hook an ISR Low Cost Soft Modem Designer Reference Manual Rev 0 3 12 Freescale Semiconductor Preliminary IV1 InterruptVector Bean Bean Inspector I 1 Interrupt emim Bean ltems Visibility Help lt gt Peripheral Initialization gt Properties Methods Events Comment MI Interrupt vector INT MisalignedLong ard amp ccess e PINT MisalignedLongvord amp ccess Interrupt priority medium priority non maskable E Shar
12. memcpy rtlib text F DummyFn1 FmemMemset memset memcpy memset rtlib text memset asm F DummyFnl process cpt asm FPROCESS CPT process cpt asm EE EE process cpt asm F8 DummyFnl cpsi api asm SILENCE DETECT CET ODSI apisasm Et lib Text ee SEL Ser SILENCE DEBOUNCE cpsi api asm FCALLPROGRESS DETECT INIT cpsi api asm CALLPROGRESS DETECT cpsi api asm CALLPROGRESS DEBOUNCE cpsi api asm Dno cpt cpsi api asm cpt on cpsi api asm noisy cpt cpsi api asm end cpt opsi api asm cpt Silence cps api asm noisy sil cpsi api asm new cpt cpsi api asm check previous cpt cpsi api asm check cpt off cpsi api asm reset cpsi cpsi api asm exit cpt debounce cpsi api asm CALLPROGRESS DECODE cpsi api asm clear bursts cpsi api asm check group2 cpsi api asm check group3 cpsi api asm Low Cost Soft Modem Designer Reference Manual Rev 0 Freescale Semiconductor Preliminary 00003567 DODOSOVE 00003587 0000358E 00003594 00003594 00003594 000035A9 000035D8 000035D8 000035D8 00003615 00003615 00003615 00003647 0000365B 0000365B 0000365B 0000366D 0000366F 00003687 000036A3 000036A5 000036BC 000036BC 000036D8 00003746 0000375B 00003779 00003779 0000 797 000037DA 000037E7 000037E7 000037E7 00003806 0000381D 0000381D 0000381D 00003821 00003821 00003821 00003855 00003855 00003955 00003868 00003868 00000000 00000000 00000000 00000000 00000044 00000044 00
13. o Channel Q0 ca w Lowlmt BD H Disabled x E Sample Disabled y E Sample2 Disabled y E Sample5 Disabled Disabled y ADCB_ADCR2 12 bits high 8 217 ps E Internal trigger Enabled E Sync from PWM n y Initialization E LLL IEEE E E CPU clock speed selection Pee ee ee This bean is enabled This bean is disabled This bean is disabled Figure 3 7 AD1 ADC Properties Low Cost Soft Modem Designer Reference Manual Rev 0 Freescale Semiconductor Preliminary iM Bean Inspector 401 ADG Bean heme Visibility Help lt gt Peripheral Initialization gt Properties Methods Events Comment H Enable generate code H Disable generate code W EnableE vent dont generatecode 2 W DisableEvent dont generatecode 2 W Stat ddontgeneratecode 2 Stop dontgenemtecode 2 E Measure generatecode H W MeasureChan dontgenerate code 2 1 EnablelntTrigger generate code 2 EnablelntChanTrigger dont generate code 2 GetValue doit generate code 9 M GetCharalue Joitgeneae code 9 W Getal dont generate code 9 W GetChar alue dont generate code 2 g GetValuelG generate code 9 W GetChar aluel amp dont generate code 9 W SetHighChanLimit don t generate code 2 W SetLowChanLimit dant generate code 2 W SetChan ffset dont generate code 2 W GetHighLimitStatus dant generate code 2 JH GetLowlimiStatus dant generate code 2 W GetZeroCrossStatus dont generate code 2 JH S
14. p Interruptsboot 00000000 00000000 000000A4 p Interrupts 000000A4 000000A4 00003CDA p Code 00000000 00000000 0000178C x Data 00001C00 00001CO00 00000400 x DynMem 00003D7E 00000000 00000B70 p flash ROM data 00002000 00002000 00000070 x internal ROM 0002F800 0002F800 00000800 p internal RAM Low Cost Soft Modem Designer Reference Manual Rev 0 4 16 Freescale Semiconductor Preliminary Memory Utilization on the 56F 8357 4 4 2 Complete Load Map Link map of F EntryPoint interrupt vectorsboot gt 00020000 F vector addr linker command file 00020000 00000004 interrupt vectorsboot text F vectboot Vectors c interrupt vectors 00000000 000000A4 interrupt vectors text F vect Vectors c Data xROM 00002000 00000008 const data F 904 modem c 00002008 00000007 const data F 905 modem c 0000200F 00000004 const data F 3906 modem c 00002012 00000008 const data F 907 modem c 0000201A 00000008 const data F 908 modem c 00002022 00000003 const data F01050 modem c 00002025 00000004 const data F 1051 modem c 00002028 0000002B const data F 1052 modem c 00002053 00000006 const data F01117 modem c 00002059 00000007 const data F01193 modem c 0000205F 00000009 const data F 1194 modem c 00002068 00000009 const data F 1195 modem c ApplicationCode Freescale Semiconductor Preliminary gt O00000A4 F Pcode start addr linker command file 000000A4 00000030 text F EntryPoint Cpu c 000000D4 00000
15. 12 KIEREN 4 13 EEN EE ae ee ee ee UA CLAU MAINI NUNUA WTO NAA 4 14 NulilineDynamicRange 4 15 Soft Modem Peripheral Footprint 4 37 Soft Modem Pin Utilization 4 38 Low Cost Soft Modem Designer Reference Manual Rev 0 Freescale Semiconductor Preliminary About This Document This manual describes the use of a 56F 8300 device in a low cost soft modem application Note The 56F8357EVM was used as the test vehicle but is no longer available The 56F8367EVM will yield similar results Audience This manual supports the Low Cost Soft Modem Reference Design and customers incorporating a soft modem into their products into their products using the Freescale 56F8300 series Organization This User s Manual consists of the following sections Chapter 1 Introduction offers a brief introduction to the soft modem application Chapter 2 System Specification and Design describes the system specification and implementation of the soft modem application Chapter 3 Processor Expert Bean Utilization in the Soft Modem illustrates the properties methods and events for beans used in the application Chapter 4 Conclusion details the performance of the soft modem application Appendix A Schematics contains the schematics of the low cost soft modem application Appendix B Low Cost Soft Modem Bill of Materials describ
16. 3 v22bis rxmadmmem as EORT 4 v22bis rxmdmmem as EORT 5 v22bis rxmdmmem as as as as m m z E c EORT 6 v22bis rxmdmmem EORT 7 v22bis rxmdmmem EORT 8 v22bis rxmdmmem asm EORT 9 v22bis rxmdmmem asm EORT 10 v22bis rxmammem asm EOIT v22bis rxmdmmem asm EORSB v22bis rxmdmmem asm EORBIN v22bis rxmdmmem asm EOIBIN v22bis rxmdmmem asm EQOISB v22bis rxmdmmem asm EQUDSIZ v22bis rxmdmmem asm m Conclusion Rev 0 Memory Utilization on the 56F8357 4 31 4 32 0000073F 00000740 00000741 00000742 00000743 00000744 00000745 00000746 00000747 00000748 00000749 0000074A 0000074B 0000074C 0000074D 0000074E 0000074F 00000750 00000751 0000075B 0000075C 00000762 00000767 0000076C 00000774 00000775 00000776 00000777 00000778 00000779 0000077A 0000077B 0000077C 0000077D 0000077E 0000077F 00000780 00000781 00000781 00000782 00000783 00000784 00000785 00000791 00000792 00000793 00000794 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 RX MEM
17. IV1 InterruptVector Events 3 14 3 16 Mdm1 DSP v22bis Properties 3 14 3 17 Mdm1 DSP v22bis Methods 3 15 3 18 Mdm1 DSP v22bisEvents 3 15 3 19 InputTimer Init TMR Properties 3 16 3 20 InputTimer Init_ TMR Methods 3 17 3 21 InputTimer Init TMREvents 3 17 3 22 AS1 AsynchroSerial Properties 3 18 3 23 AS1 AsynchroSerial Methods 3 19 3 24 AS1 AsynchroSerial Events 3 20 3 25 RingDetect PulseAccumulator Properties 3 21 3 26 RingDetect PulseAccumulator Methods 3 21 List of Figures Rev 0 Freescale Semiconductor V Preliminary Bor 3 28 3 29 3 30 3 31 3 32 3 33 3 34 3 35 3 36 3 37 3 38 3 39 3 40 3 41 3 42 3 43 3 44 4 1 4 2 4 3 4 4 4 5 4 6 4 7 4 8 4 9 4 10 4 11 4 12 4 13 4 14 vi RingDetect PulseAccumulator Events 3 22 OffHook BitlO Properties 3 22 OffHook BitlO Methods 3 23 OffHook BitlO Events
18. Telephone Network And On Point to point ITU T Recommendation V 21 300 Bits Per Second Duplex Modem Standardized For Use On The General Switched Telephone Network ITU T Recommendation V 25 Automatic Answering Equipment and General Procedures for Automatic Callling Equipment on the General Switched Telephone Network Including Procedures for Disabling of Echo Control Devices for Both Manually and Automatically Established Calls Measuring the Peak to Average Power of Digitally Modulated Signals Charles J Meyer Senior Applications Engineer Boonton Electronics Application Note AN 50 1 Apr 93 CH183 7A TF 8A Data Access Arrangement Module Data Sheet V 34bis High Speed DAA Module Cermetek Microelectronics Preface Rev 0 Freescale Semiconductor vil Preliminary Low Cost Soft Modem Designer Reference Manual Rev 0 vili Freescale Semiconductor Preliminary Chapter 1 Introduction This note presents the hardware and software design of a low cost V 21 V 22 V 22bis soft modem The design does not include a traditional telecommunications Pulse Code Modulation Coder Decoder PCM codec but instead uses the ADC and PWM of the Freescale 56F8300 series to implement a less complex solution An optional serial port with AT command set is included as a test fixture Modem performance figures measured on the implementation are included for reference as are complete implementation details Introduction Rev 0 Freescale Semiconducto
19. V 22bis call s resource its memory is deallocated and vice versa Also when there is no active call the modem is not taking RAM resources because the Memory Management feature is used n Bean Inspector MSM ee ote Bean ltems Visibility Help lt gt Peripheral Initialization gt Properties Methods Events Comment H Memory management Enabled L gt Used memon manager MEMI el BASIL ADVANCED EXPERT Bean Level High Level Be 4 Figure 3 16 Mdm1 DSP v22bis Properties Low Cost Soft Modem Designer Reference Manual Rev 0 3 14 Freescale Semiconductor Preliminary InputTimer Init TMR Bean Bean Inspector MHdml DSP_Y22bis Bean thers Visibility Help gt Peripheral Initialization gt Properties Methods Events Comment E veebisLreate generate code Wi v22bislnit generate code v22bisT lt Datalnit generate code E vOdbiSTX Derek E v22bis Rs Derek E v22bisControl generate code E v22bis Destroy generate od BASIC ADVANCED EXFEHT Bean Level High Level Be 2 Figure 3 17 Mdm1 DSP_v22bis Methods The v22bisControl method is for future expansion of the data pump Section 3 7 illustrates the use of other methods n Bean Inspector HAm OSEE AAE Bean tems Visibility Help lt gt Peripheral Initialhzation gt Properties Methods Events This bean does not contain any event BASIC ADVANCED EXPERT Bean Level High Level Be 4 Figure 3 18 Mdm1 DSP_
20. analog signals over the phone line and to protect telephone equipment using the DAA The serial ports used only for PC communication software compatability are complete spoofs This same elegant architecture shown in Figure 2 2 can now exist in embedded systems The project described here shows the simplicity of such a design how few resources of the processor it takes and how well it performs on USA average lines This design even omits the standard telecommunications codec instead using a Pulse Width Modulation PWM for output and Analog to Digital Converter ADC for input Since both of these peripherals are readily available from the many peripherals on one 56F8300 series device along with more processing power than required from the single core the design is a true one chip one core system that includes telecommunications ability with room for even more system functionality Low Cost Soft Modem Designer Reference Manual Rev 0 2 2 Freescale Semiconductor Preliminary The Soft Modem System Concept Phone line Application with soft modem Figure 2 2 Third Millennium Modem Architecture This approach has many applications in embedded systems For example a security system consisting of a single processor charged with monitoring local security sensors communicates directly over phone lines to a central reporting location This reporting may be for the purpose of conveying the state of security Another application
21. and transmit are both supplied in the applicaton code If ANS tone were not needed V 21 would connect very quickly allowing very rapid delivery of a real time message V 21 does not require training As soon as the bean is called it presents carrier and starts exchanging data Low Cost Soft Modem Designer Reference Manual Rev 0 3 28 Freescale Semiconductor Preliminary CTS1 56F8357EVM LED Yellow2 Bean n Bean Inspector Mame owed Bean tems Visibility Help lt gt Peripheral Initialization gt Properties Methods Events Comment Bean name Madre H Memory management Enabled h MEMI J BASIC ADVANCED EsFERT Bean Level High Level E 4 Figure 3 40 Mdm2 DSP v21 Properties me Bean Inspector Mum oP ye Bean hermes Visibility Help gt Peripheral Initialization gt Properties Methods Events Comment E YI Create generate code gr velnt generate code E v2lTwProcess generate code E v2lRsProcess generate code E v21Destoy generate code BASIC ADVANCED EXPERT Bean Level High Level E 4 Figure 3 41 Mdm2 DSP v21 Methods 3 15 CTS1 56F8357EVM LED Yellow2 Bean This Clear to Send of hardware flow control application bean takes a bit IO that drives an LED on the EVM and employs it for the Clear to Send signal to the PC serial interface Without this hardware flow control mechanism the PC tends to overrun the modem during binary file transfers using XMODEM or
22. cdrop v22bis rx bchk asm RX signal v22bis rx bchk asm asm ASM asm RX carrierup v22bis rx bchk asm RX slans v22bis rx bchk asm RX scri2 v22D1s rx bohk asn RX v22dm v22bis rx bchk asm RX slend v22bis rx bchk asm RX wait32bit v22bis rx bchk asm RX waitdm v22bis rx bchk asm RX waitlsec v22bis rx bchk asm RX v22bisdm v22bis rx bchk asm RX retrain v22bis rx bohk asn RX RETR REP v22bis rx bchk asm RX RETR A v22bis rx bchk asm RX NEXT v22bis rx bchk asm ENDRX v22bis rx bchk asm error v22bis rx bchk asm RXDM CD v22bis rx bchk asm Conclusion Rev 0 4 21 4 22 00002955 00002985 0000298C 0000299E 000029AA 000029AA 000029AA 000029F6 000029F6 000029F6 00002A17 00002A17 00002A17 00002ADO 00002ADO 00002ADO 00002AD8 0000Z2ADD 00002AE9 00002AE9 00002AE9 00002B1A 00002B1A 00002B1A 00002B64 00002B64 00002B64 00002B75 00002B7F 00002B94 00002BBD 00002BE2 00002BE2 00002BE2 00002BE6 00002BEA 00002BED 00002C28 00002C2E 00002C2E 00002C2E 00002CAC 00002CAC 00002CAC 00002D06 00002D06 00002D06 00000000 00000000 00000000 00000000 0000004C 00000000 0000004C 00000021 00000000 00000021 000000B9 00000000 000000B9 00000019 00000000 00000019 00000000 00000000 00000031 00000000 00000031 0000004A 00000000 0000004A 0000007E 00000000 0000007E 00000000 00000000 00000000 00000000 00000000 0000004C 0000004C 00000000 00000000 00000000 00000000 000
23. does nat contain any event BASIC ADVANCED EXPERT Bean Level High Level Bez 4 Figure 3 30 OffHook BitlO Events 3 11 TenthSecint Timerint Bean This bean is used to generate an interrupt once every 1 10 second for the ring detection and AT command set state machines The AT command set must run a three second timer when it is online connected to another modem to prevent data of being construed as a request to enter the online commnand state Processor Expert Bean Utilization in the Soft Modem Rev 0 Freescale Semiconductor 3 23 Preliminary 3 24 Bean DEDTISGMESZOUQRISZ 00 0 Bean themes Visibility Help lt gt Peripheral Initialization gt Properties Methods Events Comment TMRAT Compare TMRAT interrupt serviceevent Enabled INT TMRAT Prescaler JAutoselectedprescaler wf high 128 Prescaler high 100 ms E Initialization O CPU clack speed selection High speed mode This bean enabled This bean iz enabled This bean disabled Y This bean is disabled Slow speed mode This bean disabled M This bean is disabled BASIL ADVANCED EXPERT Bean Level High Level Bean Figure 3 31 TenthSecint Timerint Properties Low Cost Soft Modem Designer Reference Manual Rev 0 Freescale Semiconductor Preliminary TEL1 CallProgressToneDetection Bean Bean Inspector TenthSectnt T imerint Bean tems Visibility Help lt gt Peripheral Initialization gt Pro
24. ia Ee CELD rtlib St Lab Etlrb rri ELT rtixb CELIN rola EE EE EE rtlirb rtlrxb rtlib rtlib YELI rtliaib VELA EE rela EM sa wale oe ia e Cex text LEXE text text text Lext text text Lext text Lext text text est text text text text Lext text Lext Lext est EE text text text text text Lext text Lext text Lext IS A Lex Lexr text text text Lext text Lext Lext est text Chk St Cho v22bis tx Ctrl asm next task v22bis tx ctrl asm RETRAIN v22bis tx ctrl asm pert sti Lx v22Dis tx ctrl asm F DummyFnl v22bis tx enc asm ELlib pextiv22DILS Ck eOnc asu tx sDit v22Dars tx enc asn tx eno 11v22b15 tx enc asm tx eno 2 v22bis tx enc asr tx enc 4 v22bis tx enc asm tx sil v22bis tx feed asm F8DummyFnl v22bis tx feed asm rtlib text v22Dzs tx feed asm tx a ton v22bis tx feed asm tx wr4 v22bis tx feed asm tx one 2 v22bis tx feed asm tx sl v22bis tx Teed asm tx decide v22bis tx feed asm tx 109 v22bis tx feed asm tx 112 v22bis tx feed asm tx one 4 v22bis tx feed asm dummy v22bis tx feed asm tx in 2 v22bas tx feed asm tx in 4 v22bis tx feed asm ERROR v22bis tx feed asm F8DummyFnl v22bis tx fm asm tx n v22brs tx fn asm EDIiD text v22DLiS vx im asm F DummyFnl v22bis tx scr asm EE etext VZ2biSs LX SCOPI tx scr 11v22b15 Cx scr asm tx s r 2 v22bis tx Scr asm tx sor 4 v22bis Lx SCr asim tx SOEIVZZDIS Ux SCr asm rtlib rext v22Dis
25. reset anything the Timer Compare Register 1 is changed to a smaller number on the fly effecting 8000 samples per second with PESL commands during call progress detection Be sure to enable the PESL commands in the project since the soft modem uses them If this is not enabled the compiler will report no prototype A Bean Inspector Inputibanerinit Tb Bean ltems Visibility Help lt gt Peripheral Initialization gt Properties Methods Events Comment amp Init generate cade BASIC ADVANCED EXPERT Bean Level Penpheral Init 4 Figure 3 20 nputTimer Init_TMR Methods ES Bean Inspector pat iment Eih Ferpheral Initialization gt Bean ltems Visibility Help lt gt Properties Methods Events This bean does nat contain any event BASIL ADYANCED EXPERT Bean Level Peripheral Ini J Figure 3 21 InputTimer Init TMR Events 3 8 AST AsynchroSerial Bean This bean was set up for 2400 baud It actually does not matter what baud rate is used as long as it is at least 2400 baud The buffering is done in the modem and hardware flow control assures that the modem is not overrun with data Both V 21 and V 22bis use 2400 baud the rate conversion is done by the modem Processor Expert Bean Utilization in the Soft Modem Rev 0 Freescale Semiconductor 3 17 Preliminary L an EE Bean name LO Rei Cl LER Channel i SCIO E Interrupt service event Enabled h wilnte
26. would be a portable medical device such as a heart monitor that could periodically interface directly to a phone line without the need for an external modem or costly modem chip on board of any kind Without the DCE DTE split such a device would be more reliable and less expensive while consuming less power While it would be possible to split the design into a DCE and a DTE this would add cost not just for the additional processor but for the two serial ports required to connect them as well as for the software in both parts used for communication between the DTE and DCE the interrupts and context saving and restoring that these engender It would also add a potential failure scenario when the DCE and DTE do not observe each other s states in a timely manner See the right side of Figure 2 3 for a block diagram illustrating a low cost soft modem system utilizing Freescale s 56F835 controller The left side of the same figure shows the test harness integrated with the system System Specification and Design Rev 0 Freescale Semiconductor 2 3 Preliminary Test Fixture Portion Soft Modem Portion Serial communication of test data is full duplex with flow control for data from PC in the test fixture Ring Signal used for ring detect data SCI PC GPIO flow control Off On Hook Control Phone Line Figure 2 3 Low Cost Soft Modem System 2 2 Soft Modem Specif
27. 0 Freescale Semiconductor Preliminary etext LES JCOeXL text text text oe e EES LEX text text text Lex Cex Cex text text Lext Lex LEX e EE Lex text Tezi TEXT sCEXC SLEX text e SE text keet EES text text text SLeXL LESE e KEE text e Et text rELiD Erb ptr rs ed o m ra valet oe ELI Oe Memory Utilization on the 56F8357 FAS OnF llBxButribventse c FASI OnFreerxBur Events c FCpu OnSwINTO Events c FCpu OnSwINTI Events c FCpu OnSwINT2 Events c FCpu OnReset Events c FCpu OnSwINT3 Events c FCpu OnSwINTLP Events c FCpu OnPLLError Events c FCpu OnlllegalOpcode Events c FCpu OnHWStackError Events c ETBELI CPIDECOreats IELI O EIBhl CPIDECINIC IELIL G RER EE RER CPIDetDestroy EE es Fyv2lDestroy v21 adesrroy c PVZLINGe VAI ILC FV2L Init GO z6ro v21 nits FvelCreate v2l credtesc Fmain modem c FAT offline modem c FAT online modem c FCPTDetCallback modem c FTxCallbackV21 modem c FTXCallbackRoutine modem c FRxCallbackV21 modem c FRXCallbackRoutine modem c FInitAnalogRxChannel modem c FInitAnalogTxChannel modem c FInitPoorMansCodec modem c FReadAnalogRxData modem c FWriteAnalogTxData modem c FOutputTimerInts modem c FMisalignedLongWordISR modem c Fv21TxProcessA v21 processA c EVZIRBXPrOCeSSA v21 pEOCessA c Fv2l1TxSamplesAmplifyA v21 processA c FgetDemodByteA v21 processA c Fmemset
28. 00 00000033 00000000 00000033 00000000 Freescale Semiconductor Preliminary data data data data data data data TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM EBXEIO portbDsciopu c FpModemRxWrt modem c FpModemRxRead modem c FresTx modem c FresRx modem c FV25ansTone modem c FBitCounterRx1 modem c data data data data data data data data data data data data data data data data data data data MDMCONFIG v22bis gmdmmem asm FMDMCONFIG v22bis gmdmmem asm TX MEM data v22bis gmdmmem asm TX GAIN v22bis gmdmmem asm MDMSTATUS v22bis gmdmmem asm FMDMSTATUS v22bis gmdmmem asm mode flg v22bis gmdmmem asm rx st id v22bis gmammem asm tx st id v22bis gmadmmem asm flg 107 v22bis gmdmmem flg 112 v22bis gmadmmem flg 109 v22bis gmdmmem flg 104 v22bis gmadmmem flg 106 v22bis gmdmmem loopback v22bis gmdmmem asm asm asm asm asm asm Fretrain flag v22bis gmdmmem asm retrain flag v22bis gmdmmem asm txllctr v22bis txmdmmem asm TXMEMB v22bis txmdmmem asm Conclusion Rev 0 4 27 4 28 00000033 00000034 00000035 00000036 00000037 00000038 00000039 0000003A 0000003B 0000003C 0000003D 0000003E 0000003F 00000040 00000041 00000042 00000043 00000044 00000044 00000050 00000051 00000052 00000053 00000054 00000055 00000056 00000
29. 000 00000032 00000000 00000032 00000042 00000000 00000042 00000033 00000000 00000033 00000016 00000000 00000016 00000000 00000000 0000007B 0000007B 00000000 00000000 00000000 00000000 00000044 00000000 00000044 0000009F 00000000 0000009F 00000042 00000000 00000000 00000035 00000000 00000000 00000035 00000000 00000000 rtlzb rtlrib rtlib PELL sag ln Oe Ei sda oe jaa al TES EET ia wall oF aol om era rtlib rtlrb rFtLrb FELIX ytlib FELT EIB sda a jag allen oe say al al om iia ay valle om rtlib rtlib EEGEN aile ELLID ytixb rtl EIB Prix relin EL X EELER rtlirxb rtlib rtlib YELI rtlaib ETC EE rela TEM ee E e EES text text text text text Lext text text Lext Lext Lext text text text text text text text text text est Lext Lext Lex text text text text text text text Lext text Lext Lexr LEXE Cex text text text Lext text text text est text F8DummyFnl v21 rxbchk asm V21 Rxwait v21 rxbchk asm V21 Rxagc v21 rxbchk asm V21 Rxfirstzc v21 rxbchk asm V21 Rxdata v21 rxbchk asm F8DummyFnl v21 rxdecode asm V21 RxDecode v21 rxdecode asm rtlib text v21 rxdecode asm rtlib text v21 rxdemod asm Fv2lRxDemodInit v21 rxdemod asm F8DummyFnl v21 rxdemod asm V21 RxDemod v21 rxdemod asm F DummyFn1 v21 rxdiv asm V21 RxDiv v21 rxdiv asm rtlib text v21 txdiv sasm F8 DummyFnl v21 rxfreq shift asm V21
30. 000000 00000000 0000003D 00000000 0000003D 00000046 00000000 00000046 00000000 0000018C 0000018C 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000036 00000000 00000036 00000000 00000004 00000000 00000004 00000034 00000000 00000034 00000013 00000000 00000013 00000085 00000000 Freescale Semiconductor Preliminary EE E rtlib rtlib PELL prcrb Erb ETI ELTE rrr ieu om priv PINE rtlaib rtlrb CELI ELLID FELL EEL EE GE EE ELTE pp xb ia Ee CELD rtlib St Lab rtlrb PEL ELLID ytixb rtl EELER ee relin EDI X ECLA ECLA rtlib rtlib EYELID reli ELA EE Cela TEM ra vale oe ia e Cex text text text text text Lex Lext text text text CORC text text text text text text text Lext Lext est Lext CERC CEXC text text text text text Lext text est text Lext Lexr Lex text text text text Lext Lext text text est text Memory Utilization on the 56F8357 last on cpsi api asm end cpt on Cpsi apisasm not cpt cpsi api asni exit decode cpsi apr asm F8DummyFnl cpsi low asm rtlib text cpsi low asm SIL DEC CPT cpsi low asm assignl cpt cpsi low asm F DummyFn1 cpt api asm PAPI TONE DETECT cpt api asm rtlib text cpt api asm ELtI1D text ocpt bur asm GENERATE ANALYSIS ARRAY CPT cpt buf asm F8 DummyFnl cpt buf asm CAL
31. 0000000 00000000 00000091 00000000 00000091 0000001F 00000000 0000001F 0000000F 00000000 0000000F 00000026 00000000 00000026 000000CE 00000000 Freescale Semiconductor Preliminary rtlrb rtlib rtlib FELL sag ln Oe Ei sd oe Er TES EID ppl ie EINE rtlaib rtlrb CELI ELLID ytlib ELI EE GE EE ELTE pp xb ia Ee CELD rtlib St Lab rtlrb PEL ELLID PELL CELIN EIB EIB TIUS DLE EUCLID ECLA rtlib rtlib EEL ELSE PEL EE Cela is lay CELIO ELI DA text CEXL text text text text text text text Lext Lext CORC text text est text text text text Lext text Lext Lext est EES text text text text text Lext text est text Lext est Lex Lext text text text Lext text Lext text est text F8DummyFnl v22bis rx int asm RXINTP v22bis rx int asm DLLIID texctiv22DIs rx IND Gen rPtlib text v22D1S rx Stat asu tx CA v22bis rx stat asm F8DummyFnl v22bis rx stat asm rx CB v22bis rx Stat asm rx CC v22bis rx stat asm rx CD v22D18 rx stat asm rx CHUOVODDIS Xx Lala rx AA v22bis rx stat asm tx CETQV22DIS rx Stat asm Ex AB V2ZDIS 7x SLab asm Ex ACOVA2DAS XX SUSLD Rm px ACIL v22DLS tx Stal asm EK AD v22bils rx Stat asim rx G22A v22bis rx stat asm Ex G22B v22Dis rx Stat asm px G42C v22D1S rx Stal asm tx G22D v22D18 rx Stat dsni rx GBisA v22bis rx stat asm tx GBISB v22D1S rx stat asm
32. 000077 00000078 00000079 0000007A 0000007A 00000100 00000100 00000200 00000220 0000022C 0000023C 0000024C 0000026C 000003EC 000003EC 000003EF 0000044F 000004AF 000004F7 00000540 00000540 00000540 00000541 00000542 00000543 00000544 00000545 00000546 00000547 00000548 00000549 0000054E 0000054F 00000550 00000551 00000552 00000553 00000554 00000580 000005A2 000005A3 000005C0 000005FO0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002 00000000 000002kEC 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000153 00000000 00000000 00000000 00000000 00000000 00000000 00000268 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 Freescale Semiconductor Preliminary Memory Utilization on the 56F8357 data data data data data TX MEM TX MEM TX MEM TX MEM TX MEM StO ptr v22bis txmdmmem asm TxO ptr v22bis txmdmmem asm TXMEMSIZE v22bis txmdmmem asm DC Alpha v22bis txmdmmem asm DC Tap v22bis txmdmmem asm TX MEM data DC Tap Scaled v22bis txmdmmem asm TX MEM data DC Error v22bis txmdmmem asm API data ent7 v22D18 rxstub asm API data API data v22bis rxstub asm V22B PROM data SIN TBL v22bis mdm prom asm V22B PROM data V22B PROM data v22bis mdm prom asm V22B PROM data cos
33. 00030 00000011 00000015 0000002C 00000012 000000AB 00000014 0000008D 0000000D 0000007F 000000B9 00000014 0000001C 00000014 0000001B 0000000B 0000005F 00000064 00000055 0000005E 000000D3 00000038 000000B3 000000E3 0000009A 0000000C 0000000E 0000000E 00000041 00000037 0000000F 00000001 00000001 Cex LES STEX text text text JLOXL e EES e ag text e text text e KEE SLEX LES Lext text Lext EES JLeXE De an TEKU text text LOXL ULEKE Cex text e text e text keet SES text text text JLeXL LEX KEE text e Et text TEXEL De ang keet e EE text Lex FASI GOLEPEIOE OASLC FASI InterruptRx ASl c FAS InterruptTx AS1 c FAS InterruptError ASl c FASI Init AS1 c FRingDetect Enable RingDetect c FRingDetect Disable RingDetect c FRingDetect ResetCounter RingDetect c FRingDetect GetCounterValue RingDetect c FRInNGDStect INnIt oingDetecbs c EBXCIO PutvValQOrtfHook c FSetCV TenthSecInt c FSetPV TenthSecInt c FHWEnDi TenthSecInt c PTenuhSecint Inxt TenthSeclInt c FTenthSecInt Interrupt TenthSecInt c Fv22bisCreate v22bisapi c Puv2z2brsInititv2z2brisSapol c Fv22bisTXDataInit v22bisapi c Ev2ZZ2bisTX iv22bisapi c Fv22bisTransmit v22bisapi c Fv22bisRX v22bisapi c Fv22bisDestroy v22bisapi c FTransmitV14 v22bisapi c FReceiveV14 v22bisapi c FmemMallocEM mem c FmemMallocAlignedEM mem c FmemFreeEM mem c FmemIsAligned m
34. 0007E 00000000 0000007E 0000005A 00000000 0000005A 0000002C 00000000 0000002C PLlib text EBXDMCDON v22Dis rx bchk asm rtlib text RXDMCDOPFE v22bis rx bchk asm DULTIDSLext RXDM OER w22Dris rx Dochk asm rtlib text CDONOPF v22bis rx bohk asm rtlib text F8DummyFnl v22bis rx bpf asm ELIrD Lext RABEB V2ZDIS rx Dpi asm rtlrb text rtlib text v22bis rx Dpi asm rtlib text F8DummyFnl v22bis rx car asm Ptlib text BXCABR V2ZZDIS rx Car asm PLLDUCexXL 2 tli textiv22b1s Xx Caras rtlib text F DummyFnl v22bis rx cdagc asm rtlib text RXCDAGC v22bis rx cdagc asm DLIZDUexLt rtlib text v22019 rx cdagc asm DLIIDJEOXL DLLIDUCOXC vVA2DIS T Otri asm rLtIID text EXBAUDPROC vZ2DIS Xx otri asm rtlib text F8DummyFnl v22bis rx ctrl asm ELLID Dexr xx DO SDbIlQV22DIS TX Ctl lt asm PEIIDUeXL Ex next task v22DiS Ex OUPl asN rtlib text F8DummyFnl v22bis rx decim asm rtlib text RXDECIM v22bis rx decim asm PLLIDLOXL StliD text v22Di8 Tx decimas rtlib text F8DummyFnl v22bis rx demod asm rtlib text RXDEMOD v22bis rx demod asm rtlib text rtlib rtext v22bis rx demod asm DLETIDILOXL XLIIDtextiv22Dis rx dXrgo asm rtlib text RXDEC4 v22bis rx difdc asm rtlib text F8DummyFnl v22bis rx difdc asm rtlib text DECA v22bis rx difdc asm EClibs text DBECB VA2DLIS rx dXrdOo asm rtlib text RADECIO v22DiS fx drrdco adsm rtlib text RXDIFDEC v27bis xx ditdc dasm ttlib text RXDEOCRZ VZZDIS rx dsSor asm rtlib text ftlib text v22DisS rx dscr asm rtl
35. 000C8C 00000C8E 00000C90 00000C92 00000C94 00000C95 00000C96 00000C97 00000D17 00000D18 00000D19 00000D39 00000D41 00000D74 00000DA6 00000E0A 00000E6E 00000E6F 00000E6F 00000E70 00000E70 00000E71 00000E71 00000E72 00000E72 00000E76 00000E7A 00000E7B 00000E7C 00000E7D 00000E7E 00000E7F 00000E80 00000E81 00000E82 00000E83 00000E84 00000E85 00000E86 00000E87 00000E88 00000015 00000001 00000001 00000002 00000002 00000002 00000002 00000001 00000001 00000001 00000080 00000001 00000001 00000020 00000008 00000001 00000032 00000064 00000064 00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000004 00000004 00000001 00000001 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 Freescale Semiconductor Preliminary bss Das DSS Das DSS Das bss Das Das DSS Das bss Das bss Das Das Das 00000D42 00000032 bas Das Das Das bss DSS Das Das bss DSS Das Das DSS Das DSS Das Das API API API API API API API API API API API API Memory Utilization on the 56F8357 FAT off state modem c Fphone number modem c Fp phone number modem c Fh parm modem c FAC24 modem c FAC12 modem c FACO modem c FACa modem c FLine Tones modem c FpAnalogTxRead modem c FpAnalogTxWrite modem c FAnalogTxBuffer modem c FpAnalogRx
36. 007 text ECpu Inverrupu Cou c 000000DB 00000011 text FpU PLLINES UPE CDU 000000EC 000000A7 text EPR tow Level INI 00000193 00000020 text FMEMI Init MEM1 c 000001B3 0000001D text FADIL InterruptCC AD1 c 000001DO 00000056 text FHWEnDi AD1 c 00000226 0000000D text FAD1 Enable ADIl c 00000233 0000000C text FADL DaisabDle ADl c 0000023F 0000001A text FADI EnableIntTrigger AD1 c 00000259 00000041 text FAD1 Init ADl c 0000029A 0000002E text FOutputTimer Init OutputlIimer c 000002C8 0000002E text EInputlamer Init rinputlxmer c 000002F6 0000000A text FHWEnDi AS1 c 00000300 0000004E text BASI RecvChar AS1 c 0000034E 00000046 text FASI SendChar AS1 c 00000394 0000001F text FASI RecvBloOCKk ASI c 000003B3 00000020 text PASI SendBlock AS1 c 000003D3 00000003 text FASI GetCharsInRxBuf AS1 c Conclusion Rev 0 000003D6 0000045C 000004B3 00000507 00000540 0000055F 0000056E 0000057B 00000581 0000058B 000005A0 000005E4 00000610 00000628 0000065A 0000068A 0000069B 000006B0 000006DC 000006EE 00000799 000007AD 0000083A 00000847 000008C6 000009 7F 00000993 000009AF 000009C3 000009DE 000009E9 00000A48 00000AAC 00000B01 00000B5F 00000C32 00000C6A 00000D1D 00000E00 00000E9A 00000EA6 00000EB4 00000EC2 00000F03 00000F3A 00000F49 00000F4A 00000086 00000057 00000054 00000039 0000001F 0000000F 0000000D 00000006 0000000A 00000015 00000044 0000002C 00000018 00000032 000
37. 00B70 data size linker command file ApplicationData Freescale Semiconductor Preliminary gt 00000B70 F Xbss start addr linker command file gt 00000B70 _START BSS linker command file 00000B70 00000001 bss Fok Jee EES 00000B71 00000001 bas FOR 169g CoG sc 00000B72 00000001 bass FADI ModeFlg ADl c 00000B73 00000001 bass FOUCPIG ADI Cc 00000B73 00000001 bass FADI EnUser AD1 c Conclusion Rev 0 4 33 00000BA6 00000BA7 00000BA8 00000BA9 00000BDB 0000 0BDC 0000 0BDD 00000BDE 00000BDF 00000BEO 00000BE1 00000BE2 00000BE3 00000BE4 00000BE5 00000BE8 00000BE9 00000001 00000BEA 00000BEB 00000BEC 00000BEE 00000BFP2 00000BF6 00000BF8 00000BFC 00000C00 00000C06 00000C2E 00000C56 00000C57 00000C58 00000C5A 00000C5C 00000001 00000C5D 00000C5E 00000C5F 00000C60 00000C61 00000C62 00000C63 00000C64 00000C65 00000C66 00000C72 00000C735 00000C74 00000001 00000001 00000001 00000032 00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000003 00000001 00000001 00000001 00000001 00000004 00000004 00000001 00000004 00000004 00000005 00000028 00000028 00000001 00000001 00000001 00000002 00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001 0000000C 00000001 00000001 00000001 00000B74 00000032 bss Das bss DSS DSS Das bss Das Das DSS Das bss Das Das bss DSS
38. 057 00000058 0000005E 0000005F 00000060 00000061 00000062 00000063 00000064 00000065 00000066 00000067 00000068 00000069 0000006A 0000006B 0000006C 0000006D 0000006E 0000006F 00000070 00000047 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM TX MEM data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data TX MEM data v22bis txmdmmem asm txl2ctr v22bis txmdmmem asm txl3ctr v22bis txmdmmem asm txl4ctr v22bis txm
39. 1 0000000B 00000000 0000000B 00000020 00000000 00000020 00000049 00000000 00000049 0000018C 00000000 0000018C 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 EE E rtlib rtlib FELD say ln Oe Eti TER EE EE ppl ie EINE rtlaib Etlrb CELI CELLE FELL EEL EE GE rEliD jaa eal or pp xb Erb rrirb rtlib rtlib rtlrb Eti ELLID ytixb rtl rola EE ELI BI EDI ECLA rtlirxb rtlib rtlib YELI rtliaib VELA EE rela EM Erlixb EIE text Lex text text text text Lext text text Lext Lext text text text Lex text text text text Lext text est Lext Lext ju d text text text text text text text Lext est Lext est LOXL text text text text Lext text text text text text rtlib text v22bisapi asm FV22BIS TRANSMIT v22bisapi asm FV22BIS RECEIVE SAMPLE v22bisapi asm F8DummyFnl v22 v42d asm V42DRV INIT v22 v42d asm ELlib text v22 v42d asm FV42 V22DRV INIT v22 v42d asm V22 VAZDRV v22 v42d asm V42 V22DRV v22 v42d asm LAPM MDM INIT v22 v42d asm WRITE NIBBLE v22 v42d asm READ NIBBLE v22 v42d asm End ReadNibble v22 v42d asm F8 DummyFnl archgetsetsaturationmode asm FarchGetSetSaturationMode archgetsetsaturationmode asm rtlib text archgetsetsaturationmode asm F DummyFn1 memcpy asm FmemMemcpy
40. 2100 v22bis mdm prom asm V22B PROM data MOD TBL v22bis mdm prom asm V22B PROM data absdat v22bis mdm prom asm V22B PROM data VZ2B PROM data V22B PROM data ROM XMEM data ROM XMEM data ROM XMEM data ROM XMEM data ROM XMEM data ROM XMEM data tx quadtab v22bis mdm prom asm tx IOmap v22bis mdm prom asm IFCOE v22bis mdm prom asm PAR 2100 v22bis mdm xrom asm ROM XMEM data v22bis mdm xrom asm RXBPP22H v22bis mdm xrom asm RXBPP22L v22bis mdm xrom asm tx fm coef low v22bis mdm xrom asm tx fm coef high v22bis mdm xrom asm RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM data data data data data data data data data data data data data data data data data data data data data data data data rx st chg v22bis rxmdmmem asm RXMEMB v22bis rxmdmmem asm RX MEM data v22bis rxmdmmem asm rx ans flg v22bis rxmdmmem asm RX LAPM EN v22bis rxmdmmem asm TX LAPM EN v22bis rxmdmmem asm retctr v22bis rxmdmmem asm rx ctr v22bis rxmdmmem asm err ctr v22bis rxmdmmem asm rx toutctr v22bis rxmdmmem asm RXTH v22bis rxmdmmem asm DEL 2100 v22bis rxmammem asm TON2100 v22bis rxmdmmem asm TON150 v22bis rxmdmmem asm TONSI v22bis rxmdmmem asm SPEED v22bis rxmdmmem asm USBIPAT v22bis rxmdmmem asm RETRCNT v22bis rxmdmmem asm TRN LNG v22bis rxmdmmem as
41. AY CharnTsBuf don t generate code 3 B GetCharsinTxBul generate code y E SetBaudHateMode don t generate code B GetEmor generate code X3 B GetBreak don t generate code B SetBreak dant generate code B TumTs n don t generate code 3 B TumTsQff don t generate code 3 R TumHx n don t generate code 3 B TumHxOff don t generate code 3 E Selde don t generate code X3 E Loophdocde don t generate cade E ConnectPin don t generate cade E 3 etFixl dle don t generate cade E 3 et T Complete don t generate code Figure 3 23 AS1 AsynchroSerial Methods Use SendBlock to send a block of characters to the serial port and use RecvBlock to receive a block of characters Simply drag and drop these methods into the application code as required Processor Expert Bean Utilization in the Soft Modem Rev 0 Freescale Semiconductor 3 19 Preliminary Properties Methods Events Comment E BeforeNewSpeed don t generate code 5 Bl AfterNewSpeed dont generate code 5 a s M ER Event procede rame ASL nEmo Priority same as interrupt 2 z nHxChar generate code 9 2 El OnTsChar generate code 9 2 eri o oO z E OnFreeT xBuf generate code Event procedure name AS OnFreeT But 2 B nBreak don t generate code E Onl xComplete don t generate code BASIC ADVANCED ESPERT Bean Level High Level Be 4 Figure 3 24 AS1 AsynchroSerial Events 3 9 RingDetect PulseAcc
42. BPS 8 bits data no parity 1 stop bit hardware flow control It is the peer of Terminal Emulation One and runs the other end of the binary file transfer The active signals in the DB9 include TX data RX data and one hardware flow control signal used to signal the PC when it may or may not send data Flow control in the other direction was found to be unnecessary due to the abundant resources of the PC it never became flooded with data from the controller at 2400 BPS 2 4 Hardware Implementation Set up and Operation A standard off the shelf Freescale 56F8357EVM was used for this project The Low Cost Freescale Modem Demonstration Kit comes with a 56F8367EVM and a Low Cost Modem Daughter Card LCMDC in one box The EVM has a connector for this daughter card The LCMDC was developed to house the Data Access Arrangement DAA as well as conditioning circuits for the single PWM signal from the EVM mother board To assemble the modem snap the daughter card into the connector after making the following revisions to the EVM e Towire ring signal for detection by the controller connect these two signals PWMA 1 Pin 2 J7 source is ring indicator from the daughter card Quadrature Decoder 0 PHASEAO Pin 1 J15 destination e To wire flow control of data from serial test device to the controller connect these two signals and a capacitor SCI 1 TXD1 Pin 1 J14 source RTS Pin 1 J11 destination One end of a 39pF cap to R
43. C SIG EN CPT cpt buf asm PLIib text cpt low F8DummyFnl cpt low MG EN cpt low asm end mg cpt cpt low NEWNUM CPT cpt low asm TST CPT cpt low asm UPDCPT cpt low asm ll cpt low asm FIND PK CPI Opt Llow asm End upd subroutine cpt low asm LOAD THRESH CPT cpt low asm MAG CPT cpt low asm GROUP TST CPT cpt low asm IWIST CPT cpt low asm REL EN CPT cpt low asm REL MAG CPT cpt low asm FIND REL MAG cpt low asm rtlib text v21 mod asm Fv21ModInit v21 mod asm F8DummyFnl v21 mod asm Fv21Mod v21 mod asm F DummyFn1 v21 agc asm asm asm asm V21 Rxagcgjam v21 agc asm PELIDtext v2l SgogasH F8DummyFnl v21 cd aam V21 RxCd v21 ve eem e Ee Eer F DummyFn1 v21 rxavg fil asm V21 RxAvg Filter v21 rxavg fil asm relib textiv2l rxavg Til asm rtlib text v21 rxbchk asm V21 Rxcdwait v21 rxbchk asm Conclusion Rev 0 4 25 4 26 00003868 00003880 0000389C 000038C1 000038DA 0000538ED 000038ED 000038ED 00003900 00003900 00003900 00003956 0000399B 0000399B 0000399B 000039CD 000039CD 000039CD 00003A0F 00003A0F 00003AO0F 00003A42 00003A42 00003A42 00003A50 00003A58 00003A58 00003A58 00003A79 00003A94 00003AB6 00003ACO 00003AD3 00003AD3 00003AD3 00003B17 00003B17 00003B17 00003BB6 00003BB6 00003BD9 00003BF8 00003BF8 00003BF8 00003BF8 00003BFPF DODOSBEE 00000085 00000000 00000000 00000000 00000000 00000013 00000000 00000013 0000009B 00000000 0000009B 00000
44. DVANCED E PERT Bean Level High Le 4 Figure 3 5 MEM1 DSP_MEM Methods These are the various methods available for the algorithms to allocate memory A major advantage of having so many classes of memory available is to allow the algorithm to specify the arrangement of operands in memory to minimize wait states Low Cost Soft Modem Designer Reference Manual Rev 0 3 6 Freescale Semiconductor Preliminary The ADC1 ADC Bean gt Bean Inspector NENT DSP MEM Bean theme Visibility Help lt gt Penpheral Initialization gt Properties Methods Events Comment This bean does not contain any event BASIC ADVANCED E PERT Bean Level High Le Figure 3 6 MEM1 DSP_MEM Events 3 3 The ADC1 ADC Bean The nputTimer is used to trigger the ADC conversion Once it is triggered it takes eight rapid fire samples which are later averaged The averaging reduces noise contribution to the signal Processor Expert Bean Utilization in the Soft Modem Rev 0 Freescale Semiconductor 3 7 Preliminary 3 8 A D converter DCH ADCE Disabled y E Interrupt service event Enabled i wl AA nennt JINTADCB Complete INT ADCB Complete 1 Interrupt preserve registers yes A MI ADCH zt LE MI ADCB ZC LE Interupt preserve registers E A D channels Ell Channell A D channel pin AMBB AMBB la channel pin signal E Queue Enabled E Mode Segu El Ap samples 89 Hl EjSampl Enabled
45. Das bss Das Das bss DSS Das Das Das bss Das Das DSS Das DSS DSS Das bss Das bss Das bss Das Das bss Das Das bss DSS Das bss Low Cost Soft Modem Designer Reference Manual Rev 0 FOutBuffer AS1 c FOutPtrw AS1 c FOutPtrR AS1 c FOutLen AS1 c FInpBuffer ASl c FInpPtrW AS1 c FInpPLCER ASI c FInpLen AS1 c FErrFlag AS1 c FSerFlag AS1 c FEnUser TenthSecInt c Fv2zduibittxcount v2zzbisapisc Frxbitcounter v22bisapi c Estartbit v22bisadpi c FPartialRxByte v22bisapi c FNibbles v22bisapi c FNibbleCount v22bisapi c FNumberBytes v22bisapi c FBytePtr v22bisapi c FByteCount v22bisapi c Fmessageover v22bisapi c FRKCallback v22bisapi c FTXCallback v22bisapi c FbMemInitialized mem c FEmptyExternalMemoryPool mem c FEmptyInternalMemoryPool mem c FInitialState mem c FExternalMemoryPool mem c FInternalMemoryPool mem c Pring state Everts c berror ocDL BVenbtssc Fring pulse count Events c FCombinedAnalogRxSample Events c FRxSampleCount Events c FxresetC Events c FUNC errotsisvents c FCountTime Events c Fis time to shake modem c FPreviousSample modem c FCumCnt modem c FSaveCnt modem c FStartBitRXd modem c FMsgByteRx1 modem c FConfigV21 modem c FpV21 modem c Fstate of escape modem c FAT on state modem c Freescale Semiconductor Preliminary 00000C74 00000001 00000C75 00000C89 00000C8A 00
46. EM RX MEM RX MEM RX MEM RX MEM RX MEM data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data DPHASE v22bis rxmdmmem asm CDP v22bis rxmdmmem asm DP v22bis rxmdmmem asm DPHADJ v22bis rxmdmmem asm BPF OUT v22bis rxmdmmem asm BPFOUT PTR v22bis rxmdmmem asm RXMPTR v22bis rxmdmmem asm RXCB2A v22bis rxmdmmem asm RXCB2A l v22bis rxmdmmem asm RXCB2A 2 v22bis rxmdmmem asm RXCB2A 3 v22bis rxmdmmem asm RXCB2A 4 v22bis rxmdmmem asm RXCB2A 5 v22bis rxmdmmem asm RXCB2A 6 v22bis rxmdmmem asm RXCBPTR v22bis rxmdmmem asm PREV ENERGY v22bis rxmdmmem asm PRV ENPTR v22bis rxmdmmem asm ENBUF PTR v22bis rxmdmmem asm AGCG v22bis rxmdmmem asm AGCCl v22bis rxmdmmem asm AGCC2 v22bis rxmdmmem asm AGCC3 v22bis rxmdmmem asm AGCCA4 v22bis rxmdmmem asm AGCLP1 v22bis rxmdmmem asm AGCLP2 v22bis rxmdmmem asm AGCLG v22bis rxmdmmem asm RXSBAG v22bis rxmdmmem asm CDl v22bis rxmdmmem asm ENERBUF v22bis rxmdmmem asm RXCB v22bis rxmdmmem asm RXCB l v22bis rxmdmmem as RXCB 2 v22bis rxmdmmem as RXCB 3 v22bis rxmdmmem as RXCB 4 v22bis rxmadmmem as as as m m 3 5 RXCB 5 v22bis rxmdmmem asm RXCB 6 v22bis rxmdmmem asm RXCBIN PTR v22bis rxmadmmem asm RXCBOUT PTR v22bis rxmdmmem asm CD CN
47. Ex GDISC V22DIS rx Stat acm rx GBisD v22bis rx stat asm rx GBi5bh v22DlIS rx Stat asm tx GBISRF v22bis rx Staet asm rx GBisG v2Zb1is rx Stat asm rx GRetA v22bis rx stat asm F DummyFnl v22bis rx ton asm RXUSBl v22bis rx ton asm PLlID text v22D3 amp rx tonasm RXSl v22bis rx ton asm RXTON v22bis rx ton asm F8 DummyFnl v22bis rxmdmini asm RX MDM INIT v22bis rxmdmini asm rtlib text v22bis rxmdmini asm F8 DummyFnl v22bis tondet asm TONEDETECT v22bris tondet asm ELlib textiv22DLSs tender F8DummyFnl v22bis rxstub Ex stubiv22Dis Sxstub asm rtlib text v22bis rxstub asm F8 DummyFnl v22bis txstub asm tx Stub iv22D1s txstub asm PtliDtext v22DXI8 txstub lt dsm F DummyFnl v22bisapi asm FINITIALIZE V22BIS v22bisapi asm asm asm Conclusion Rev 0 Memory Utilization on the 56F8357 4 23 4 24 00003221 00003256 00003278 DODD32EF 000032EF 000032EF 00003302 00003308 00003337 0000333A 0000333B D0DOS53D 0000337E 00003383 00003383 00003383 00003394 00003394 00003394 0000 339F 0000339F 0000539F 000033BF 000033BF 000033BF 00003408 00003408 00003408 0000340B 0000343F 0000346F 0000347B 00003484 00003490 0000349E 000034A9 000034B7 000034C4 000034D0 000034D9 000034E5 000034F72 000034F9 00003502 00003521 00003526 00003553 000000CE 00000000 00000000 00000094 00000000 00000094 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000011 00000000 0000001
48. IDIVREC 532 Buntame 56900R hirD arLtdrvreo 534 0 rtlib text FARTDIVREC S32 Runtime 56800E Lib artdivrec s32 0 DLLIDSUCOXL ARIDIVREC US2i Runtime 5Do900R4 hrD artorvrec s22 Q0 rilib text FARTDIVREC US2 Runtime 56900E Lib artdrivrec 532 0 rtlib text rtlib text dtmrgen ox lib dumf gen o rtlirb text FdtmiGensrate dtmigen 3x lrb dtmf gen o rtLrD text Fdimi Inic dtmigen 3 115 dtmi genso rtlib text Fdtmitsetkey dtmigen 3x l1b dtmf gen o Startup text Starvupetext o6PS3ox EE Semer Startup text Finit 56800 50ES5x init asm startup text F DummyPnl 56F83x init asm gt 00003D7D F Pbss start addr linker command file gt O00003D7D P BSS ADDR linker command file gt 00000000 F Pbss length linker command file gt 00003D7D F Pcode end addr linker command file gt O0003D7E pROM data start linker command file data in p flash ROM 1200000000 00000000 00000000 00000000 00000006 _ XRAM data start linker command file rtlib data cpt cosval cpt dc asm ttlib data rtlib datatcpt de asm 00000006 00000002 00000008 00000001 00000009 00000001 0000000A 00000001 0000000B 00000001 0000000C 00000018 00000024 00000001 00000025 00000000 00000025 00000000 00000025 0000000E 00000027 00000000 00000028 00000000 00000028 00000000 00000029 00000000 0000002A 00000000 0000002B 00000000 0000002C 00000000 0000002D 00000000 0000002E 00000000 0000002F 00000000 00000030 00000000 00000031 00000000 00000032 00000000 00000032 000000
49. IPS for V 22bis is only 7 15 This is merely a small fraction of the MIPS available on the 60 MIP controller just over 10 percent The fraction consumed is even less when V 21 with a line rate of 300 characters per second is used The V 21 receiver takes only 1 2516 MIPS The transmitter takes even less at 1134 MIPS or much less than one percent of the MIPS available The total MIPS for V 21 adds up to only 1 364 MIPS or about 2 percent of the processor s available MIPS Low Cost Soft Modem Designer Reference Manual Rev 0 4 36 Freescale Semiconductor Preliminary Peripheral Footprint 4 5 2 Using RTOS to Run the Modem Concurrently with Other Tasks In order to blend other tasks with the modem it is advisable to use a real time operating system RTOS A multi tasking context switching RTOS could be used to share the remaining resouces with other tasks such as alarm monitoring or process control The modem code itself would be one task since it is written as one thread There are several ready sources for RTOS including Metrowerks Unicoi and Micrium Details about Micrium s RTOS may be found at http www ucos ii com CodeWarrior includes a demonstration project showing how this RTOS is to be used Once the RTOS files are obtained from Micrium they are simply inserted into the code directory and this demostration project may be run and applied to the modem code With the RTOS the modem code would be made into a task wh
50. LL Low Cost Soft Modem Designer Reference Manual Rev 0 vi Freescale Semiconductor Preliminary Definitions Acronyms and Abbreviations The following list defines the acronyms and abbreviations used in this document As this template develops this list will be generated from the document As we develop more group resources these acronyms will be easily defined from a common acronym dictionary Please note that while the acronyms are in solid caps terms in the definition should be initial capped ONLY IF they are trademarked names or proper nouns AGC Automatic Gain Control BERT Bit Error Rate Test LCMDC Low Cost Modem Daughter Card RX Receive SNR Signal to Noise Ratio TX Transmit UUT Unit Under Test References The following sources were used to produce this book we recommend that you have a copy of these references 56F8300 Peripheral User Manual Freescale MC56F8300UM 56F8306 Evaluation Module User Manual Freescale MC56F8367EVMUM TAS Series Il Plus Telephone Network Emulator Operations Manual 2700 2003 Version 2 40 TAS Series ll Telephone Network Emulator UCO Option Operations Manual 2700 2734 Version 1 20 TAS 240 Voiceband Subscriber Loop Emulator Operations Manual 2700 2397 Version 1 20 Understanding Telephone Electronics SAMS Seventh printing 1987 ITU T Recommendation V 22bis 2400 Bits Per Second Duplex Modem Using The Frequency Division Technique Standardized For Use On The General Switched
51. MSL C 56800E l1ib mem o E AN Ser text text text est text fill mem MSL C 56800E lib mem funcs o init Sections Runtime 56800E Dib inrxtsectronsso F8DummyFnl v22bis tx b end asm end tx v22bis tx b end asm rtlib text v227bis tx b end asm EULLIDDext v22Dls tx QDEL GSND F DummyFnl v22bis tx ctrl asm TXBAUD v22bis tx ctrl asm Conclusion Rev 0 4 19 4 20 0000203A 00002063 00002069 000020D2 000020D8 000020D8 000020D8 000020DE 000020E7 000020ED 00002110 00002110 00002110 00002117 00002131 0000213E 00002143 0000214D 0000215B 00002167 0000217A 0000217F 00002181 00002183 00002185 00002189 00002189 00002189 000021BD 000021BD 000021BD ODUUDZTICI 000021C5 000021C8 000021F7 000021F7 BLECK Re O00021FEF 00002215 00002222 00002240 0000226F 00002291 000022A4 000022BA 000022D6 000022D6 00000000 00000000 00000000 00000000 00000038 00000038 00000000 00000000 00000000 00000000 00000000 00000079 00000079 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000034 00000000 00000034 0000003A 0000003A 00000000 00000000 00000000 00000000 000000DF 000000DF 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000E6 00000000 EE E rtlib rtlib PELL ale rElib TER EE EE ppl sag wale om EID rtlib EEN CELI ELLID ytlib ELI EE GE EE ELTE pp xb
52. RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data data BHPYl v22bis rxmdmmem asm BHPX3 v22bis rxmdmmem asm BHPY3 v22bis rxmdmmem asm BHPEl v22bis rxmdmmem asm BHPE3 v22bis rxmdmmem asm BACCl v22bis rxmdmmem asm BACC2 v22bis rxmdmmem asm BLP v22bis rxmdmmem asm BINTG v22bis rxmdmmem asm BINTGA v22bis rxmdmmem asm status v22bis rxmdmmem asm CARGl v22bis rxmdmmem asm CARG2 v22bis rxmdmmem asm CARG3 v22bis rxmdmmem asm CARG4 v22bis rxmdmmem asm COFF v22bis rxmadmmem asm CLP v22bis rxmdmmem asm RCBUF v22bis rxmdmmem asm RCBUF l v22bis rxmdmmem asm RCBUF 2 v22bis rxmdmmem asm RCBUF 3 v22bis rxmdmmem asm RCBUF 4 v22bis rxmdmmem asm RCBUF 5 v22bis rxmdmmem asm THBUF v22bis rxmdmmem asm BBUF v22bis rxmdmmem asm JITTER v22bis rxmdmmem asm JITGl v22bis rxmdmmem asm JITG2 v22bis rxmdmmem asm WRPFLG v22bis rxmdmmem asm ACODE v22bis rxmdmmem asm EORT v22bis rxmdmmem asm EORT l v22bis rxmadmmem as EORT 2 v22bis rxmdmmem as EORI
53. Read modem c FpAnalogRxWrite modem c FAnalogRxBuffer modem c FModemRxBuf fer modem c Ftty in status modern C Fmodem in modem c DSS DSS DSS Das DSS DSS DSS DSS DSS DSS DSS DSS Ftty in modem c FCodecRxBuffer modem c FCodecTxBuffer modem c FAns Tone Detect modem c FAns Tone Start modem c FV21 Mode modem c FAT q flag modem c FAT z flag modem c Fcall phone number modem c FCaller Modem modem c FConnecting v21 modem c Fv22bis RXCallback modem c Fv22bis TXCallback modem c Frate negotiated modem c Fconnection lost modem c Fv22bis connection established modem c 00000E7D 0000000E API bss API bss v22bis apimem asm s ctr v22bis apimem asm Tx Baud Count v22bis apimem asm Rx Baud Flg v22bis apimem asm TIME CNT v22bis apimem asm TIME CNTL v22bis apimem asm TIME CNTH v22bis apimem asm in data ptr v22bis apimem asm txrx status v22bis apimem asm WordWrFlg v22bis apimem asm WordRdFlg v22bis apimem asm StartCompare v22bis apimem asm SyncWord mem v22bis apimem asm Conclusion Rev 0 4 35 00000E89 00000000 API bss Sync sent status v22bis apimem asm 00000E8A 00000000 API bss SyncWord rx v22bis apimem asm gt O0000E8B END BSS linker command file gt 0000031B F Xbss length linker command file gt O0000E8C HEAP ADDR linker command file gt 00000100 HEAP SIZE linker command file gt O0000F8C HEAP END linker command file
54. RxFreq Shift v2l rxfreq shift asm Etlib texct v21 rxfreq shift asm F DummyFn1 v21 rxlpf asm V21 RxLpf v21 rxlpf asm DLIID Ltext v2L rxipf asmn rtlaib text v2l rxsmasm BEVv2ZIBXCUEL v2l rxsm asm F8DummyFnl v21 rxsm asm V21 Rx Nxt Tsk v2l rxsm asm V21 Rxcdw Init v21 rxsti asm KULI text v2i EE F DummyFn1 v21 rxsti asm V21 Rxagc Init v21 rxsti asm V2l1 Rxagcfzc Init v21 rxsti asm V21 Rxfzc Init v21 rxsti asm V21 Rxdat Init v21 rxsti asm F8 DummyFnl v21 rxtimejam asm V21 RxTimejam v21 rxtimejam asm rtliib text v2l rxtimeJam as F DummyFn1 v21 rxtimrec asm V21 RxTimrec v21 rxtimrec asm ELLIDLtextivAl EE SE rtlib text Runtime 56800E Lib save reg o INTERRUPT SAVEALL Runtime 56800E Lib save reg o INTERRUPT RESTOREALL Runtime 56800E Lib save reg o F DummyFnl Runtime 56800E Lib artdivrec s32 0 FARTDIVREC S16 Runtime 56800E Lib artdivrec s32 0 ARIDIVREC Slo Runtime 56800B L1bD artdivrec s32 0 ELLID text Buntime 50900b Lib arbpdrvbeeo 532 0 ARTDIVREC Ul 6 Runtime 56800E Lib artdivrec s32 U PARTDIVREC Ulo Buntume 56800E Lib artdivrec 832 0 Low Cost Soft Modem Designer Reference Manual Rev 0 Freescale Semiconductor Preliminary 00003C06 00000000 00003C06 00000000 00003C18 00000000 00003C18 00000000 00003CZD 00000100 00003CZ2D 00000000 00003C74 00000000 00003CBC 00000000 00003DZ2D 00000050 00003DZ2D 0000004E 00003D7B 00000002 Memory Utilization on the 56F8357 FLID text AR
55. SI2 D e HAB LLI t HBA o AB Oo x BA SNR dB Figure 4 9 ETSI2 Line Low Cost Soft Modem Designer Reference Manual Rev 0 4 12 Freescale Semiconductor Preliminary P Bit Error Rate Test Results The NULL line was good down to 12dB SNR The region of interest is where the log10 BER is 3 NULL e HBA AB Oo o BA SNR dB Figure 4 10 Null Line Conclusion Rev 0 Freescale Semiconductor 4 13 Preliminary 1P The attentuation pad no spectral shaping was good down to 11 5dB SNR PAD LLI D HBA o v AB Oo Oo BA SNR dB Figure 4 11 EIA2 Line Low Cost Soft Modem Designer Reference Manual Rev 0 4 14 Freescale Semiconductor Preliminary Dynamic Range Test Results 4 3 Dynamic Range Test Results Figure 4 12 displays the soft modem s good dynamic range response down to 44dBm Null Line dynamic range 8357 originated 8357 rx m 8357 originated Hayes RX gt Hayes originated 8357 Rx 7 Hayes orginated Hayes rx Input Level to line dBm Figure 4 12 Null Line Dynamic Range Conclusion Rev 0 Freescale Semiconductor 4 15 Preliminary 4 4 Memory Utilization on the 56F8357 4 4 1 Summary Memory Utilization 4 Memory map v addr p addr size name 0000F020 0000F020 00000000 x Peripherals 00020000 00020000 00000004
56. T v22bis rxmdmmem asm LPBAGC v22bis rxmdmmem asm LPBAGC2 v22bis rxmdmmem asm HPGl v22bis rxmdmmem asm HPG2 v22bis rxmdmmem asm BLPGl v22bis rxmdmmem asm BLPG2 v22bis rxmdmmem asm BOFF v22bis rxmdmmem asm BHPX1l v22bis rxmdmmem asm Low Cost Soft Modem Designer Reference Manual Rev 0 Freescale Semiconductor Preliminary 000006A9 000006AA 000006AB 000006AC 000006AD 000006AE 000006AF 000006B0 000006B1 000006B2 000006B3 000006B4 000006B5 000006B6 000006B7 000006B8 000006B9 000006BA 000006BB 000006BC 000006BD 000006BE 000006BF 000006CO0 000006D0 000006DD 000006DE 000006DF 000006E0 000006E1 000006E2 000006E3 000006E4 000006E5 000006E6 000006E7 000006E8 000006E9 000006EA 000006EB 000006EC 000006F1 00000700 0000071E 0000071F 00000720 0000073E 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 Freescale Semiconductor Preliminary RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM
57. TS the other end to ground e Clip pins 3 4 5 6 of J8 to provide clearance for the DAA high voltage section of the daughter card The first connection connects the ring signal from the DAA to a counter enabling ring detection functionality The second connection connects a GPIO for flow control To avoid noise induced glitches on the flow control signal a small capacitor 39pF should connect the RTS signal to ground The Low Cost Freescale Modem Demonstration Kit available for evaluation upon reservation contains an EVM factory modified as specified previously The kit also includes documentation as well as the LCMDC and required cables System Specification and Design Rev 0 Freescale Semiconductor 2 7 Preliminary 2 4 1 Pulse Width Modulation Telephony Base Band Transmission The signal to be transmitted over the phone line is developed first as a PWM signal its duty cycle is the analog of the signal value This signal is then filtered to produce a real analog signal in the voice band In the hardware it is done as in the following description One of the PWM channels of the 56F8367 outputs a PWM signal on pin 130 Timer D Channel 1 TD1 This signal is available on the daughter card via pin 70 of the connector to the EVM This PWM is associated with the OutputTimer bean shown in Figures 3 10 through 3 12 This signal enters from the left of Figure 2 6 where it is limited to 4kHz by a 4th order active low pass filter The fi
58. Telco Plus gu p S Switch to Telco Line Controller Emulator Connections Figure 2 5 Modem Test Set up The external test equipment consists of two types that connected to the RJ11 telco jack of the soft modem and that connected to a DB9 async serial port on the EVM The telco jack is connected to equipment that simulates the USA average Public Switched Telephone Network PSTN connection to an off the shelf modem a Hayes Accura V 92 modem This PSTN simulation equipment consists of the TAS Series ll Plus unit and the TAS Model 240 unit 2 3 1 Terminal Emulation One Terminal Emulation One runs HyperTerminal on a PC at 2400 BPS 8 bits data no parity 1 stop bit on a communication port It runs a binary file transfer using one of the protocols included with HyperTerminal It is connected to a Hayes Accura modem where the AT command set is used to directly control the modem 2 3 2 Terminal Emulation Two Terminal Emulation Two is a HyperTerminal session at 9600 baud used to control the TAS Series II Plus unit This unit is programmed to simulate USA average lines Low Cost Soft Modem Designer Reference Manual Rev 0 2 6 Freescale Semiconductor Preliminary Hardware Implementation Set up and Operation 2 3 3 Terminal Emulation Three Terminal Emulation Three controls the TAS Model 240 which for these tests supplies NULL line 2 3 4 Terminal Emulation Four Terminal Emulation Four is HyperTerminal on a PC at 2400
59. YMODEM or ZMODEM binary file transfer protocols with HyperTerminal Processor Expert Bean Utilization in the Soft Modem Rev 0 Freescale Semiconductor Preliminary dal xl Bean therm Visibility Help gt Peripheral Initialization gt Properties Methods Events Comment Bean name LT51 Output PIN OutPin ei gt Inverted value E Initialization Init value BASIL ADVANCED EXPERT Bean Level High Lewe 4 S SES Dean thers Visibility Help lt gt Peripheral Initialization gt Properties Methods Events Comment Bean name Inhr Fin for 10 GRPIODE Tv i AT GPIOD6 T0 Sieg A no pull resistor no open drain Output v etm ee Ee E d Fem x a Optimization for Jee Xy BASIC ADVANCED EXPERT Bean Level High Level Bean E Figure 3 42 CTST 56F8357EVM LED Yellow2 Properties Note the right angle bracket on the Output PIN on the top element of Figure 3 42 which indicates that this bean encapulates another bean By clicking on the right angle bracket a second screen is presented shown in the lower element of Figure 3 42 and displays the actual pin used for the Clear to Send signal sent to the PC serial port This bean also toggles an LED so the user can see when flow control is actually being relied on This On initial value really means that flow is restricted initially Low Cost Soft Modem Designer Reference Manual Rev 0
60. ass filter could be 3600Hz rather than 4000Hz However any resultant artifacts are out of the signal band but within the required channel band and should not contribute to noise Thus 4000Hz is a good figure to use Low Cost Soft Modem Designer Reference Manual Rev 0 3 10 Freescale Semiconductor Preliminary OutputTimer Init TMR Bean A c utputTimer MADI TM Dean name Device Settings d i Clock settings HI Primary source Ll Primary source prescaler IP BUS clock E Secondary source Secondary source Operation mode 4 k k k 4 4 counter input pin Count made Count ance count repeatedly Count length count till compare then reinitialize Count direction p Master made Disabled k External UEL Al force Disabled h Forced UFLSG value Disabled k Force OFLAG output Output enable Output polarity nput polarity Lie h E Compare load control 1 Enabled y y E Compare load control 2 Enabled yY Dr interrupts ie isabled Oh je eg Par D Ir interupt NTT MRD INT_TMRD Timer compare interupt Disabled y Timer overflow intemupt Disabled nput edge interrupt isabled Timer compare 1 interrupt isabled k k k nabled medium priority Output Timerlnts egisters v DU D Initialization Call Init method na Enable peripheral clock Figure 3 10 OutputTimer lInit TMR Properties zm l L ss Ge In
61. atiissues the modem test fixture model and version number e atq1 puts the AT command set into quiet mode where it operates without responding e atq0 undoes the atq command e atz performs a soft reset of the soft modem which hangs up the phone and frees RAM resources System Specification and Design Rev 0 Freescale Semiconductor 2 5 Preliminary e at 0 puts the modem into V 21 mode where it will attempt to force all subsequent connections a modem soft reset is also performed e at 2 puts the modem into V 22 V 22bis mode where the modem will attempt to force all subsequent connections a modem soft reset is also performed The online data state of the test fixture is attained with the industry standard escape sequence consisting of a delay period of three seconds of no traffic on the serial test channel three plus characters and another three seconds of no activity on the serial test channel Connect messages are issued indicating the line speed The serial test channel operates at a fixed 2400 baud Characters are buffered into the test fixture for transmission and reception to and from the test fixture queues Terminal Terminal Terminal Terminal Emulation Emulation Emulation Emulation 1 2 3 4 Serial 2400 Serial 9600 Serial 9600 Control Control Serial 2400 Hayes TAS TAS Accura Series Model 240 V 92
62. dmmem asm txl5lctr v22bis txmammem asm txl52ctr v22bis txmammem asm txlolctr v22bis txmadmmem asm txlo2ctr v22bis txmammem asm txl72ctr v22bis txmadmmem asm txl82ctr v22bis txmammem asm mdm flg v22bis txmdmmem asm gt flg v22bis txmdmmem asm ccitt flg v22bis txmdmmem asm tx ans flg v22bis txmdmmem asm tx rxl6 v22bis txmdmmem asm atone ptr v22bis txmdmmem asm tx data v22bis txmdmmem asm tx out v22bis txmdmmem asm Ftx out v22bis txmdmmem asm tx quad v22bis txmdmmem asm Ival v22bis txmdmmem asm Qval v22bis txmdmmem asm tx scr buf v22bis txmdmmem asm tx scr buf l v22bis txmdmmem asm tx scr ctr v22bis txmdmmem asm gtamp v22bis txmdmmem asm gtone ptr v22bis txmdmmem asm tx fm buf v22bis txmdmmem asm tx fm coef v22bis txmdmmem asm tx fm gt offset v22bis txmdmmem asm tx ctr v22bis txmdmmem asm tx tmp v22bis txmdmmem asm tmp flg v22bis txmdmmem asm tx st chg v22bis txmdmmem asm TxO v22bis txmdmmem asm TIKO l v22bis txmdmmem asm TxO 2 v22bis txmdmmem asm TxO 3 v22bis txmdmmem asm TxO 4 v22bis txmdmmem asm TxO 5 v22bis txmdmmem asm StOl v22bis txmdmmem asm StOl l v22bis txmdmmem asm StOl 2 v22bis txmdmmem StOl 3 v22bis txmdmmem StOl 4 v22bis txmdmmem StOl 5 v22bis txmdmmem asm StO2 v22bis txmdmmem asm asm asm asm Low Cost Soft Modem Designer Reference Manual Rev 0 Freescale Semiconductor Preliminary 00000073 00000074 00000075 00000076 00
63. dmmem asm RN BITS BAUD v22bis rxmdmmem asm TN BITS BAUD v22bis rxmdmmem asm T401 VALUE v22bis rxmdmmem asm T401B VALUE v22bis rxmdmmem asm T403 VALUE v22bis rxmdmmem asm LASTDP v22bis rxmdmmem asm WRAP v22bis rxmdmmem asm BBUFPTR v22bis rxmdmmem asm rx data v22bis rxmdmmem asm m m Frx data v22bis rxmdmmem asm NOISE v22bis rxmdmmem asm RETCNT RM v22bis rxmdmmem asm speed v22bis rxmdmmem asm ICOEFF v22bis rxmdmmem asm BPF PTR v22bis rxmdmmem asm templ v22bis rxmdmmem asm temp2 v22bis rxmdmmem asm mod tol offset v22bis rxmdmmem asm Low Cost Soft Modem Designer Reference Manual Rev 0 Freescale Semiconductor Preliminary 00000795 00000796 00000797 00000798 00000799 0000079A 0000079B 0000079C 0000079D 0000079E 0000079F 000007A0 000007A1 000007A2 000007A3 000007A4 000007A5 000007A6 000007A7 000007A8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM Memory Utilization on the 56F8357 data data data data data data data data data data data data data data data data data data data TRAINING v22bis rxmdmmem asm IFBANK v22bis rxmdmmem asm IBCNT v22bis r
64. e SwitchMatixO Filter frequency kHz 234 375 BASIC ADVANCED EXPERT Bean Level Low Level Bean E Figure 3 25 RingDetect PulseAccumulator Properties n Bean Inspector HingDietect PulseAccumulatar Bean tems Visibility Help lt gt Penpheral Initialisatian gt Properties Methods Events Comment Bl Enable generate code Hl Disable generate code E nableE vent DisableE vent ResetCounter generate code ell ounter GetCounter alue setlompare Set Compare Getlomparel Value Getlompare alue ConnectPin BASIC ADVANCED EXPERT Bean Level Low Level E 4 Figure 3 26 RingDetect PulseAccumulator Methods Processor Expert Bean Utilization in the Soft Modem Rev 0 Freescale Semiconductor 3 21 Preliminary Bean Inspector HingD etectPulseAccumulatar 210 xl Bean there Visibility Help lt gt Peripheral Initialization gt Properties Methods Events Comment W BeforeNewSpeed cc don tgenerate code v5 H AfterNewSpeed don t generate code v5 E n verflow dontgenerste code 5 E nEnd dart generate code S nComparel dant generate code E OnCompare dan t generate cade BASIC ADVANCED E PERT Bean Level Low Level Bean 4 Figure 3 27 RingDetect PulseAccumulator Events 3 10 OffHook BitlO Bean This bitlO is used to control the onhook offhook status of the DAA Never take the phone from the onhook to the offhook condition while the phone is ringing as this may damage t
65. ed interrupt Le Peripheral MisalignedLongwW ordlSR Allow duplicate ISR names Unassigned peripheral BASIC ADVANCED EXPERT Bean Level Peripheral Initialization Bean Figure 3 13 V1 InterruptVector Properties dl Bean Inspector YU Interrupt emio Bean Items Visibility Help gt Peripheral Initialization gt Properties Methods Events Comment This bean does not contain any method BASIC ADVANCED EXPFEHT Bean Level Peripheral Initialization Bean Figure 3 14 V1 InterruptVector Methods Processor Expert Bean Utilization in the Soft Modem Rev 0 Freescale Semiconductor 3 13 Preliminary Bean Inspector YI nterrupt ecim Bean Items Visibility Help lt gt Properties Methods Events Comment This bean does not contain any event Peripheral Initialization gt BASIC ADVANCED EXPERT Bean Level Peripheral Initialization Bean Figure 3 15 V1 InterruptVector Events This bean does not generate any place to put event code in Events c Instead it is up to the programmer to locate his ISR code 3 6 Mdm1 DSP_v22bis Bean This software bean generates modem code for the V22bis V 22 modem data pump Most of the code is written in optimized Assembly language It also generates the API in C Memory Management makes it possible to set up the modem on a per call basis Since V 21 rather than V 22bis may be in use it is useful to preserve this dynamic property When a V 21 call is on the
66. em c FmemProtect mem c FMergeFree mem c FSplitBlock mem c FSplitBlockRev mem c FmemInitializePool mem ci FmemExtendPool mem c FmemFree mem c FmemMalloc mem c FmemMallocAligned mem c FInitialize mem c FmemInitialize mem c FmemIsIM memtarget c FmemIsEM memtarget c FADI OnEbnd Events c ETenthoeolnt Ondnterrupcibvenbs o0 FASI OUEPTOS iBVOentesc FASI OnRxChar Events c FAS OnTxChar Events c Low Cost Soft Modem Designer Reference Manual Rev 0 Freescale Semiconductor Preliminary 00000F4B 00000F4C 00000F4D 00000F53 00000F59 00000FP5F 00000F65 00000F6B 00000F71 00000F78 00000F7F 00000F86 00000FE5 00000FF9 00001008 00001036 000010C6 000011BE 00001236 0000129A 00001823 000019D2 00001AE7 00001AFP2 00001B24 00001BSF 00001BE4 00001C20 00001C2F 00001C36 00001C3B 00001C67 00001CD8 00001D0A 00001DOD 00001DC5 00001EF8 O00001EPF 00001F51 00001F5E 00002018 00002024 00002024 00002024 00002033 00002033 00002033 00000001 00000001 00000006 00000006 00000006 00000006 00000006 00000006 00000007 00000007 00000007 0000005F 00000014 0000000F 0000002E 00000090 000000F 8 00000078 00000064 00000589 000001AF 00000115 0000000B 00000032 0000006B 00000055 0000003C 0000000F 00000007 00000005 0000002C 00000071 00000032 00000003 000000B8 00000133 00000007 00000052 0000000D 000000BA 0000000C 0000000F 00000000 0000000F 000000A5 000000A5 0000000
67. ent The contribution of the various lines to the tests are their phase maginitude responses These results are depicted in Figures 4 1 through 4 11 For the dynamic range test a null line was used The null line has a flat phase magnitude response The purpose of this test is to show the lowest input level to the modem at which it will function on a flat line The Hayes equipment was on the A equipment side the UUT on the B equipment side Since the V 22bis contains a built in scrambler modem BERT perfomance was measured as a function of the number of error characters that were received when no characters were being transmitted A test frame of 7 minutes or about 1 million bits was used for each test One synchronous bit error results in at least one asychronous character error because it is seen as a start bit The idle line condition is marking or 1 The following parameters were used to obtain SNR BERT raw data available on request from which these figures were graphed e R the level at the A equipment after passing from the modem transmitter through the Line to the TAS Series Il in dBm e R the signal level transmitted from the TAS Series 2 into the Line and hence to the modem RX on the A side e RR the level at the B equipment after passing from the modem TX thru the Line t to the TAS Series II e TR the signal level TX from the TAS Series ll central office into the Line and hence to the Modem RX on the B side e RL t
68. es layout and considerations in bringing a soft modem to market Appendix C Layout and Governmental Certifications discusses layout and necessary approvals for products using modem technology Preface Rev 0 Freescale Semiconductor Preliminary Conventions This document uses the following notational conventions Typeface Symbol yP ind Examples or Term Courier Code examples Process command for line flash Monospaced Type Italic Directory names and contains these core directories project names applications contains applications software calls functions CodeWarrior project 3des mop is statements procedures the pConfig argument routines arguments defined in the C header file aec h file names applications variables directives code snippets in text Bold Reference sources efer to the Targeting DSP56F83xx Platform paths manual emphasis See C Program Files Freescale help tuto rials Blue Text Linkable on line refer to Chapter 7 License Number Any number is considereda 3V positive value unless pre 10 ceded by a minus symbol to pgs signify a negative value ALL CAPITAL defines define INCLUDE STACK CHECK LETTERS defined constants Brackets Function keys by pressing function key F7 Quotation Returned messages the message Test Passed is displayed marks If unsuccessful for any reason it will return NU
69. etCalibration dont generate code 2 E ConnectPin dont generate code BASIC ADVANCED EXPERT Bean Level High Level Bean Figure 3 8 AD1 ADC Methods Processor Expert Bean Utilization in the Soft Modem Rev 0 Freescale Semiconductor Preliminary The ADC1 ADC Bean 3 9 ch Bean Inspector SADI iB X Bean thems Visibilty Help lt gt Peripheral Initialization gt Properties Methods Events Comment Event module name E BeloreMewSpeed don t generate cade BI AfterHewS peed don t generate code h E OnEnd generate cade h 2 1 OnHighLimit don t generate code Y OnLowLimit don t generate code O B OnZeroCrossing dontgenerate code O BASIC ADVANCED EXFERT Bean Level High Leve 4 Figure 3 9 AD1 ADC Events 3 4 OutputTimer Init TMR Bean This bean supplies the PWM signal which is converted to an analog output signal by the low pass filter then passed to the DAA and finally to the telephone circuit After the code is generated the duty cycle is manipulated with PESL commands The frequency remains constant as does the sampling rate for this output Most of the code runs with sampling rates of 7200 samples per second Only the call progress function runs at 8000 samples per second but since it does not output it does not use this bean Therefore this bean is always used to output 7200 samples per second in the soft modem This implies that the cutoff of the subsequent low p
70. ete schematics for the Low Cost Modem Daughter Card LCMDO are included in Appendix A Note The LCMDC is available for evaluation from the factory on request Low Cost Soft Modem Designer Reference Manual Rev 0 2 10 Freescale Semiconductor Preliminary Chapter 3 Processor Expert Bean Utilization in the Soft Modem Version 7 1 of Metrowerks CodeWarrior for the Freescale 56F8300 family was used to develop all of the code Much of the code was generated automatically after GUI selections were made from simple menus presented after the basic system s software hardware combinations building blocks were selected Processor Expert beans encapsulate these basic system blocks For the most part this project was simply the selection and configuration of these beans All of the beans are documented in this section so that the modem may be constructed directly from these beans together with the code which is supplied separately A bean has properties methods and events Once a bean is added to a project it must be configured in these three areas The complete list of properties methods and events is illustrated for each bean in the project along with a commentary on the bean s usage When Processor Expert is called upon to generate code it will use the configured beans to generate most of the code required for the soft modem The user written code that must be added to complete the project is documented in a separate document contact your F
71. he DAA circiuts The autoanswer feature of the soft modem assures that this will not happen 2 Bean Inspector UF Hook 00 Bean tems Visibility Help cz Peripheral Initialization gt Properties Methods Events Comment Bean name OffHook Pin for 10 GRIDER MISOU AIGPIGES MIO no pull resistor no open drain Output initialization int vale 0 o BASIE ADVANCED EXPERT Bean Level High Level Bean Figure 3 28 OffHook BitlO Properties Low Cost Soft Modem Designer Reference Manual Rev 0 3 22 Freescale Semiconductor Preliminary TenthSeclnt Timerint Bean Dean aaa 7 Bean Items Yizibiliby Help lt gt Peripheral Initialization gt Properties Methods Events Comment B GetDir ant generate code O E SeDi dant generate code B Getal anit generate code O E EIA generate code Wy Seal generate code Yy E Meqv al don t generate code E CannectPin don t generate code 4 ta GetR awal BASIC ADVANDED EAPERT Bean Level High Level Bean g Figure 3 29 OffHook BitlO Methods CirVal and SetVal are methods used to take the modem on and off the hook When onhook the modem is not connected to the phone line but when offhook it is connected This term again goes back to the antique telephone design gt Bean Inspector Utttookzbng Bean tems Visibility Help gt Ferpheral Initialization gt Properties Methods Events Comment This bean
72. he noise level in dBrn to convert to dBm subtract 90 noise was white over 5kHz C Message e Dir the signal direction affected by noise which is added as it leaves the TAS Series II into the line 1 L R and T initialized so that the AGC does not have to travel too far during AGC operations with the TAS Series II e IR LR RR TR measured after the AGC where reported complete AGCs have been performed The AGC feature of the TAS Series Il was used to align signal levels in the digital portion of the TAS Series Il In each of the tests shown in Figures 4 1 through 4 11 the units used were a Hayes Accura V 92 modem and the UUT which was the 56F8357EVM with the LCMDC Low Cost Soft Modem Designer Reference Manual Rev 0 4 2 Freescale Semiconductor Preliminary Bit Error Rate Test Results 4 2 Bit Error Rate Test Results In each of the lines tested the line impairment was present in both lines from the central office simulation and to the central office simulation This resulted in twice the dynamic range requirement imposed by using only one line impairment for one of the legs of the call As a result the IEA5 test shows the result of hitting the dynamic range limitation due to the cascaded shaping magnitude response vs frequency of two IEA5 lines in Figure 4 5 In the following figures the four lines are abbreviated in the legend and obtained as follows HAB Hayes modem calling UUT with noise in the A
73. hile the bean is in use due to the use of Memory Management n Bean Inspector TERMAR Ene Bean tems Visibility Help lt gt Ferpheral Initialization gt Properties Methods Events Comment Bean name TEG E Memory management Enabled Memory Management Library MEM el BASIC ADVANCED EXPERT Bean Level High Level E 4 Figure 3 37 TEL2 DTMFGenerate Properties Processor Expert Bean Utilization in the Soft Modem Rev 0 Freescale Semiconductor 3 27 Preliminary de Bean Inspector Ik zkrtkttengerote Bean ltems Visibility Help lt gt Peripheral Initialization gt Properties Methods Events Comment Wi dimfLreate generate cade ET dirnfl rit generate cade Z dim SetKes generate code E dtmfGenerate generate code E dtmfDestroy generate code BASIC ADVANCED EASFEHT Bean Level High Level E 4 Figure 3 38 TEL2 DTMFGenerate Methods SN Bean Inspector Ik zkttMtbenmprote Dean ltems Visibility Help lt gt Penpheral Initialization gt Properties Methods Events Comment This bean does nat contain any event BASIC ADVANCED EAPERT Bean Level High Level E 2 Figure 3 39 TEL2 DTMFGenerate Events 3 14 Mdm2 DSP v21 Modem Software Bean One of the two modem beans dropped into this project Mdm2 generates the V 21 modem data pump code This code does not do anything with answer tone or asynchronous characters In the case of V 21 ANS processing for receive
74. i d A Low Cost Soft Modem using the Freescale Digital Signal Controller Designer Reference Manual 56800E 16 bit Digital Signal Controllers DRM073 Rev 0 07 2005 freescale com gt fre escale semicon ductor A Low Cost Soft Modem using the Freescale Digital Signal Controller Designer Reference Manual To provide the most up to date information the revision of our documents on the World Wide Web will be the most current Your printed copy may be an earlier revision To verify that you have the latest information available refer to http www freescale com The following revision history table summarizes changes contained in this document For your convenience the page number designators have been linked to the appropriate location Revision History Revision Description Page Level H a 07 2005 o Tree 000 Initial release release TABLE OF CONTENTS Chapter 1 Introduction Chapter 2 System Specification and Design 2 1 The Soft Modem SystemConcept 2 1 2 2 Soft Modem Specification and Design 2 4 2 3 Test Harness Specification and Design 2 5 2 3 1 TerminalEmulationOne 2 6 2 3 2 Terminal Emulation TWO 2 6 PAR Terminal Emulation Three 2 7 2 34 Termi
75. ib text F8DummyFnl v22bis rx dscr asm rtlib text RXDESCRA4 v22bis rx dscr asm DULIDEOXLt EXDESOCRIO QVZZDIS rx dscr asm DLLIIDLext Xx dSsocriv22D158 rs Sera PLIID Ltext descr upd v22Dls rx dscr asm rtlib text F8DummyFnl v22bis rx eqerr asm rtlib text RAXBOBBR v22Di1Ss fx eqgerr asm EE eeh blb texL v2Z2DLS X eqert asm rtlib text F8DummyFnl v22bis rx eqfil asm ttLlibstext RXBOFLL v22Dbis tx eqrril asm PULA Text rtiiD textiv22Dae Tx egrtril asm rtlib text F8DummyFnl v22bis rx equpd asm rtlib text RXEQUD v22bis rx equpd asm rtlib text rtlib text v22bis rx equpd asri Low Cost Soft Modem Designer Reference Manual Rev 0 Freescale Semiconductor Preliminary 00002D32 00002D32 00002D32 00002D4D 00002D4D 00002D4D 00002D5E 00002D69 00002D89 00002D91 00002DAF 00002DC4 00002DCF 00002DDA 00002DF1 00002E07 00002E25 00002ES3F 00002E61 00002E9C 00002EEB 00002F0B 00002F16 00002P5D 00002F8C 00002FA8 00002FF72 00003010 0000303F 0000303E 0000303F 0000307E OOUDSIIB DODDSISC 0ODDSISC 0000313C 000031CD 000031CD 0000 SICD 000031EC 000031EC 000031EC 000031FB 0000 1 EB DUODDSIEB 00003221 00003221 0000001B 00000000 0000001B 000002FP72 00000000 000002FP72 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000FD 00000000 000000FD 0
76. ication and Design Figure 2 4 shows how the basic modem DTMF and call progress detection are implemented The DAA control signal ring detect signal flow control signal for testing only and the serial port for testing only are not shown The modem incorporates portions of the following standards as they apply to a soft modem V 25 V 21 V 22 V 22bis all implemented on the host controller The portions of these standards related to the DTE DCE interface are simply not required for a soft modem PWM and ADC peripherals on the DSC pass digital samples at 7200 samples per second SPS for the modems and DTMF generation software A sampling rate of 8000 SPS is used for the call progress software used to detect dial tone The smaller the sampling rate the less work for the processor and subsequently the less power used The rate of 7200 SPS is ideal for these modems Low Cost Soft Modem Designer Reference Manual Rev 0 2 4 Freescale Semiconductor Preliminary Test Harness Specification and Design aa Low pass Phone p Filter Line to gt PSTN Controller DAA 77 High Go Gain 8 Voltage Analog Offset s Signal Adjust Figure 2 4 Modem Analog Block Design 2 3 Test Harness Specification and Design The test harness for the soft modem application consists of some of the resources of the 56F8357 and some external test equipment depicted in Figure 2 5 The c
77. ich would sleep while it is waiting for IO to complete freeing and unlocking the CPU for other tasks 4 6 Peripheral Footprint The total resource utilization is summarized in Figure 4 13 This resource load meter is a convient feature of CodeWarrior with Processor Expert As the project is developed resource utilization is easily tracked as beans are added Resource Meter Figure 4 13 Soft Modem Peripheral Footprint The small percentage of peripherals used by the modem is depicted in Figure 4 14 This also shows how the beans are grapically associated with pins on the device Pins without such associations are free for use in other tasks Each bean has a unique grapic icon that is easily associated with the pins in Figure 4 14 Conclusion Rev 0 Freescale Semiconductor 4 37 Preliminary UCE BET Pace Ta Figure 4 14 Soft Modem Pin Utilization 4 7 Conclusions The soft modem developed is suitable for incorporation into commercial products requiring communication over the Public Switched Telephone Network PSTN at speeds up to 2400 bits per second A traditional telephone codec is not required in the design resulting in a one chip one core system capable of a complete mission including communications functions Both V 21 and V 22bis V 22 are supported The V 22bis falls back to V 22 when noise dictates The modem is easily added to projects developed for the Freescale 56F8300 family Low Cost Soft M
78. lib rtirb sag ln Oe Ei ETI Er TES EID ELI priv TIME rtlaib rtlrb CELI ELLID ytlib pcr EE GE rEliD ELLID DL ieu o rtirb rtlib St Lab rtlrb PEL ELLID ytixb rtl rola EE ELI BI EDI ECLA rtlirxb rtlib rtlib YELI rtliaib VELA EE rela EM Erlixb EIE text text text text text text Lext text Lext CERC Lext CORC text text est text text text Lext Lext text est Lext CERC text text text text text text Lext text est text Lext CEXE Lex Lext text text text Lext text Lext Lext Lext Lext Memory Utilization on the 56F8357 rLlIiD textiv22Dbis txmadmrni asm rtlib text v22bis asm V22BIS INIT v22bis asm F DummyFn1 v22bis asm V22BlS IX v22Dis asm V22BIS TX DLB v22bis V22BIS TX ALB v22bis V22BIS RX DLB v22bis V22BIS RX ALB v22D015 as5m V22BIS RX v22bis asm Etlrb btexcQ v22Dqms Initor asm INIT SP COMMON v22bis initsr asm F8DummyFnl v22bis initsr asm CLR RAM2 v22bi8S 1njtst asI INIT BEG AGC v22bis initsr asm INIT BEG v22DX1s8 1initsr asn CLEQ INIT v22bis initsr asm AGC JAM v22bis initsr asm F8 DummyFnl v22bis rx baud asm RXBAUD v22bis rx baud asm rtlib text v22bis rx baud asm rtlrb texct v22Dis rx bohk asu RX wait v22bis rx bchk asm F8 DummyFnl v22bis rx bchk asm RX cd v22bis rx bchk asm RX atusbl v22bis rx bchk asm RX usbl v22bis rx bcohk asm RX endusbl v22bis rx bchk asm RX slcall v22bis rx bchk asm RX
79. ltered signal is then passed on to the left of Figure 2 7 for level setting Figure 2 6 TD1 in to Active 4kHz 4th Order Filter to TP7 The ouput XMIT from Figure 2 6 is then passed to the XMIT input of a Cermetek CH 1837A DAA whose output level is set to 9dBm via adjustment of R18 R17 is not populated Low Cost Soft Modem Designer Reference Manual Rev 0 2 8 Freescale Semiconductor Preliminary Hardware Implementation Set up and Operation Divide by 1 58 0 5Vpp gt 0 316Vpp Max output of 10dBm XMIT 0 0V to 0 5Vpp R17 50K Divide by 1 58 Divider Option Figure 2 7 TP7 to Level Set to XMIT 2 4 2 Telephony Base Band Reception to Analog to Digital Converter Level adjustment and signal offset calibration are performed with the circuit shown in Figure 2 8 The REC signal is from the DAA the received telephony signal After level adjustment and offset adjustment the signal is passed directly to the MC56F8357 s ADC where it is sampled per the bean configuration shown in Figures 3 7 through 3 9 System Specification and Design Rev 0 Freescale Semiconductor 2 9 Preliminary Set Gain to X9 TPY TP10 R13 REC LM321 4 7K 4 S gt ANAG 9dBm to 50dBm Vref XC 0 355Vpp to 0 003Vpp do 40 355V 43 20V Centered around 9 0 003V gt 40 027V Centered around 1 6V R15 lt 7 50K Set Offset 1 60V C15 1 0uF 4 Figure 2 8 REC to Offset and Gain to ANA6 Compl
80. m IB v22bis rxmdmmem asm IBPTR v22bis rxmdmmem asm RXSB v22bis rxmdmmem asm RXRB v22bis rxmdmmem asm RXFPTR v22bis rxmdmmem asm Conclusion Rev 0 4 29 4 30 000005F1 000005F2 000005F3 000005F4 000005F5 0000060D 0000060E 0000060F 00000610 00000611 00000612 00000613 00000614 00000615 00000627 00000628 00000634 00000635 00000636 00000637 00000638 00000639 0000063A 0000063B 0000063C 0000063D 0000063E 0000063F 00000640 00000680 00000681 00000682 00000683 00000684 00000685 00000686 0000069E 0000069F 000006A0 000006A1 000006A2 000006A3 000006A4 000006A5 000006A6 000006A7 000006A8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX MEM RX M
81. mic range of the AGC If desired such limitation may be overcome by the addition of a hardware AGC circuit since the amplitude variation of a land line telephone circuit over time is not dramatic Modem performance curves indicate that the modem meets the performance standards required for V 22bis and V 21 operation Transfers of binary files millions of bits long were performed without incident 4 1 Test Set up 4 1 1 Routine File Transfer Testing To set up routine file transfer the TAS Series Il was configured with the script in Example 4 1 which depicts the average USA line Code Example 4 1 Routine File Transfer Testing fad s0591 90751 3 exch bal 1 file cseq usal EE 100 1 230 025100 t 230 ad i3 gd w17 x00 y16 z00 Eli 1320 817 nljggb20 60500 m0 3 1 y17 JES 2 250 pel Jpj 10364 1200 w0 s1 The Hayes modem was simply configured with factory defaults ATZ For 300 baud testing the Hayes modem was limited to 300 baud with the following command ATS37 3 which configured the modem for V 21 The Freescale Low Cost Soft Modem the unit under test UUT was configured for V 21 with the AT command Conclusion Rev 0 Freescale Semiconductor 4 1 Preliminary 4 1 2 Bit Error Rate Testing All Bit Error Rate Test BERT runs were performed at 2400 bits per second V 22bis mode For bit error rate tests on the several standard line configurations white noise was used for the impairm
82. mpt AA INT SCIO Det ul iIntemupt RD priority medium priority 1 Interrupt RxD preserve registers ie J INT SCIO T Empty Interrupt TxD priority medium priority 1 INT_SCIO_RxE tron Interrupt Error priority medium priority 1 INT SCIO Tsldle Interrupt Idle priority medium priority 1 E Handshake E Settings p none Width 8 bits wiStepbt a vr E SCI output mde omg d E Receiver ei Red BPIDEL Dat A GPIDET1 R DO wiRxDpnsand AA E Transmitter Enabled Y wel Tal o gPIBEB Teil A GPIDEO TOO TxD pin signal AA high 2400 758 baud Not inverted E Initialization EO ni E Eee ree e E CPU clock speed selection EN This bean is enabled This bean is disabled This bean is disabled Figure 3 22 AST AsynchroSerial Properties Notice that block not character input output is used All interrupts are at the same priority throught the Low Cost Soft Modem Designer Reference Manual Rev 0 Freescale Semiconductor Preliminary AS1 AsynchroSerial Bean Properties Methods Events Comment B Enable don t generate code D Disable don t generate code X3 Hl EnableEvent don t generate code D B DisableEvent don t generate code D g RecvCha generate code Xy g SendChar generate code Xy 1 RecvBlock generate code Xy BI SendBlock generate code O 1 Clear generate code Xy 1 CleaTsBuf generate code Xy CharsInHxBuf don t generate code 3 1 GetCharsinAxBut generate code
83. n 0120 191014 or 81 3 5437 9125 support japan freescale com Asia Pacific Freescale Semiconductor Hong Kong Ltd Technical Information Center 2 Dai King Street Tai Po Industrial Estate Tai Po N T Hong Kong 800 2666 8080 support asia freescale com For Literature Requests Only Freescale Semiconductor Literature Distribution Center P O Box 5405 Denver Colorado 80217 1 800 441 2447 or 303 675 2140 Fax 303 675 2150 LDCForFreescaleSemiconductor hibbertgroup com Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document Freescale Semiconductor reserves the right to make changes without further notice to any products herein Freescale Semiconductor makes no warranty representation or guarantee regarding the suitability of its products for any particular purpose nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit and specifically disclaims any and all liability including without limitation consequential or incidental damages Typical parameters that may be provided in Freescale Semiconductor data sheets and or specifications can and do vary in different applications and actual performance may vary over
84. nal Emulation Four 2 7 2 4 Hardware Implementation Set up and Operation 2 7 2 4 1 Pulse Width Modulation Telephony Base Band Transmission 2 8 2 4 2 Telephony Base Band Reception to Analog to Digital Converter 2 9 Chapter 3 Processor Expert Bean Utilization in the Soft Modem Zu WE e WT ie oe ee Oe ee ed ees 3 2 3 2 MEN Ler MEMBean 3 4 3 3 o TheADi ADCBean 3 7 3 4 X OutputTimer Init TMRBean 3 10 35 IVtinterruptvectorBean 3 12 AD Mdmi DSP v22bisBean 3 14 3 7 Inputlimerinit TMRBean 3 15 3 8 AS1 AsynchroSerial Bean 3 17 3 9 RingDetect PulseAccumulatorBean 3 20 3 10 OffHook BitlO Bean 3 22 3 41 TenthSeclnt iTimerinttBean 3 23 3 12 TEL1I CallProgressToneDetectionBean 3 25 3 13 TEL2 DTMFGenerateBean 3 27 3 14 Mdm2 DSP v21 Modem SoftwareBean 3 28 3 15 CTS1 56F8357EVM LED Yellow2 Bean
85. nt option is to store the constants in pROM then copy them to KRAM This allows the entire application to be stored in nonvolatile memory with minimal use of scarce resources explaining the pROM xRAM target choice One of the important tabs of the CPU bean is the build options tab Note the dynamic memory allocation at the bottom of the build options list This allows most of the memory for the soft modem to be deallocated when the soft modem is not in use Low Cost Soft Modem Designer Reference Manual Rev 0 3 2 Freescale Semiconductor Preliminary CPU Bean Oscillator frequency MHz e BMH 0 E Initialize unused 170 pins noinitializstion d CO Internal peripherals SIM module d E Peripheral clocks E Allocated interrupts E Interrupt WA Foie INT Sa non maskable EjIntemupt Swi Enabled INT Sw non maskable interrupt Sw2 Enabled INT Sw2 non maskable E Interrupt Sw3 Enabled INT Sw3 non maskable EjIntemupt LP Enabled INT LP EjIntemupt PLL Enabled INT PLL E Interrupt Illegal Instruction Enabled INT Illegal Instruction non maskable E Interrupt HW Stack Overflow Enabled INT HwStack verlo non maskable E Enabled speed modes El High speed mode Enabed a System clock IP Bus 500 LO MHz HILL clock Enabled Y Xtal ED 4 Figure 3 2 Cpu 56F8357 Properties
86. odem Designer Reference Manual Rev 0 4 38 Freescale Semiconductor Preliminary Appendix A Schematics Schematics Rev 0 Freescale Semiconductor Appendix A 1 Preliminary ZN JequunwN Na 207 jueuunoo INOV ONE HOLIO3NNOO quvO YHSLHDNVG TVvH3HdlHdid 9H H 9dL Sdl tdl 0LSZ Lp 08t XV3 127 968 ZLS TE TEEN v8cag euozuy edue i adi peoy 1011131583 0012 iO CIS od or uoneiedo 4ej 041u02 jeubis je big ty ei 1030euuoj 3104 Tersydtz9q 1 446neq 9VNV R R KR R 4n10 0 anko anga gt Q31 MOTI3A Qq31N33u59 YLO 69 229 z zaji LOS MWA antog N ONIY c joi ON ON 0 7 OLY z cu T dl m LOL e AE CT AO Gi OGAOL nlo nL n jniO 0 idk nz oad lt lt ON ON lad lt lt ON ONE ON ON ON Idi ON ON o MN GND aec wee GND ONS age ON ON RS DE DES ERN DEE SE Preliminary Freescale Semiconductor Low Cost Soft Modem Designer Reference Manual Rev 0 Appendix A 2 a a jo z 1leeus ubiseq COOSA ueufiseq S002 ta aunt Aepsen ejeq g NOY NSTOQWO swa SP vvd OL JOVAYALNI 93909 S NVIN HOOd HHL OLSc ELv 085 vi 9422 968 ZLS v8csg euozuy Sdwa peog OU 1523 00Lc uomnejedo 48j 04juo2 jeubis jeyibig NE 8E HE o Ep2sooJJ LIAX X Ugpor jo mdyo xen ddagte o lt d ng pr
87. oft Modem System 2 4 2 4 Modem Analog Block Design 2 5 2 5 Modem Test Set UuP 2 6 2 6 TD1 in to Active 4kHz 4th Order Filter to TP7 2 8 2 7 TP toLevelSettoKMIT 2 9 2 8 REC to Offset and Gain to ANA6 2 10 3 1 Modem Project Bean List 3 2 3 2 Cpu 56F8357 Properties 3 3 3 3 Cpu 56F8357 on sdm pROM kRAMtarget 3 4 3 4 MEM1 DSP MEMProperties 3 5 3 5 MEMT DSE MEMMethods 3 6 3 6 MEMI DSP MEMEvents 3 7 3 7 AD1 ADC Properties 3 8 3 8 KUUA KUNA IIIA AAAH OE EAE REESE KO 3 9 3 9 ADI ADC Events 3 10 3 10 OutputTimer Init TMR Properties 3 11 3 11 OutputTimer Init TMR Methods 3 12 3 12 OutputTimer iInit TMREvents 3 12 3 13 IV1 InterruptVector Properties 3 13 3 14 IV1 InterruptVector Methods 3 13 3 15
88. omplex signaling between the DTE and DCE as to what respective states they might have been in With the advent of the AT command set in the 1980 s many of these signals fell into disuse and the 25 pin DTE DCE interface is now more typically found to be a nine pin interface The difference is made up in providing a complex set of commands and responses that attempt to keep the DTE and DCE in sync depicted in Figure 2 1 System Specification and Design Rev 0 Freescale Semiconductor 2 1 Preliminary Application with program that talks to modem Modem Phone line Figure 2 1 Second Millennium Modem Architecture In the 1990 s this interface all but disappeared when a modem designed only for Windows was developed This spoofed the serial communications to the DCE actually performing much of the modem function on the host processor Only digital signal processing was done on another processor closely coupled to the PC on its bus The DTE and DCE still were two intelligent processors but the old serial interface was gone When the DTE and DCE were merged into one processor around the turn of the century the need for such a cable or even bus vanished as did the need for a serial port This is in fact how modems in PCs are implemented today The host processor is powerful enough to implement the modem algorithms and does away with the DCE as a separate intelligent device All that is needed is a way to send and receive
89. on evaluation purposes Processor Expert Bean Utilization in the Soft Modem Rev 0 Freescale Semiconductor 3 1 Preliminary EHS CPUs x dl Cpu 56F8357 z dal Cpu BEFB357 X dd Cpu 56F8357 EHS Beans E MEMIDSe MEM YADAI i m LIutputTimer Init TB Lu E WA nterupwector tb AE Mdm DSP_y22bis i d InputTimer nit ThA d S 457 AsunchroS ental 4 m RingD etect Pules amp ccumulator Deck DO tt A m TenthSeclnt Timerlnt 4 g TEL1 CallProgress ToneD etection Sei TEL 0TMFGenerate z AE Mc DP vii TEN rn LTS1 5BF835rEVM LED Yellowe Led Figure 3 1 Modem Project Bean List 3 1 CPU Bean There are three CPUs listed in the CPUs folder in Figure 3 1 The relevant CPU is checked This is the one used in the active target sdm pROM xRAM or small memory model wherein the constants in data xRAM are initialized from program Flash pROM The CPU bean has the default settings Double clicking on the CPU bean shows its properties as shown in Figure 3 3 It s easy to replace this bean with one for the other EVM s in this family such as the 56F8367EVM which contain more system resources The pROM xRAM target was chosen to develop this modem because there is plenty of pROM so the constants that must be used to initialize part of RAM are stored first in pROM The alternative would be to store them in xROM or to have the debugger run the application out of RAM In order for the board to run without the debugger the most intellige
90. ontroller and the telco connection to the controller are the only parts of this figure that are not purely test equipment The resources of the 56F8357 device used for testing consist of an asynchronous serial comminication port and associated beans and software This port is used to support an AT command set which is used only for testing it does not comprise an essential element of the soft modem design Data and commands are alternately communicated thru this test channel Both online and offline commands are supported Online commands may be issued after the escape sequence puts the test fixture into the online command state Offline commands may be issued when no connection is in progress Online commands supported are e ato which returns to online data state e ath which hangs up the phone e atz which hangs up the phone and performs a soft reset of the modem e escape sequence with three second pre and post guard times Offline commands supported are e ata causes the modem to go offhook and answer It is not necessary to use this command since the test fixture will automatically answer two seconds after the first ring e atd lt string gt sets the number to dial string When this string is set to the nonempty condition the soft modem dials that number in the string and attempts a connection A production program interfacing to the soft modem would simply set this string to effect a dialed connection from the soft modem e
91. ormance documented in this note C 2 Design for Agency Approvals The final step in bringing a product containing a soft modem to market involves obtaining the approval of and certification by the various government agencies regulating the sale of products that are to be connected to the PSTN In some countries the same agency that regulates the post office also regulates the modem product industry In the United States FCC part 15 and part 68 should be met and UL approval of any electrical appliance is advised The government is concerned with several factors e The ability of the equipment to operate in the presense of radio frequency interference Governments dislike receiving numerous complaints about radio frequency interference The more a product can be exposed to radio frequency interference without faltering the better the government s view of the product The amount of radio frequency interference produced by the product Certain frequencies are used by government agencies these frequecies are monitored most closely for compliance For example 75 megahertz is allocated to aeronautical radionavigation If a product broadcasts on that frequency planes could be endangered e The effect of high voltages from tip and ring including lightning strikes on the product s viability and safety In the interest of consumer safety and product salability the product should not be destroyed and any damage should be limited when lightning or o
92. perties Methods Events Comment T Enable generate code O T Disable generate God O EnableEvent don t generate code v5 E DisableEvent don t generate code O B SetPeriodMode don t generate code E SetPenodTickslE don t generate code B SetPeriodTicks32 don t generate code B SetPeriodUS dant generate code B SetPeriodMS don t generate code B SetPeriodSec dant generate code E SetPeriodReal dant generate code E SetFregHz don t generate code E SetFregkHz don t generate code E SetFreqMHz BASIC ADVANCED EXPERT Bean Level High Level Bear 2 Figure 3 32 TenthSecint Timerint Methods gt Bean Inspector T atbSeein 50 Bean tems Visibility Help lt gt Fernpheral Initialisatian gt Properties Methods Events Comment E BeforeNewSpeed don t generate code DA B AfterNewSpeed dontgenerste code DA amp Oninterrupt generate cade Event procedure name T enthSeclnt Dnlnterrupt 2 BASIC 4DVANCED ESPERT Bean Level High Level Bean 2 p p en E gor p opo qp NR Figure 3 33 TenthSecint Timerint Events 3 12 TELT1 CallProgressToneDetection Bean This software bean generates the Call Progress Tone Detection code used to detect dial tone Note the available methods shown in Figure 3 35 When moused over in the project window the method s documentation pops up Processor Expert Bean Utilization in the Soft Modem Rev 0 Freescale Semiconductor 3 25 Preliminary
93. r Inc 2005 All rights reserved DRMO73 Rev 0 07 2005
94. r 1 1 Preliminary Low Cost Soft Modem Designer Reference Manual Rev 0 1 2 Freescale Semiconductor Preliminary The Soft Modem System Concept Chapter 2 System Specification and Design This section describes the system used to implement the soft modem as well as the motivation for such a system The system specification is followed by a block diagram and discussion of implementation 2 1 The Soft Modem System Concept A soft modem is one that can be used to modulate demodulate data to be sent serially over an analog channel directly without the need for a serial data path to another entity to supply data or control signals It includes a simple way to dial phone numbers detect ringing signals control the hook relay of the DAA input and output analog data connect with remote modems and communicate with them Complete control of the modem is embedded within the same host computer performing other system functions such as alarm monitoring or motion control A soft modem is the enabling ingredient that allows combining the DTE DCE into one entity This differs from traditional communication systems which are broken into two parts a DTE or data terminal equipment and a DCE or data communication equipment Traditionally these equipments communicated via a 25 pin serial interface comprised of such signals as are described in the V 14 V 25 and V 22bis and many other specifications These signals were used for flow control and c
95. reescale representative Processor Expert simplified the construction of the software by encapsulating peripheral support into beans For example there is a bean for an asynchronous serial port used to form a test channel over which the AT commands were interfaced to the modem The properties include such items as baud rate chosen to be 2400 baud Another property is used to associate the bean with a particular set of pins on the device Methods are a way to interface the main program to use the peripheral Code for methods can be drag and dropped into the program Events of the bean facilitate installing user defined functions to be performed by an Interrupt Service Routine ISR used with the bean Modem data pumps are also added as beans The software project is formed by first selecting blank Processor Expert Stationery then adding and configuring the beans User written software programs are added as a final step Pop up help on the methods for using the beans along with the drag and drop feature makes using the processor simple The bean name given at the time the bean is added to a project by the designer is followed a colon then the generic bean type The soft modem software project consists of the beans depicted in Figure 3 1 The soft modem has been implemented on several members of the DSC family including the 56F8323 56F 846 56F 8357 as in this note and 56F8367 as shipped with complete project and source code for demonstrati
96. s mounted requires special layout attention The layout should minimize the area of current loops or enclose them in shielding and isolate the high voltage section of the DAA on a one or two layer section of the board well fused from the tip and ring and located at the extreme boundary of the product The current loop area is minimized by running the return wire from any circuit next to or above or below the source wire for the circuit It is also good to surround these wires or traces with ground plane on as many sides as possible NOTE This reference design has not been examined by government authorities for compliance but is only used on equipment that simulates the PSTN Any products developed to be sold to the public would require the respective government agency approvals prior to sale in the respective country and use on the PSTN Low Cost Soft Modem Designer Reference Manual Rev 0 Appendix C 2 Freescale Semiconductor Preliminary INDEX Numerics 56F8300 Peripheral User Manual Preface vii 56F8367 Evaluation Module User Manual Preface vii A AGC Automatic Gain Control Preface vii Automatic Gain Control Preface vii B BERT Bit Error Rate Test Preface vii Bit Error Rate Test Preface vii C CH1837A 7F 8A Data Access Arrangement Module Data Sheet V 34bis High Speed DAA Module Preface vii ITU T Recommendation V 21 Preface vii ITU T Recommendation V 22bis Preface vii ITU T Recommendation V 25 Preface vii
97. ther high voltage sources come down the tip and ring from the phone pole The idea is to limit the damage to the parts of the product called the Data Access Arrangement DAA when lightning strikes or when power lines become tangled with phone lines The ring voltage itself is considered high voltage and dangerous e The propensity of the product to become a nuisance by repeatedly calling wrong numbers in the middle of the night to private homes With the advent of the FAX machine and computer bulletin board a disturbing trend began People were called repeatedly by modems or FAX machines Some countries require blacklisting certain numbers and limiting the number of times other numbers may be called per unit time In order to comply with this requirement firmware must be tested by government agencies or their designated agents Layout and Governmental Certifications Rev 0 Freescale Semiconductor Appendix C 1 Preliminary One of the factors simply requires software that cannot automatically and repeatedly dial phone numbers The radio frequency issues are dealt with by shielding u metal and or minimizing current loop size Current loop minimization is a layout technique where the open area of a current loop is minimized The other factors can be dealt with by selecting a DAA that meets the standards of multiple governments such as the one selected for this design Additionally the area of the product s PC board where this DAA device i
98. time All operating parameters including Typicals must be validated for each customer application by customer s technical experts Freescale Semiconductor does not convey any license under its patent rights nor the rights of others Freescale Semiconductor products are not designed intended or authorized for use as components in systems intended for surgical implant into the body or other applications intended to support or sustain life or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application Buyer shall indemnify and hold Freescale Semiconductor and its officers employees subsidiaries affiliates and distributors harmless against all claims costs damages and expenses and reasonable attorney fees arising out of directly or indirectly any claim of personal injury or death associated with such unintended or unauthorized use even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part freescale semiconductor Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc All other product or service names are the property of their respective owners This product incorporates SuperFlash technology licensed from SST Freescale Semiconducto
99. to B transmission path e HBA Hayes modem calling UUT with noise in the B to A transmission path e AB UUT calling Hayes modem with noise in the A to B transmission path e BA UUT calling Hayes modem with noise in the B to A transmission path In each test from Figure 4 1 through Figure 4 11 the line specified such as EIA1 was used for both directions of tranmission Conclusion Rev 0 Freescale Semiconductor 4 3 Preliminary log 10 BER EIA1 e HAB HBA AB BA SNR dB 4 4 Figure 4 1 EIA1 Line Low Cost Soft Modem Designer Reference Manual Rev 0 Freescale Semiconductor Preliminary MP Bit Error Rate Test Results Figure 4 2 demonstrates that the modem is easily used on EIA2 lines down to a SNR of 11 2 The Hayes modem tested against has nearly 100dB of dynamic range compared to the ENOB of 8 or 9dB present in the ADC of the soft modem reference design EIA2 e HBA AB Oo Oo BA SNR dB Figure 4 2 EIA2 Line Conclusion Rev 0 Freescale Semiconductor Preliminary 4 5 1P The pair of EIA3 lines is usable down to 12dB SNR EIA3 D 0 HAB LLI M HBA AB Oo 9 lt BA SNR dB Figure 4 3 EIA3 Line Low Cost Soft Modem Designer Reference Manual Rev 0 4 6 Freescale Semiconductor Preliminary 1P Bit Error Rate Test Results EIA4 is usable down to 12dB SNR
100. tx state asm FeDummyFni v22bis tx state asm tx Il v22brs tx state tx T2 v22Dnrs Cx State tx Lo v22019 tx State tx I4 v22Dis tx state tx Io v22019 tx State asm tx 16 l v22bas tx state tx 16 2 V22D189 Ux Stace m tx 17 2 v22bis tx state asm tx I8 2 v220m59 tx State asm F8DummyFnl v22bis txmdmini asm TX MDM INIT v22bis txmdmini asm asm asm asm asm asm sas Low Cost Soft Modem Designer Reference Manual Rev 0 Freescale Semiconductor Preliminary 000022D6 000023BC 000023BC 000023BC 0000241E 0000241E 0000241E 00002421 00002421 00002421 00002424 00002424 00002424 000024A4 000024C7 000024DD 00002551 000025E6 00002617 00002617 00002617 000026D0 000026D0 000026D0 000026DC 000026EC 000026F5 0000271C 00002729 0000275D 0000277A 000027 796 000027A9 000027E2 00002838 0000285C 00002868 00002884 0000288D 0000289D 000028DA 000028FE 00002909 00002923 00002925 00002926 00002947 000000E6 00000068 00000000 00000068 00000000 00000000 00000000 00000000 00000000 00000000 000001F3 00000000 000001F3 00000000 00000000 00000000 00000000 00000000 000000B9 00000000 000000B9 000002DA 00000000 000002DA 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 Freescale Semiconductor Preliminary PUL rtlib rt
101. uctor Preliminary Bean Inspector MEMI 05g Bean ltems Visibility Help lt gt Peripheral Initialization gt Properties Methods Events Comment Bean name MEM Internal dynamic memory size in bytes 800 E ROM RAM Areas E MemoryArea E ROM RAM Area Enabled Name Interrupts Qualifier mory real E ROM RAM Area L RRRA EET SE Hi H k In i tli E nabled ode Hj B E MemonpArea2 E R M RAM Area Enabled x Data Size coo E E Memorra3 1 EJ ROM RAM Area Enabled D Name x DynMem coo 00 H Qualifier INTERNAL BASIC ADVANCED EXPERT Bean Level High Le 4 Figure 3 4 MEM1 DSP_MEM Properties 1 Ww ka dE m m za IR i ma E E L iii Processor Expert Bean Utilization in the Soft Modem Rev 0 MEM1 DSP_MEM Bean gt Bean Inspector MBIO SHEHERA Bean ltems Visibility Help lt gt Peripheral Initialization gt Properties Methods Events Comment ET mermballacE M generate code Wii memballaclM generate code membFresE M enerate cade IC enerate code enerate code enerate code enerate code enerate code enerate code enerate code enerate code enerate code enerate code enerate code enerate code enerate code enerate code enerate code enerate code enerate code enerate code E memiwriteP16 generate code E memwriteP32 generate code BASIC A
102. umulator Bean Ring detect uses the Quadrature Decoder hardware to preprocess the ring signal reducing the MIP load to process it and filtering out spurious ring signals Early telephones used a human crank powered generator to generate the high voltage ring signal Generators and motors are really the same except that one is driven mechanically and the other electrically That is why the Quadrature Decoder normally used to monitor motors is an ideal peripheral to count and filter the ring pulses Note the filtered input property highlighted in Figure 3 25 which cuts down on CPU interrupts by a factor of 255 It also gives a very robust ring detection filtering out events such as tinkle which occurs when an extension on the line is dialed with pulse dialing or repeatedly lifted and replaced in the cradle Some ring detectors will falsely trigger on tinkling Because the quadrature decoder hardware filters out such events the CPU is not even interrupted for a tinkle Low Cost Soft Modem Designer Reference Manual Rev 0 3 20 Freescale Semiconductor Preliminary RingDetect PulseAccumulator Bean Bean TIERE GMT MERI o S Bl xl Bean Items Visibility Help lt gt Peripheral Initialization gt Properties Methods Events Comment TMRAG_PACNT E Interrupt service event Enabled o INT_TMRAG Interrupt preserve registers E Primary input GPIOC4 TAO PHASEAD pull up rising edge EJ Initialization poep enabled ne
103. v22bis Events No events are needed because the modem is called When it has data or needs data It calls the application program back at a designated function to deliver or collect data Since no event is needed there is no context switch and the code is more efficient 3 7 InputTimer Init TMR Bean This bean is responsible for timing the ADC sample reads and normally operates at 7200 samples per second Using the PESL commands the peripheral is modified to sample at 8000 samples per second during call progress This dynamic sampling rate avoids the use of any sample rate conversion code Processor Expert Bean Utilization in the Soft Modem Rev 0 Freescale Semiconductor 3 15 Preliminary TMRC3 E Settings J E Clock settings 0 0 0 00 0 E Primary source AAA E Secondary source J E Compare load control 1 Enabled O Pins pq 7 interrupts TI B Timer Channel TI Interrupt INT_TMRC3 INT_TMRAC3 Timer compare interrupt Disabled LL ame AA v D Initialization Call Init method na Enable penpheral clock yes Figure 3 19 nputTimer Init TMR Properties c ESESRURSESRS D o ca cn ra c eim c D c c eRe Low Cost Soft Modem Designer Reference Manual Rev 0 3 16 Freescale Semiconductor Preliminary AS1 AsynchroSerial Bean To alter the sampling rate without having to stop or
104. x B Low Cost Soft Modem Bill of Materials Gem mem orm mmm o mmm es qm e peg ee s eem me 0000 9 Boom me 9 Boe mee 0 9 Bom omae 0 m Bom me 8 Tee Boom ome 9 Bom mms a Ro pm emma es eer en E KA CA KAA KT AAA een ZA KAA KA po um pmumus ae po mu eme 0 m Ho m emmer emmer Bom 1m 0 9 Bom 1m 9 Boe mw 9 Bo mw ow m Bo mm 9 Boe me m m Low Cost Soft Modem Bill of Materials Rev 0 Freescale Semiconductor Appendix B 1 Preliminary Gem mem om mmm o mmm Bom m p 8 Bo mm m mm Bom pm mw Rom me m C een Ier qeew pow eee qmems s eus ques eme Low Cost Soft Modem Designer Reference Manual Rev 0 Appendix B 2 Freescale Semiconductor Preliminary Appendix C Layout and Governmental Certifications C 1 Design for Performance Layout considerations for the PWM are easy Since it is a digital signal it can tolerate considerable noise and layout considerations are few The ADC however is an analog input to the controller It should not parallel at close range signals containing clocks or signals that change often Stripmine type shielding could be considered Please refer to Freescale FAQs and application notes relating to optimal use of the ADC The layout of the EVM may be used as an example even though it is possible to reduce the noise floor even further Given the dynamic range available this is not required to obtain the perf
105. xmdmmem asm TXBD CNT v22bis rxmammem asm TNSUM v22bis rxmdmmem asm TNASUM v22bis rxmdmmem asm EOX v22bis rxmdmmem asm EOY v22bis rxmdmmem asm RXDATA v22bis rxmdmmem asm DECX v22bis rxmdmmem asm DECY v22bis rxmdmmem asm DX v22bis rxmdmmem asm DY v22bis rxmdmmem asm dscr mask v22bis rxmdmmem asm rx dscr buff v22bis rxmammem asm rx dscr buff l v22bis rxmammem asm dscr cntr v22bis rxmdmmem asm RXMEMSIZE v22bis rxmdmmem asm IBPTR IN v22bis rxmdmmem asm 0000001D v21 xrom data v21 xrom data v21 rom asm 000007A8 00000000 v21 xrom data LPF COEF v21 rom asm 000007B4 00000000 v21 xrom data NBY16 TABLE v21 rom asm 00000800 00000000 v21 xroml data SINE TABLEZ v21 rom asm 00000800 00000090 vl xroml data v21 xroml data v21 rom asm 00000A00 00000000 v21 xrom2 data SINE TABLEl v21 rom asm 00000A00 00000168 v21 xrom2 data v21 xrom2 data v21 rom asm gt 00000000 _EX BIT linker command file gt 00000001 NUM IM PARTITIONS linker command file 1200000000 NUM EM PARTITIONS linker command file 00000B68 FmemEXbit linker command file gt 00000B69 FmemNumIMpartitions linker command file gt 00000B6A FmemNumEMpartitions linker command file gt 00000B6C FmemIMpartitionAddr linker command file gt 00000B6D FmemIMpartitionSize linker command file gt 00000000 FmemEMpartitionAddr linker command file gt 00000B6E FmemEMpartitionSize linker command file gt 00000B70 XRAM data end linker command file gt 000

Download Pdf Manuals

image

Related Search

Related Contents

ATG systèmes de dallage de toitures    Avanti WC4800C Refrigerator User Manual  かb - 羅臼町  Visage 7 Web Client Online Guide  OpenArray® Real-Time PCR System, Digital PCR Experiments  取扱説明書 - 東京ガス  Cleo RX Man  Guide des produits SMC conforme à la directive ATEX Guide des  取扱説明書  

Copyright © All rights reserved.
Failed to retrieve file