Presentation is loading. Please wait.

Presentation is loading. Please wait.

HT46 A/D Type MCU Series Data Memory (Byte) Program Memory HT46R22 (OTP) HT46C22 (Mask) 2Kx14 64 8Kx16 4Kx15 192384 HT46R23 (OTP) HT46C23 (Mask) HT46R24.

Similar presentations


Presentation on theme: "HT46 A/D Type MCU Series Data Memory (Byte) Program Memory HT46R22 (OTP) HT46C22 (Mask) 2Kx14 64 8Kx16 4Kx15 192384 HT46R23 (OTP) HT46C23 (Mask) HT46R24."— Presentation transcript:

1 HT46 A/D Type MCU Series Data Memory (Byte) Program Memory HT46R22 (OTP) HT46C22 (Mask) 2Kx14 64 8Kx16 4Kx15 192384 HT46R23 (OTP) HT46C23 (Mask) HT46R24 (OTP) HT46C24 (Mask) HT46R25* (OTP) HT46C25* (Mask) 16Kx16 576 * Under development, available in 4Q, 2004

2 HT46 A/D Type MCU Series

3 Features of A/D Type HT46 Series RISC Architecture Direct and Indirect Addressing mode. Total 63 instructions. Table read function. Maximum 16 stack ( by product) Operating Voltage: –Fsys = 4Mhz, 2.2~5.5v –Fsys = 8Mhz, 3.3~5.5v Idd : 2mA (tpy.) (5V, 4MHz, Xtal, ADC disable) Istb : 1uA (max.) (WDT, RTC disabled). -40 o C~85 o C Operating temperature.(Industrial grade)

4 Peripheral Feature I/O with pull high function. Port A with wake up function. Timer function Watch dog function Halt and wakeup for low power consumption. I 2 C interface PFD driver output. On-chip crystal and RC oscillator LVR for Brown-out protection. Multi-channel 9 or 10-bit A/D converter Pulse Width Modulator output.

5 Block Diagram

6 Program Memory Map

7 Special Purpose Data Memory

8 General Purpose Data Memory 2 banks of Data memory in HT46X24 –Each one has 192x8 bytes (total 384 bytes). –Need to use BP(bank pointer in special RAM) to select Bank0 or Bank1 data memory. BP=0 Access Bank0 data. BP=1 Access Bank1 data. –Only use MP1 by Indirect Addressing mode to access.

9 PWM PWM is Pulse Width Modulator. There are two modes 6+2 or 7+1 selected by configuration. User can change the frequency duty software –by writing data to PWM0~PWM3 special data register. PWM function can be controlled On/Off by software. –Enable PWM output : SET PD0 –Disable PWM output : CLR PD0

10 PWM 6+2 Mode

11 PWM 7+1 Mode

12 Analog to Digital Converter The HT46 series have a 9 or 10-bit ADC. ADC can be disabled by software. Max. 4 or 8 channels can input to the ADC. –Channels set in ADCR by software ADC channels are pin-shared with Port B. –As ADC input or Port B set in ADCR by software Input range is from 0 to VDD. Min. ADC clock period is 1us. ADC sampling time is 32 ADC clocks. ADC convert time is 76 ADC clocks. Max. INL ± 1 LSB.

13 ADC Convert Data Register ADRL/ADRH are two registers to store the ADC convert data.

14 A/D Convert Control Register

15 A/D Convert Clock Source Register

16 A/D Convert Timing Diagram

17 I 2 C Bus Interface I 2 C bus is a bidirectional 2-wire serial interface. –SCL : serial clock pin. –SDA : serial data pin. I 2 C output is of open drain. An external pull high resistor is needed. HT46 series I 2 C bus is only operates in Slave mode. For Master mode, user can implement by software.

18 I 2 C Registers I 2 C Slave Address Register - HADR I 2 C Input/Output Data Register – HDR I 2 C Control Register – HCR. I 2 C Status Register – HRS. Using HT46 serial I 2 C Slave function, user can only need to set some flags and polling some status flags. Then, I2C bus can work.

19 Configuration Options


Download ppt "HT46 A/D Type MCU Series Data Memory (Byte) Program Memory HT46R22 (OTP) HT46C22 (Mask) 2Kx14 64 8Kx16 4Kx15 192384 HT46R23 (OTP) HT46C23 (Mask) HT46R24."

Similar presentations


Ads by Google