1 / 12

Vaja 2

Vaja 2. Prekinitve in EVM. Evgen Urlep. Odpiranje projekta Vaja2. Odpremo spletno stran: Procesni sistemi vodenja/NALOGE http://www.ro.feri.uni-mb.si/predmeti/pro_si_vo/Welcome.html Shranimo vaja2.zip na C:psv Razpakiramo vaja2.zip Priključimo eZdsp sistem in mu vključimo napajanje

kerry-duran
Download Presentation

Vaja 2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Vaja 2 Prekinitve in EVM Evgen Urlep

  2. Odpiranje projekta Vaja2 • Odpremo spletno stran: • Procesni sistemi vodenja/NALOGE • http://www.ro.feri.uni-mb.si/predmeti/pro_si_vo/Welcome.html • Shranimo vaja2.zip na C:\psv • Razpakiramo vaja2.zip • Priključimo eZdsp sistem in mu vključimo napajanje • Odpremo Code Composer 2407 (CC) (Run As: Administrator) • Odpremo projekt v CC Vaja2.pjt

  3. 16-bitni generator dogodkov (EVA,EVB) • Števci TxCNT (x=1,2;3,4) • Primerjalni registri TxCMPR • Registri periode TxPER • Kontrolni register TxCON • Zunanji/notranji takt • Programabilni delilnik za vsak števec • Nastavitve prekinitev ob (underflow, overflow, timer compare, period) • Nastavitev smeri štetja z vhodom TDIRx • Programabilni mrtvi čas • Simetrični, asimetrični, SVM PWM • Kvadraturno vezje za ID Blokovni diagram EVA

  4. Delovanje časovnika

  5. Registri časovnikov T1 in T2

  6. Prekinitveni modul • 6 nivojev prekinitev • Zunanji vir (RESET,XINT1,XINT2…) • Notranji vir (periferija) • Programski vir (INTR,NMI,TRAP)

  7. Registri

  8. Registri

  9. Registri

  10. Registri

More Related