ELAN Home Systems EM78P459AK, EM78P459AM, EM78P458AM, EM78P458AP manual Data Memory Configuration

Page 11

EM78P458/459

OTP ROM

00

R0

 

 

 

 

01

R1

(TCC)

 

 

 

02

R2

(PC)

STACK 0

R9<5> (IOCS)

 

03

R3

(Status)

STACK 1

 

 

04

R4

(RSR)

STACK 2

0

1

05

R5

(Port 5)

STACK 3

IOC50

IOC51 (PWMCON)

06

R6

(Port 6)

STACK 4

IOC60

IOC61 (DT1L)

07

R7

 

STACK 5

 

IOC71 (DT1H)

08

R8

 

STACK 6

 

IOC81 (PRD1)

09

R9 (ADCON)

STACK 7

IOC90 (GCON)

IOC91 (DT2L)

0A

RA (ADDATA)

 

IOCA0 (AD-CMPCON)

IOCA1 (DT2H)

0B

RB (TMR1L)

 

IOCB0

IOCB1 (PRD2)

0C

RC (TMR1H)

 

IOCC0

IOCC1 (DL1L)

0D

RD (TMR2L)

 

IOCD0

IOCD1 (DL1H)

0E

RE (TMR2H)

 

IOCE0

IOCE1 (DL2L)

0F

RF

 

 

IOCF0

IOCF1 (DL2H)

10

 

 

 

 

 

11

 

 

 

 

 

 

 

16x8

 

 

 

 

 

Common

 

 

 

 

 

Register

 

 

 

1E

 

 

 

 

 

1F

 

 

 

 

 

 

PSR7, PSR6

 

 

 

 

 

00

 

01

 

20

 

20

 

20

 

21

 

 

 

 

 

 

 

32x8

 

32x8

 

 

 

Bank

 

Bank

 

 

 

Register

 

Register

 

 

 

(Bank 0)

 

(Bank 1)

3F

 

3F

 

3F

 

Fig. 4 Data Memory Configuration

This specification is subject to change without prior notice.

11

07.01.2003 (V1.3)

