You are on page 1of 13
can COX CHx CHy Carte: DSC Texas TnstrumentS TMS320 F28335 . IDE . Code Compmer L) vsp_y Digital signal Toater 5 [Pocmeur dedié an Toitemert de signal : Roctexr tenant dans un CI. (ceu) + BRIBE 1 « Larcliteckiws—s harvard & von Newman . Diff + Non Neuman ay eSpace memcice Code/doinees - om bus codeldontes. (8) _Horvard =y Nope. « Necessthe Composants extemes. 4p (FPash) = consk/ Rodata Fear > Oatput module. + Waka memory = B55, data, heap, Stack. *Bwode momory" RE instruct co" (B nest inctruct in code). Po memory, Acc contro? RI: Registre dinst. eae CPU = ALU + Registers + Ca Clocle + cache memory + burt . ¢ +Decodenr diinstructons. Peete ay Losteud- + Ronistaes = RT&PC+ MAR (memory &) 4 MOR (memory data) 4 ACC+ cabasdalions Reg... PS +-ALU Trounes in fixed points 4 SW to we PPoating points - - PRoaking points ALU ace erpenswe . + HOP IPs Peripherals & memory AW in one &p4 MSP USO PC = A\compwler -Pecigheralle =» Dighall InJOu, ndC, DAC, Tkmers , Pod, Digi ow } ves, Network interfoxas unit (can, zac ,SP2,US8, graphical output devices «+ cam puling efPdd Woo compitigucits fda pointer Avikh a Tygicad comprtings =} SOP. Sum OP |» Bus Product 7 Bod SWRler exp? Y= Z dale xcce Pf. (No need to code) « DSC = DSP 4 external Peiipherals B memory . (See Pegurs) . Boot Rom, DMA - Periplerals :ePwMh, Bs all Capos: eprt 2 Lan} wen, S& wDSRI) 2c wit developped s-uaet, LEN), (memories : Ffash, Ram, eCAP, eQeP, ADC, watchdog, £5 Sum [Product a JL dans DSP 6 Tec dans un Wp. nelwork wter Pacer) = — _ . (Dake Bus P Bai Pope Bus.» hertord architecture (cpu memory /Reriphesols) e Register bus 4 for exchange in Cou (fast). + DMA bus —» Conse DMA can operate us Hed parts “inlepend- entfy Prom CPU | P+ A Malkiplexer block cemects external devied with data 2 buses. -TEPUB =, Registen ALU —> APP mel operations ; “A +32x3.2 Mublipher = MAC (mufli and ACcumlate) . > Fired point unit <5 cy ee righ renthidies + FPU= FRoaking pect unit =, hardware Mulltipy ait Bor PRoatings » ne ned for St ay olPous Pepellins. af cru to be faster. + 22 bits timers . + PIE Manager ( Perisheral Antermpl Expantern) op aSfous Part intermpl response (to ignalslevents , éntemalll exteunal) , wrth a min Titernyt clatency., + Road time FTG = For nok tine J, Dsc & Ue host mostly For de PS:(FPU isa HW Hy cot A Be can do wilRout ub, bad by using, sw | cha. exBange. behdean bugging - - MewegP =p, Tir. Boys, ep edredteng memory: - Direct Addcersing vl PAA Al x I Ab hits DP Cbits T]=22bits >] ~Andirect Addreting mode: 4 of 38 bits KARa Regist Containing & &P operand. ; 5: There are all Auxiflary Registers in CPL | le Bus Struchue: Mubicphe (Dota Read Addros | Read Dela. — gars Pasta anciatedinw p__tantle a [Daite Dela. > runing. Fog => Addret/Read Dala - \ ae Bp DMA = Direct Memory Acces > Date Tranefer from Source j fo dettnaken With no intemactin whe CPU Beer wpe ( CPL bandurdih & eave rge He data Por lackter prowsting. ' Nowls a peipheral intermpt trigger by stark DMA TrandPer! i Ups Promic inductions =» Mey ace memory read- modify. write indruckons = The ALU operates died wilRou The need of CPUs register > Facta & simpler code . A atomic «Aye Pi standard 6 yess. | Bl. Memory MAP = Physical memory OP system (meet) divided into dota 2 prog memory =» FPadR, SARAM, OTP + boot ROM. (space = 46 bets) Baits dota & 22 bits prog &. -FREBRVOTP =) non volatile memories ured for code & dato needed at reret. = BARA =, vePati& memory Por dota and Rox code feo) ~ BeBEIROW) 25 Contains bectfoader, at Ras He" staslling proctdua & skenting memety (Procedure cle demarrage du Proctkeur ainsi que o8 Sloienter en mémoire) » FREI ay Peripheral Frama Register ay cover contre? & Stolias of peripheral units . - (PIE ecto (96) => Tntewupt Response witR min dakency, + automatic context save ef cuitical CPU Rega shen. | code secueity medulle ay = Opaaking Modes of prestten | Contains password wartten -Nallive mode (most commen Feme/” (40) lag Sud deveRpper a} Denies. = Compal be mode => for backwouds ¢ | a accemes to any Memory. oe i ati bility wilh efder procter cova coved by Wis code as a * long as wer deesak waite an identical palten to code in PFO Reserved (od PS: Th DSC uxs Pamify. - Text mode . lee) | Pipelining pProwing - LT wv) : = hwo procaer types => FRoating Riot Fixed Paint Die: FRating (ralional) Fused. (Integers) "Hod unit Por Paling | Fixed point ALL. High lypamic range | Almost alll embthles contreQlers for cum colleadehims are ised points . More expensive . loneriPal + Ffoaling “Rint Kemal! = TEEE 454. (Hw 2 ow Imp Pementalizms) 3r oc 73] = 5 sapite > [Ege | exponent markiasa. °| eee ~ ait Sbis 23 bites Fined point ae + Conrertin: : exp + (emulating , < FEP bral Ox3FEO 0000 = ood Adda 440 0000 coco ©0080 0000 Sooo” S=o BA AR4 Es OUM Aa = ALF. x =(45, 4,45, 2" = AAS M1000 = 4y0,5 +035. 446 my Bub we Can PREERERTSSHE due to deanding erreu became ef numbers Bat cannot be Cepretented , exp Ao + 2, 00000024 0, conse al Oxlud0%000 O aganasg co M OF OxHA2ocod —» Jo,c0 0004 > 0;coccootH (epoca) runded to Gis. ¢ Po because oP adding Smal number te Parega ona Binary =y G, =(oue), os 3G = Gamo), , FAA => 6, =(oMo) CA CY) = (ug, . CWL2CA4 yA Po: CHEPRBI uPen Aiakegen are mllliphied. 4 onee his Pb is non oe” dees 6 diiicig ada =r) existent in Ale SEB oe ae Ss ~ HA Babits A hove Shhiny Pe Rese Pls =. 1Q Format, i covutts “oil ch hits . cad => integer | Quelien) , itendy Plyging Binary Tacieee o - = _—— . Mae. T4Q3 x14Q3 . TAaQe | x Ve _ 0.400 | -3/9 8 4 dod = Ad AAOM00 == 3p ~ AB FS 1Q3 = =, 2-025 We may net de a. good precision here, bub skis vay higher wil® more bits representation . a ° IQ Forme =¥ 6 ara... ¢¢peee..° a ma bits precigim 8 came for afl rumbesin IQ Foun 2 United dynanic nange compard to Foaling Trae AP beboeen dyranie ange & renion PO exp? 14Q3 > -4, 0.975 -4e 4.000 9495 = AAA S- PPP rerdlution 273 | ot5-0.M4 0495.20.04 T3Q4 -y -4, 4352 Us dove 052 4A i SILL.P Gass BiS2OdLA 05 -000-4 - TAQ3s 4-44 TGQAH -» 1.23, 428. | re Q-3t e974 | beller precision =y 4o (0xA0c0008) + ©.0000022% (oxccoerce'l) = Ao. 00000238 (ox0A M0004) => can be xepun = yao = IQ Meth dibrary on flxed point DSP. | - ing, point Bb pafams beller Ban a PPookng print Rb. P52 FRP Hud io Paster iRan Fe P with Sw since Conventucn t2 opthalliens take Lime . W Digital 10 - OS Pr. Puipheral Framer 5 each one as Speci fic poipherals in charge: exps.PFO—> register oP FFaR speed conbrod, DMA unik reagester, timing setup for external memory devicas, Code Security modula, bfock... « PES 5 ePIM/ECAP, Digital T/O, cAN Registew blocks. = PFL—> core system contreP systems, ADC, comm channels Ofer Ran Me8SP. \ = PFS, Mc BSP. )DRRUETIOMAIE —- GPIO AB &c. a», 4] 00 > GiPTO . / B—» [33,e3) J mucin = Ilo ptr: eee C — [eh, $4] =» Mux 200/04 -, GPIO- + GPTO Input Qualification yon in A&B. bePares Like a fow pass fifter on acity nde Ay 2 inpat signals : Rin o—3 Input QuabiPicakin|——> to GPIO Cer ———_ | SysClicout. Go: can be sync to Sysclhout ony Ar define Samples 316 xy04/ 40. | 2 CaBeemeiay: Clietn - There is an extetnald sw cloc& “genarctor eo ose to neduce EM interferenus, ured bo gentiate DSP chock by dividinayidl joy Wee Freq (Scalin A“ by Seeding plying the fre ( 9) =) SysClkoub. permet de Je external clock _, max= 25MHa, nn Muted Pon. tatchdog . | % Teanaag. ok counter Rot briggos a reset if not Pented | Pee ANS Fg a specific ingbouact Sequence. | => Came iP not Beard meant as Me prog is no being welh Ruin < Be) TAA) > Hs moritoud with Ke counter. Pro om a eruns indepen dently Prom cu. + Resets khe DSP CP CPU crashes - wpkeg ranean enamel et AS S # r 5-3 4-2 [reseed | pupePag] wpzs | wOchi| wDPS E Prescalle | Digh wp chek < rere & disabt, Selection bits. | normal rebel Db eS Reser; WDKey = 55h —yredel on next PAM. WDKey = AA —5 ceseb. 1) System CoabrelAnatalNNRAGER: csp | Controls wWhelRer WD canes Reset WOENINT=0 0+ an Cntesmuyt Service Requatl wIDENINT=4- 5 AS 3 & A ° resened WIDENINT| VyDOVE RRIDE tn Protect wd from being 0: actie disabled. 5) aeniemeeabiesy: 4 Router Consumphen ay 3 swilch modes» LPM Conte? Register =y conteels CPU, Periperad wp, PLLJose Clock, ? Peck A eCan alse be wed wit® LO suck as Grlo+ intermpt/iraheupy exit. 4 et WD inlermapt ._ ’ — eshereaph Systemes DAC interousgtins donk {s masquabks p¥ BFmasquables (Reset, NMI) p ep “interupt vector’ 2 32 bit memory io intesnape arhedds & Pos. inkewaye Service routine . => CPU reads Code from He Atarks clear el) intemal op S Fowering up device. Register 4 Totet a. grep ecru ~ OverPPow ef wud Timer. Fhogs+ disable alll 46 interrut + Afler Relet = execution oP” boot fooder” beck dekermined by stode of Uapro Pins. eee Conneckd to a kabfe eakion Sto & sta > combine alll contre? & ctabis Fags ef cpu. 2- Tnteraupt Sources : 36 soure > onfy 44 masquerbfe inputs , : =r To Rank Bem we we a PIE Manager => wilh o tebbipk ting System => Mullbipfex numerous input sourced into a smaller sek ef inteuupk inputs, BD MasquabPe Interupt ‘Freceasing : Toba! Mash _ AGbits Le bits a Trtemupt (INT4—4u) =» IFR = JER =3 INTM ay Cote. wen ee! Tnteraupt Enable shea bi =O Absent — bikiz4 : enable 4 Pending 20: disable, WH Tnterrugk retpense : Tatermk oknoviledged by cpu—y Hw context is fauched auto Save of 4H Internal Reg , (MH imprrtant control/stales Eits) . 2 PC 2G ISR Lotemupt Service Roattins) CPU has BTimersO4,2 xy Timer 0 is tRe only ene Rat gees through Re PIL _ unit. DY) Pam Captse & QEre G Tous réafisalfe par GPIO.4 code . exp PwM: GPTO+ prog t dba souk 4 5 PPas simple ac E 8 Pane, pat Ae we S4NCT Snko Swe: SyNCO leiPiy (ate) © 420° alid’ Ps. Pratt A&B sont compRmentaires ain so Lim, rT => Contains Pengt® ef period op oulput sign al. TBPAD f__ Témer counti det (+ count bas, . emer ng meee’ — an Giaeas Asymetrical . = count down count up & doin EAN, => SYymetricall PS+ Shadow Panckionnaltby => Tn some aya, i's necehary to modi Py values in Period Reg every Period ay wit tis back rind eg We can Prepare Wo value ef next period during cursent one => Lime ophimicotio,. op Teer > Contref. _ 55 eh ea of = | TBPHS > Courter | TBPRD ”, Period 7 ignal , TBPAD 4, y Town 7? Fenteled sg Te¥seticauh X CICDIV x HSPCLE DIV — 2 # PuPse wid Modul obion => Signal as Sequence OF THUS Meduk! Pom @ AnolRer way to ganerote a PWM : k 4° yg Wacheur — | Ve 7 Ee | a £ a ari i oT —+| eat Pite 2y . e 14 a M cette Vooy | . . + 7 oy deals {fr Ne = Rial au a Nemey = ELE ed E. eet > be Ri . - a say = Lint ° da ta Ba. cds pow bower a): fee série Ve Ze. Sas generver Hackew Boost Ve5e. non cope Apps ef Pom 5 + Digital Motes Contref . « Digitad Power Suydy . 2. Compare” Usib. + compare Register AL B=» we dePrne . ~ cei an AU) ol a M CoRR Boy ew wikia a fives ef Pw _, cura Se ple | remo f=, We compere we canta exe T | 1 NS events , > Thete points Wrigger an achum dePened in anctfer Pw unit. 2 CMOCTL => Compare contre? Rey: contreds shadow Regs beRind cmPrA & CHPB» bo Prepare new values Por next pericd whe still an canrent pericd. + Compare Pogic | 2. Action Quodlfier unit «Preise de decivions ule @ Pa comparastion ond “Compor unit” = 2 Reg de Contre? AQCTLA & AQCTLB =ePwHA / Pw NB We gek a corresponding actin for eack of te © events: (Bero-mertehs CHP R=“, CHPB ut 1 Reeiod, CPA -down, CMB down) | re = re mm Ackons. de nolBing ; cet high lear Ru , Toggle. | ° Sw Pouce Reg => AQ Sw F * Continious Sw force Reg = ARC SWF. \ ‘+ Dead Band iodides Cermplemertins J ay Td & 12 sont complémentiiras, cad (TA on 72 off) | Poe inversemest. I h™ oe aya da cas od. iDs pewert ire fous dew Povny = Te @m on (cc) ay pb ay ald a des temps de switch + eu Pers. SHLt+ Ajout de Compeoants —pamlPe pour decaler, oneBangar fer 7. Seka: MeadPinr Nes Piatt compQimentaines onee ur ajeut de dead Band. =) ePart module has a Hod Dead Band wikey Reg. DBcTL. ™ Creates a delay tetdeen Puma 2 PxiMs tn cur cate 5 Re Active Heg® Com an Be DB unit is ie denced ePPeet ¢ BReg =s DBcTL, DBRED Pementy” operating mede (Rising Edy: OASPBFED (Falling Edge Deby) . RED = Tracie » DBRED. PS: DBS CALC 5 FED= Trecue < DBFED Bub: eviter Deg co, min Pon i (montane prec) Pratt genet Bm 5 *hiBh freq casnier signed mredwching Pout AQ 8 Dowits _ fp L I ,2 Lom, | + Programming seme. Pudkes with te one | | | { Shot modWle! => PCCTL Reg. bo Program off SP Rote . 6. Over current Rotedhion * TECTL ay TRI to TZE => signals genoraked by over current senseu * TESEL =y To select mode: {os sho rip = mafer short crwisk ov over cent, Cycle by cycle => cwrrant Demi Eng, operat, e TEEINT = Grable /Intewuptone ep tke 2 modes , - TAFLE Ks « TECiR « THER ° “The trip acne aloas responie. to Re ePXIN Module hen Faulks cow | ePwit signals can be Pocad to: High; Low, Hiyh-imps ne adion . 4. KGugntaitagernteduley TBcounker + Paried Regs the & Compare Reg 4 Compare dogic . | mymenites Vario event cds (TACTR= Zero, TRPRD, cHPA/CNPB). and Synchronize ADC cenvenim wil PW Signal (stad ub oe anteragt at). DERE (yy module de Complige 44 dyad entre Fronts (mortant & descendand). => Tramplins | OMI: CCAP ae Time stamps brandis on a Cophine inp pen - utes: + Period & duty cyde mesurements ef pulse train og - - low speed meaderement of a retain machinery eg oilé Galh censens) - . . PS: time captne has >> retePatian Beam povetin pulse counting . CHE. Aurtliary PWM =p a single ended Pun output can be gewahd ZYQERE Quadrature Encoder Rilse. Tneedeur o pliqu a 2copteurs cha sae gy TP Jem: deen Roque 8 (a8) en ar CTI 0 . eo eon B\ aramid) un certain temps &, (4) =, 2 eles . Nike aneghene fa conse cotchen oy FER) on ded be hte ae te ~ Ge done dediire Q portion » cha 8 sare —— oe “moheur Pay Poimel de capcttre & tens de rotation du mete Aelen quel copter. ext avancée, + Quodrature decoder Stabe machina : oo oe qe P

You might also like