Apr 11

Chapter 7: A/D Converter

* Introduction
* 7.1 12-bit A/D converter
* 7.1.1 A/D conversion sequence
* 7.1.3 A/D converter configuration
* 7.1.3 Starting A/D conversion process – start of the sampling process
* 7.1.4 Stopping sampling and starting conversions
* 7.1.5 External event trigger conversion start
* 7.1.6 Controlling sample/conversion operation
* 7.1.7 Writing conversion results into the buffer
* 7.1.8 A/D sampling requirements
* 7.1.9 Reading the A/D result buffer
* 7.1.10 Operation during SLEEP and IDLE modes
* 7.1.10 Operation during SLEEP and IDLE modes

Introduction

A/D (Analogue-to-Digital) converter is a “mixed signal” circuit which performs digitization of the external analogue signals. In the dsPIC30F family there are two microcontroller versions one with 10-bit and the other with 12-bit A/D converter. It has been shown in practice that for the control or regulation systems the 10-bit A/D converters gave satisfactory solutions. The additional bits in the A/D converters in these applications are almost unsuable because they are masked by the high levels of electro-magnetic noise. In the measuring systems the practice showed that with the 12-bit converters one could achieve a good compromise between the sampling rate and accuracy (0.02% for a 12-bit converter).
Read the rest of this entry »

Tags: , , , , , , , , , , ,

Related posts

Mar 15

Chapter 6: Examples with PIC Integrated Peripherals

    * Introduction
* 6.1 Interrupt Mechanism
* 6.2 Internal AD Converter
* 6.3 TMR0 Timer
* 6.4 TMR1 Timer
* 6.5 PWM Module
* 6.6 Hardware UART module (RS-232 Communication)

Introduction

It is commonly said that microcontroller is an “entire computer on a single chip”, which implies that it has more to offer than a single CPU (microprocessor). This additional functionality is actually located in microcontroller’s subsystems, also called the “integrated peripherals”. These (sub)devices basically have two major roles: they expand the possibilities of the MCU making it more versatile, and they take off the burden for some repetitive and “dumber” tasks (mainly communication) from the CPU.

Every microcontroller is supplied with at least a couple of integrated peripherals – commonly, these include timers, interrupt mechanisms and AD converters. More powerful microcontrollers can command a larger number of more diverse peripherals. In this chapter, we will cover some common systems and the ways to utilize them from BASIC programming language. Read the rest of this entry »

Tags: , , , , , , , , , , , ,

Related posts