1 / 9

Programming Microcontroller ADC – Analog Digital Converter Autumn term 2007

Programming Microcontroller ADC – Analog Digital Converter Autumn term 2007. 64K or 96K Byte SRAM. Enet MAC. ARM966E. CORE. w/DSP. USB 2.0FS. 96 MHz. 256K or 512K Byte Burst Flash. PFQ BC. CAN 2.0B. DMA. INTR Cntl. CLK Cntl. 32K Byte Burst Flash. GPIO. OTP Mem.

milos
Télécharger la présentation

Programming Microcontroller ADC – Analog Digital Converter Autumn term 2007

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. Programming Microcontroller ADC – Analog Digital Converter Autumn term 2007 64K or 96K Byte SRAM Enet MAC ARM966E CORE w/DSP USB 2.0FS 96 MHz 256K or 512K Byte Burst Flash PFQ BC CAN 2.0B DMA INTR Cntl CLK Cntl 32K Byte Burst Flash GPIO OTP Mem LVD BOD EXT. Bus JTAG ETM9 PLL RTC TIM ADC SPI I2C UART RTC - Real Time Clock STR912FW44

  2. ADC clock: PCLK with a 8-bit frequency prescaler Resolution: 10 bits 8 input channels: 0 to 3.6V input range Single Channel / Scan modes Converts one or all 8 channels successively One-Shot or Continuous conversion Standby mode for low power consumption Analog watchdog with interrupt generation When the converted value is above or below a programmed threshold ADC Specifics RTC - Real Time Clock

  3. ADC Block diagram (simplified) RTC - Real Time Clock

  4. ADC register map RTC - Real Time Clock

  5. ADC Control Register RTC - Real Time Clock

  6. ADC Control Register (next) RTC - Real Time Clock

  7. ADC Channel Configuration Register RTC - Real Time Clock

  8. ADC Data Register RTC - Real Time Clock 

  9. Initialization Control register Set the Power on Reset bit (POR) Set the End of ConVersion Interrupt enable bit (ECIE) Clear the STaRt conversion bit (STR) Channel configuration register Specify the channel, which should work in conversion mode Interrupt service routine Read the result from the data register Control register Clear STR bit Clear End of ConVersion flag (ECV) ADC Configuration RTC - Real Time Clock

More Related