Image 11
Contents BIT MICRO-CONTROLLER EM78P458/459Application Note EM78P458/459General Description Features EM78P458/459 PIN Assignment EM78P459 Pin Description R1 Time Clock /Counter Function DescriptionOperational Registers R0 Indirect Addressing RegisterProgram Counter Organization R7 ~ R8 R3 Status RegisterR4 RAM Select Register R5 ~ R6 Port 5 ~ PortData Memory Configuration 11. RC R9 Adcon Analog to Digital ControlRA Addata the converted value of ADC 10. RB15. R10 ~ R3F Special Purpose Registers13. RE RF Interrupt Status RegisterBit 0 PSR0 ~ Bit 2 PSR2 TCC/WDT prescaler bits Control RegisterIOC50 ~ IOC60 I/O Port Control Register Inte INT PAB PSR2 PSR1 PSR0Vrefs COE IMS2 IMS1 IMS0 CKR1 CKR0 IOC90 Gcon I/O Configuration & Control of ADCOP2E OP1E IMS2IMS0 Description of AD Configuration Control BitsIOCB0 Pull-down Control Register Bit4Bit2 IMS2IMS0IOCD0 Pull-high Control Register IOCC0 Open-Drain Control RegisterCmpie PWM2IE PWM1IE Adie Exie Icie Tcie IOCE0 WDT Control RegisterIOCF0 Interrupt Mask Register Wdte EISPWM2E PWM1E T2EN T1EN IOC51 PwmconCALI2 SIGN2 IOC81 PRD1 Period of PWM1CALI1 SIGN1 Bit 5Bit 3 VOF12VOF10 Offset voltage bitsBit 5Bit 3 VOF22VOF20 Offset voltage bits IOCB1 PRD2 Period of PWM2TCC/WDT & Prescaler I/O Ports Block Diagram of TCC and WDTCcircuit of I/O Port and I/O Control Register for Port Circuit of I/O Port and I/O Control Register for P60~P67 Usage of Port 6 Input Changed Wake-up/Interrupt Function Reset and Wake-upFunction of Reset and Wake-up Contw CLR R1 Status of T, and P of Status Register Status of RST, T and P being Affected by Events Values of RST, T, and P after ResetInterrupt Interrupt Input Circuit Analog-To-Digital Converter ADCADCON/R9 BIT Symbol Iocs Adrun Adpd ADIS2 ADIS1 ADIS0BIT Symbol Vrefs COE IMS2 IMS1 IMS0 CKR1 CKR0 ADC Control Register ADCON/R9, AD-CMP-CON/IOCA0, GCON/IOC90Shows the Gains and the Operating Range of ADC ADC Data Register ADDATA/RACKR1 and CKR0 Bit 1 and Bit 0 The conversion time select GCON/IOC90Programming Steps/Considerations D Operation During Sleep ModeD Sampling Time D Conversion TimeCINT== 0XF Demonstration ProgramsIocs Adrun Adpd ADIS2 ADIS1 ADIS0 Overview Dual Sets of PWM Pulse Width ModulationFunctional Block Diagram of the Dual PWMs Increment Timer Counter Tmrx TMR1H/TWR1L or TMR2H/TWR2LPeriod = Prdx + 1 * 4 * 1/Fosc * Tmrx prescale value PWM Programming Procedures/StepsPWM Period Prdx PRD1 or PRD2 ComparatorPrdx PRD1 and PRD2 PWM period register TimerFunction description TMR1X and TMR2X TMR1H/TWR1L and TMR2H/TMR2LProgramming the Related Registers Timer programming procedures/stepsExternal Reference Signal ComparatorInterrupt Using as An Operation AmplifierWake-up from Sleep Mode Summary of the Initialized Values for Registers Initialized Values after ResetCALI1 SIGN1 Oscillator Modes OscillatorEM78P459 Crystal Oscillator/Ceramic Resonators XtalSummary of Maximum Operating Speeds EM78P458Vdd HXTLXT EM78P458 EM78P459External RC Oscillator Mode EM78P458 EM78P459 Vcc Rext RC Oscillator Mode with Internal CapacitorEM78P458 EM78P459 Rin Power-on ConsiderationsExternal Power on Reset Circuit Residue-Voltage ProtectionEnwdt Clks PTB HLF RCT HLP Code Option Register WordBit 11 ~ Bit 9 VOF22~VOF20 Offset voltage bits Bit 5 ~ Bit 0 ID5~ID0 Customer’s IDList of the instruction set of EM78P458/459 Instruction SetADD A,R TCC Input Timing CLKS=0 Timing DiagramsReset Timing CLK=0 AC Test Input/Output WaveformAbsolute Maximum Ratings Crystal type, two clocks Electrical CharacteristicsAC Electrical CharacteristicTa=0C ~ 70 C, VDD=5V±5%, VSS=0V ComparatorOP CharacteristicVdd = 5.0V,Vss=0V,Ta=0 toIVR DIP AppendixPackage Types OTP MCU

EM78P458, EM78P459AM, EM78P458AM, EM78P459AK, EM78P459 specifications

ELAN Home Systems offers a range of advanced microcontrollers, including the EM78P458AP, EM78P459, EM78P459AK, EM78P458AM, and EM78P459AM, that cater to various applications in the consumer electronics sector. These microcontrollers are known for their high efficiency, low power consumption, and robust performance, making them ideal for a wide range of smart home devices.

The EM78P458AP and EM78P459 models feature an 8-bit architecture, enabling efficient processing for applications requiring moderate complexity. They are equipped with a variety of I/O options, including GPIO, UART, and ADC, facilitating seamless integration with numerous peripherals. This flexibility allows developers to create customized solutions tailored to specific user needs.

One of the main highlights of these microcontrollers is their low-power operation, which is essential for battery-operated devices. This is particularly appealing in smart home contexts, where devices are expected to maintain long operational lifetimes without frequent battery replacements. The EM78P458AP and EM78P459 series prioritize energy efficiency, ensuring that they consume minimal power during both active and idle states.

In terms of memory, these microcontrollers also provide substantial ROM and RAM capacities, which enhance their ability to handle complex programs and data. The EM78P459AK variant adds additional features that empower developers with greater flexibility in terms of code storage and execution.

Another critical aspect of these microcontrollers is their built-in protection mechanisms, including voltage and thermal protection, which ensure safe operations under varying environmental conditions. This is vital for home automation systems, where device reliability is paramount to user satisfaction.

The EM78P458AM and EM78P459AM models further extend the family with added functionalities, such as enhanced communication capabilities featuring protocols like I2C and SPI. This facilitates robust inter-device communication, making it easier to integrate various smart home devices into a cohesive network.

Overall, ELAN Home Systems’ EM78P458 and EM78P459 series microcontrollers stand out for their versatile application potential, low power consumption, and reliability. With their innovative technologies and characteristics, they are well-suited for driving the next generation of smart home solutions, ensuring convenience, efficiency, and connectivity for users worldwide.