AN1154 STMicroelectronics, AN1154 Datasheet - Page 73
AN1154
Manufacturer Part Number
AN1154
Description
8031-PSD DESIGN TUTORIAL
Manufacturer
STMicroelectronics
Datasheet
1.AN1154.pdf
(83 pages)
- Current page: 73 of 83
- Download datasheet (677Kb)
cntrl_port_reg[2..0]: DFFE;-- MCU I/O mode control register
addr[15..0]: NODE;-- Demultiplexed addr
fs[7..0] : NODE;-- FLASH segment enable signals
ees[3..0] : NODE; -- EEPROM segment enable signals
swap
enable_data_half: NODE;-- bit 6 of the page register
measured[3..0]: NODE;-- Output from the ADC
desired[3..0]: NODE;-- Input from the MCU
meqd
sm
BEGIN
-- Right now, there is nothing to output to the MCU on the A/D lines
-- Latch in the addr[]
A/D[] = GND;
la[] = A/D[];
la[].ena = ALE;
addr[7..0] = la[];
addr[15..8] = A[];
Addr_Out[] = la[];
begin_comparrison = A/D7;
begin_comparrison.clk = Clock;
begin_comparrison.clrn = Reset~;
begin_comparrison.ena = !WR~ & (addr[] == START_SIG_ADDR);
desired_reg[] = A/D[7..4];
desired_reg[].clk = Clock;
desired_reg[].clrn = Reset~;
desired_reg[].ena = !WR~ & (addr[] == DESIRED_REG_ADDR);
gain_reg[] = A/D[2..0];
gain_reg[].clk = Clock;
gain_reg[].clrn = Reset~;
gain_reg[].ena = !WR~ & (addr[] == GAIN_REG_ADDR);
cntrl_port_reg[] = A/D[2..0];
cntrl_port_reg[].clk = Clock;
cntrl_port_reg[].clrn = Reset~;
cntrl_port_reg[].ena = !WR~ & (addr[] == MCU_IO_OUT_ADDR);
page_reg[] = A/D[];
: NODE; -- bit 7 of the page register
: NODE;-- True when the measured value equals the desired one
: MACHINE WITH STATES (s0, s1, s2, s3);
AN1154 - APPLICATION NOTE
73/83
Related parts for AN1154
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
An Overview og the Phase Locked Loop
Manufacturer:
Philips
Datasheet:
Part Number:
Description:
AN OVERVIEW OF THE LPC FLASH INTERFACE
Manufacturer:
STMicroelectronics
Part Number:
Description:
An Evaluation System Interfacing the MPX2000 Series Pressure Sensors to a Microprocessor
Manufacturer:
Motorola / Freescale Semiconductor
Part Number:
Description:
An FM-IF system for DECT and other high speed GFSK applications
Manufacturer:
Philips Semiconductors / NXP Semiconductors
Part Number:
Description:
An 8 x 8 Discrete Cosine Transform on the StarCore SC140/SC1400 Cores
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Overview of the HCS12 ATD Module
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Introduction to the External Bus Interface on the HCS12X
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An RF Data Link Using Tango3 and Romeo2 RF Modules
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
STMicroelectronics [RIPPLE-CARRY BINARY COUNTER/DIVIDERS]
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
STMicroelectronics [LIQUID-CRYSTAL DISPLAY DRIVERS]
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
BOARD EVAL FOR MEMS SENSORS
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
NPN TRANSISTOR POWER MODULE
Manufacturer:
STMicroelectronics
Datasheet: