Page 62 in Chassaing. The.start directive links the section name to start at location address. For the section to have a valid starting address, the.start.

Slides:



Advertisements
Similar presentations
Parul Polytechnic Institute
Advertisements

The 8051 Microcontroller and Embedded Systems
Registers and Counters
FPGA Configuration. Introduction What is configuration? – Process for loading data into the FPGA Configuration Data Source Configuration Data Source FPGA.
4-1 Timers Timers can be used for  timing  event counting  pulse width measurement  pulse generation  frequency multiplication There are 8 Timers.
8085 processor. Bus system in microprocessor.
Programmable Interval Timer
The 8051 Microcontroller Chapter 5 SERIAL PORT OPERATION.
TK2633 Introduction to Parallel Data Interfacing DR MASRI AYOB.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Chapter 2 HARDWARE SUMMARY
8051 Core Specification.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
The 8085 Microprocessor Architecture
Microprocessor and Microcontroller
Introduction of Holtek HT-46 series MCU
7-1 Digital Serial Input/Output Two basic approaches  Synchronous shared common clock signal all devices synchronised with the shared clock signal data.
Introduction Flip-flops are synchronous bistable devices. The term synchronous means the output changes state only when the clock input is triggered. That.
A.Abhari CPS2131 Registers A register is a group of n flip-flops each of them capable of storing one bit of information There are two types of registers:
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
1 Sequential Circuits Registers and Counters. 2 Master Slave Flip Flops.
EE345: Introduction to Microcontrollers Register and Counters Prof. Ahmad Abu-El-Haija.
ENEE 440 Chapter Timer 8254 Register Select The 8254 timer is actually 3 timers in one. It is an upgraded version of the 8253 timer which was.
8253 TIMER. Engr 4862 Microprocessors 8253 / 8254 Timer A.k.a. PIT (programmable Interval Timer), used to bring down the frequency to the desired level.
8254 Counter/Timer Counter Each of the three counter has 3 pins associated CLK: input clock frequency- 8 MHz OUT GATE: Enable (high) or disable.
16F877A. Timer 0 The Timer0 module timer/counter has the following features: –8-bit timer/counter –Readable and writable –8-bit software programmable.
Timers ELEC 330 Digital Systems Engineering Dr. Ron Hayne
CoE3DJ4 Digital Systems Design Chapter 4: Timer operation.
Lecture Set 9 MCS-51 Serial Port.
CPU Design. Introduction – The CPU must perform three main tasks: Communication with memory – Fetching Instructions – Fetching and storing data Interpretation.
Example. SBUF Register SCON Register(1) SCON Register(2)
Registers and Counters by Dr. Amin Danial Asham. References  Digital Design 5 th Edition, Morris Mano.
8279 KEYBOARD AND DISPLAY INTERFACING
Microprocessor. Interrupts The processor has 5 interrupts. CALL instruction (3 byte instruction). The processor calls the subroutine, address of which.
8085. Microcomputer Major components of the computer - the processor, the control unit, one or more memory ICs, one or more I/O ICs, and the clock Major.
80386DX functional Block Diagram PIN Description Register set Flags Physical address space Data types.
Registers and Counters
A Mini Stereo Digital Audio Processor Design DINESH GUNDU VIGNESH SABARINATH.
8279 KEYBOARD AND DISPLAY INTERFACING
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
8085 processor.
MICROPROCESSOR DETAILS 1 Updated April 2011 ©Paul R. Godin prgodin gmail.com.
SINE8I PROGRAM. AICSEC.word 162Ch,1h,4892h,67h ;Fs = 8 kHz This instruction sets the sampling frequency, fs, at 8 kHz.
1 Registers A register is a group of n flip-flops each of them capable of storing one bit of information There are two types of registers: parallel and.
8086 Microprocessor J Srinivasa Rao.
Gandhinagar Institute of Technology
Chapter 5 Computer Organization TIT 304/TCS 303. Purpose of This Chapter In this chapter we introduce a basic computer and show how its operation can.
The 8085A is a general-purpose microprocessor with low hardware overhead requirements. Within the 8085A are contained the functions of clock generation,
Unit Microprocessor.
COURSE OUTCOMES OF Microprocessor and programming
The 8085 Microprocessor Architecture
Chapter 11: Inter-Integrated Circuit (I2C) Interface
Chap 7. Register Transfers and Datapaths
The 8085 Microprocessor Architecture
Programmable Interval Timer
Introduction to Micro Controllers & Embedded System Design I/O Processing and Serial Port Operation Department of Electrical & Computer Engineering Missouri.
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Registers and Counters Register : A Group of Flip-Flops. N-Bit Register has N flip-flops. Each flip-flop stores 1-Bit Information. So N-Bit Register Stores.
Introduction to Micro Controllers & Embedded System Design Timer Operation Department of Electrical & Computer Engineering Missouri University of Science.
8254 Timer and Counter (8254 IC).
Instructor: Alexander Stoytchev
Lecture 18 Interrupt 동국대학교 홍유표.
8085 MICROPROCESSOR 8085 CPU Registers and Status Flags S Z AC P C A B
Computer Architecture and Organization: L02: Logic design Review
The 8085 Microprocessor Architecture
Instructor: Alexander Stoytchev
8051 Micro Controller.
Instructor: Alexander Stoytchev
Registers and Counters
Computer Operation 6/22/2019.
Presentation transcript:

Page 62 in Chassaing

The.start directive links the section name to start at location address. For the section to have a valid starting address, the.start statement for the section must precede the.text,.data, or.sect directive that defines the section name..start directive defines the section defines the starting address of the section So the program (text) starts at location and the the data starts at location 809c00.

809c00 809c01 809c02 809c03 809c04 809c05 PBASE STEPSP ATABLE AICSEC E c03 809c06 162c DATA

SINE_VAL 809C C09 The.bstart directive aligns the section name to the next 2 n address boundary following the current section.

Beginning address of the program

DIRECT ADDRESSING page 255 page 254 page  page 3 page 2 page 1 page FFFF 256 Pages 64K page The data address is formed by the concantenation of the eight least significant bits of the data page pointer (DP) with the 16 least significant bits of the instruction word. This results in 256 pages of memory with 64K words per page. The DP must contain the proper value before using direct addressing. DP16 bits of operand

AR0 

AR  AR0 

As shown in the previous slide, the timer (TCLK0) signal is connected to the AIC’s master clock (MCLK) signal. The MCLK signal drives all the key logic signals of the AIC, such as the shift clock, the switched-capacitor filter clocks, and the A/D and D/A timing signals. The timer pulses the TCLK0 signal whenever the timer counter register (0x ) counts up to the timer period register (0x ) value. Then the timer counter register resets to zero and repeats.

AR0 

03C1

AR0  xx INXF0OUTXF0I/OFX0I/OFX1INXF1OUTXF IOF (IO Flag Register)

62H Place the AIC in reset by bringing XFO pin low. This is done by writing an 02 to the CPU’s IOF register.

809c03 809c04 809c05 AR1  809c06 162c Contents of ATABLE = 809c03

The AIC must stay in a reset condition for at least 2 TCLK0 cycles.

AR0 

131

NOTE for this problem that the input A/D is not used. Only the D/A is used to generate the sine wave

AR0 

0E970300

The FSX and FSR frame syncs act as active-low inputs from the AIC. The DX and DR data signals remain active high. Both transmitted and received words are 16 bits in length. This configuration sets the serial port mode for a standard mode (i.e. not continuous mode) with a variable data rate. A variable data rate mode works with AIC’s timing protocol, whereas a fixed data rate mode does not.

AR0  The XMIT (transmit) register is cleared by writing 0s into each bit.

AR0  xx INXF0OUTXF0I/OFX0I/OFX1INXF1OUTXF IOF (IO Flag Register) A logical 0 resets the AIC; a logical 1 brings the AIC out of reset.

The RESET line brought low and remains for 100 NOPs.

809c03 809c04 809c05 AR1  809c06 162c Contents of ATABLE = 809c03 This instruction establishes AR1 as a pointer to the table containing the information that sets the sampling frequency and the bandwidth of the antialiasing and reconstruction filters, as well as other constants used by the DSP.

D15D14D13D12D11D10D9D8D6D5D4D3D7D2D1D0 XXXX TA RA X X c Four values are defined in ATABLE. The first and third values define the sampling rate. TB RB 4892

D15D14D13D12D11D10D9D8D6D5D4D3D7D2D1D0 XXXX T’A R’A The second value in table ATABLE sets TA’ and RA’ to zero implying that the sampling frequency will be determined only by TA and TB.

D15D14D13D12D11D10D9D8D6D5D4D3D7D2D1D0 XXX01 1 XXXXX11001 The fourth value of the table is the contents of the control register. Inserts antialiasing filter Disables loop- back function. Disables auxiliary input. Synchronous transmit receive sections The signal varies between  3 volts.