1 / 18

dsPIC DSC

Automotive Embedded Computer. dsPIC DSC. Informatii configurare Generare clock WDT Reset Protectie cod Codec AUDIO WM5810. Informatii configurare dsPIC. Generator clock – schema bloc. Executia instructiunilor. SURSE CLOCK. REGISTRU CONFIGURARE OSCILATOR – FOSC ( 0xF8000 ).

sandra_john
Download Presentation

dsPIC DSC

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. Automotive Embedded Computer dsPIC DSC Informatii configurare Generare clock WDT Reset Protectie cod Codec AUDIO WM5810

  2. Informatii configurare dsPIC

  3. Generator clock – schema bloc

  4. Executia instructiunilor

  5. SURSE CLOCK

  6. REGISTRU CONFIGURARE OSCILATOR – FOSC ( 0xF8000 )

  7. REGISTRU CONTROL OSCILATOR – OSCCON (SFR)

  8. Cicli exec. instructiuni

  9. dsPIC -WDT

  10. Functii pt. conf. oscilator /* from p33FJ32MC302.h _FOSCSEL( OPT1_ON & OPT2_OFF & OPT3_PLL ) Oscillator Source Selection: FNOSC_FRC Fast RC oscillator FNOSC_FRCPLL Fast RC oscillator w/ divide and PLL FNOSC_PRI Primary oscillator (XT, HS, EC) FNOSC_PRIPLL Primary oscillator (XT, HS, EC) w/ PLL FNOSC_SOSC Secondary oscillator FNOSC_LPRC Low power RC oscillator FNOSC_FRCDIV16 Fast RC oscillator w/ divide by 16 FNOSC_LPRCDIVN Low power Fast RC oscillator w/divide by N Two-speed Oscillator Startup : IESO_OFF Disabled IESO_ON Enabled */

  11. /* • _FOSC( OPT1_ON & OPT2_OFF & OPT3_PLL ) • Clock switching and clock monitor: • FCKSM_CSECME Both enabled • FCKSM_CSECMD Only clock switching enabled • FCKSM_CSDCMD Both disabled • Single configuration for remappable I/O: • IOL1WAY_OFF Disabled • IOL1WAY_ON Enabled • OSC2 Pin function: • OSCIOFNC_ON Digital I/O • OSCIOFNC_OFF OSC2 is clock O/P • Oscillator Selection: • POSCMD_EC External clock • POSCMD_XT XT oscillator • POSCMD_HS HS oscillator • POSCMD_NONE Primary disabled • */ • _FWDT(FWDTEN_OFF);

  12. Codec audio WM8510

  13. Interfata codec audio - dsPIC

More Related