Specifications
SKU: 1560689
HT46R47/HT46C47 8-Bit A/D Type MCU
Below is the parameter table and instructions for the HT46R47 microcontroller:
HT46R47 Parameter Table
Parameter | Symbol | Min | Typ | Max | Unit | Condition |
---|---|---|---|---|---|---|
Supply Voltage | VDD | 2.0 | 3.3 | 5.5 | V | |
Operating Temperature | -40 | 85 | °C | |||
Maximum Clock Frequency | fosc | 20 | 20 | MHz | ||
Flash Memory Size | 4 | 4 | KB | |||
RAM Size | 192 | 192 | B | |||
EEPROM Size | 64 | 64 | B | |||
I/O Ports | 17 | 17 | ||||
ADC Channels | 8 | 8 | 10-bit resolution | |||
Timer/Counters | 2 | 2 | 16-bit | |||
UARTs | 1 | 1 | ||||
SPIs | 1 | 1 | ||||
I2Cs | 1 | 1 | ||||
Watchdog Timer | 1 | 1 | ||||
Power Consumption (Active) | 1.2 | 1.5 | mA | @ 3.3V, 20MHz | ||
Power Consumption (Sleep) | 0.1 | 0.5 | μA | @ 3.3V, 20MHz |
Instructions for HT46R47
Power Supply:
- Ensure the supply voltage (VDD) is within the range of 2.0V to 5.5V.
- Connect the VSS pin to ground.
Clock Configuration:
- The HT46R47 supports an external crystal or resonator for clock generation. For a 20MHz operation, use a 20MHz crystal connected to the X1 and X2 pins.
- Alternatively, use the internal oscillator for lower frequency applications.
Programming:
- Use an in-circuit serial programming (ICSP) interface to program the flash memory.
- Ensure the programming voltage (VPP) is applied to the appropriate pin during programming.
I/O Configuration:
- Configure the I/O ports using the internal pull-up resistors or external pull-up/pull-down resistors as needed.
- Set the direction of each port (input or output) using the TRIS register.
ADC Usage:
- Initialize the ADC module by setting the appropriate control registers.
- Select the desired channel and start the conversion.
- Read the ADC result from the data register.
Timer/Counter Configuration:
- Set the timer/counter mode and prescaler value.
- Enable the timer/counter and configure interrupts if needed.
UART Configuration:
- Set the baud rate and other communication parameters.
- Enable the UART module and configure interrupts for data reception and transmission.
SPI Configuration:
- Set the SPI mode (master or slave) and configure the clock polarity and phase.
- Enable the SPI module and configure interrupts if needed.
I2C Configuration:
- Set the I2C mode (master or slave) and configure the clock speed.
- Enable the I2C module and configure interrupts for data reception and transmission.
Watchdog Timer:
- Enable the watchdog timer and set the timeout period.
- Service the watchdog timer periodically to prevent a reset.
Low Power Modes:
- Use the sleep mode to reduce power consumption.
- Configure wake-up sources to exit sleep mode when necessary.
Reset:
- Ensure a proper reset circuit is in place to initialize the microcontroller.
- Use the reset pin (RST) to perform a hardware reset.
EEPROM Usage:
- Initialize the EEPROM module and write/read data as needed.
- Ensure proper timing and error handling for EEPROM operations.
By following these instructions, you can effectively use the HT46R47 microcontroller in your projects.
(For reference only)Inquiry - HT46R47