ATmega48 ADC Noise Suppression Mode

Publisher:快乐旅行Latest update time:2021-10-18 Source: eefocusKeywords:ATmega48 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

When SM2..0 is 001, the SLEEP instruction puts the MCU into noise suppression mode. In this mode, the CPU stops running, while the ADC, external interrupt, two-line serial address match, timer/counter 2 and watchdog continue to work (if enabled). This sleep mode only stops clkI/O, clkCPU and clkFLASH, while other clocks continue to work.


This mode improves the ADC noise environment and makes the conversion more accurate. When the ADC is enabled, entering this mode will automatically start an AD conversion. The ADC conversion end interrupt, external reset, watchdog reset, BOD reset, two-wire serial address match, timer/counter 2 interrupt, SPM/EEPROM ready interrupt, external interrupt INT0, INT1 or pin level change interrupt can wake up the MCU from ADC noise suppression mode.


Keywords:ATmega48 Reference address:ATmega48 ADC Noise Suppression Mode

Previous article:ATmega48 Power-Down Mode
Next article:ATmega48 Idle Mode

Recommended ReadingLatest update time:2024-11-16 21:47

STM8S ADC initialization settings and applications
//ADC channel number definition #define ADC_Chanel0 (unsigned char)0x00 #define ADC_Chanel1 (unsigned char)0x01 #define ADC_Chanel2 (unsigned char)0x02 #define ADC_Chanel3 (unsigned char)0x03 #define ADC_Chanel4 (unsigned char)0x04 #define ADC_Chanel5 (unsigned char)0x05 #define ADC_Chanel6 (unsi
[Microcontroller]
Application of high-speed A/D conversion chip ADC08D1000 based on FPGA
0 Introduction The ultra-high-speed ADC-ADC08D1000 of National Semiconductor is a high-performance analog/digital conversion chip. It has a dual-channel structure, and the maximum sampling rate of each channel can reach 1.6 GHz, and can achieve 8-bit resolution; when using the dual-channel "inter-plug" mode
[Embedded]
Design of Downsampling Filter for Sigma-Delta ADC in Electric Energy Metering Chip (Part 2)
3 Design of compensation filter As can be seen from Figure 3, the amplitude-frequency characteristic curve of the CIC filter is not flat in the passband, and the signal is attenuated in the passband. In order to overcome this shortcoming, a compensation filter can be added, whose amplitude-frequency characteristic is
[Power Management]
Design of Downsampling Filter for Sigma-Delta ADC in Electric Energy Metering Chip (Part 2)
High Performance Multichannel Power Line Monitoring Using Simultaneous Sampling ADCs
  introduction   The rapid development of the electric power industry is driving the world to strengthen the transmission and distribution of existing power grids and build new substations. The advancement of microprocessor technology and the increase in the cost of technical support personnel are the main driving
[Power Management]
High Performance Multichannel Power Line Monitoring Using Simultaneous Sampling ADCs
ATmega48 Power-On Reset
The power-on reset (POR) pulse is generated by the on-chip detection circuit. The detection level is shown in Table 20. Whenever VCC falls below the detection level, a POR occurs. The POR circuit can be used to trigger a reset or to detect a power failure. The POR circuit ensures that the device is reset at power-on
[Microcontroller]
ATmega48 Power-On Reset
Discussion on AC and DC sampling of STM32 ADC
cutting edge Regarding the STM32 sampling problem, I believe many people have encountered such a problem, whether it is about the underlying configuration of the ADC or the choice of the ADC sampling solution, or the ADC software and hardware filtering algorithm. Here, the blogger will extend the training questions he
[Microcontroller]
Discussion on AC and DC sampling of STM32 ADC
STC15W4K MCU internal ADC thermistor to measure temperature
The microcontroller source program is as follows: /************************************************************************************ * * Experimental platform: Pivot Electronics STC15W4K core board + Pivot Electronics "Pioneer" expansion board * Clock selection: Internal IRC clock 22.1184M * Functional description
[Microcontroller]
Application of internal ADC of ADμC812
1 Introduction to the ADC inside the ADμC812 MCU 1.1 ADC Circuit The ADC conversion block inside the ADμC812 contains an 8-channel, 12-bit, single-power A/D converter with a 5μs conversion time. The A/D converter is composed of a conventional successive converter of a capacitive DAC. The ADC has a sepa
[Microcontroller]
Application of internal ADC of ADμC812
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号