Presentation is loading. Please wait.

Presentation is loading. Please wait.

MS_uC / dnd / V08 3- 1 RTC - Real Time Clock Programming Microcontroller ADC – Analog Digital Converter Autumn term 2007 32K Byte Burst Flash 64K or 96K.

Similar presentations


Presentation on theme: "MS_uC / dnd / V08 3- 1 RTC - Real Time Clock Programming Microcontroller ADC – Analog Digital Converter Autumn term 2007 32K Byte Burst Flash 64K or 96K."— Presentation transcript:

1 MS_uC / dnd / V08 3- 1 RTC - Real Time Clock Programming Microcontroller ADC – Analog Digital Converter Autumn term 2007 32K Byte Burst Flash 64K or 96K Byte SRAM 256K or 512K Byte Burst Flash OTP Mem UARTI2CSPI TIMRTC EXT. Bus GPIO USB 2.0FS CAN 2.0B Enet MAC PFQ BC DMA INTR Cntl ARM966 E CORE w/DSP 96 MHz CLK Cntl ADC LVD BOD PLL JTAGETM9 STR912FW44

2 MS_uC / dnd / V08 3- 2 RTC - Real Time Clock ADC Specifics zADC clock: PCLK with a 8-bit frequency prescaler zResolution: 10 bits z8 input channels: 0 to 3.6V input range zSingle Channel / Scan modes yConverts one or all 8 channels successively zOne-Shot or Continuous conversion zStandby mode for low power consumption zAnalog watchdog with interrupt generation yWhen the converted value is above or below a programmed threshold

3 MS_uC / dnd / V08 3- 3 RTC - Real Time Clock ADC Block diagram (simplified)

4 MS_uC / dnd / V08 3- 4 RTC - Real Time Clock ADC register map

5 MS_uC / dnd / V08 3- 5 RTC - Real Time Clock ADC Control Register

6 MS_uC / dnd / V08 3- 6 RTC - Real Time Clock ADC Control Register (next)

7 MS_uC / dnd / V08 3- 7 RTC - Real Time Clock ADC Channel Configuration Register

8 MS_uC / dnd / V08 3- 8 RTC - Real Time Clock ADC Data Register 

9 MS_uC / dnd / V08 3- 9 RTC - Real Time Clock ADC Configuration zInitialization yControl register xSet the Power on Reset bit (POR) xSet the End of ConVersion Interrupt enable bit (ECIE) xClear the STaRt conversion bit (STR) yChannel configuration register xSpecify the channel, which should work in conversion mode zInterrupt service routine yRead the result from the data register yControl register xClear STR bit xClear End of ConVersion flag (ECV)


Download ppt "MS_uC / dnd / V08 3- 1 RTC - Real Time Clock Programming Microcontroller ADC – Analog Digital Converter Autumn term 2007 32K Byte Burst Flash 64K or 96K."

Similar presentations


Ads by Google