EM78P458/459

OTP ROM

ComparatorX ( Comparator 1 and Comparator 2 ): To reset TMRX while a match occurs and the

TMRXIF flag is set at the same time.

3. Programming the Related Registers

When defining TMRX, refer to the related registers of its operation as shown in Table 9.It must be noted that the PWMX bits must be disabled if their related TMRXs are employed. That is, bit 7 and bit 6 of the PWMCON register must be set to ‘0’.

Table 10 Related Control Registers of TMR1 and TMR2

Address

Name

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

IOC51

PWMCON/IOC51

PWM2E

PWM1E

T2EN

T1EN

T2P1

T2P0

T1P1

T1P0

4.Timer programming procedures/steps

(1)Load PRDX with the TIMER period.

(2)Enable interrupt function by writing IOCF0, if required

(3)Load a desired value to PWMCON with the TMRX prescaler value and enable both TMRX and disable PWMX.

4.10Comparator

EM78P458/459 has one comparator, which has two analog inputs and one output. The comparator can be employed to wake up from the sleep mode. Fig. 16 shows the circuit of the comparator.

Cin- -

CMP

Cin+ +

CO

Fig. 16 Comparator Operating Mode

1. External Reference Signal

The analog signal that is presented at Cin- compares to the signal at Cin+, and the digital output (CO) of the comparator is adjusted accordingly.

The reference signal must be between Vss and Vdd.

The reference voltage can be applied to either pi of comparator.

Threshold detector applications may be of the same reference.

The comparator can operate from the same or different reference source.

2.Comparator Outputs

This specification is subject to change without prior notice.

41

07.01.2003 (V1.3)

Page 41
Image 41
ELAN Home Systems EM78P459AK manual Comparator, Programming the Related Registers, Timer programming procedures/steps

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.