For my birthday I got a small NSOP-A Microcontroller in a kit and I was wondering if I could use it to convert analog signals to 8-bit digital signals for My raspberry pi. Anyway, that isn't the question. I was looking to see how to program it and I could not find any documentation on what sort of architecture it used. The Microcontroller I'm using is the HT46f47e(made by holtek).

What type of chip is it? And how would I program it?

  • 1
    \$\begingroup\$ Datasheet at holtek.com.tw/productdetail/-/vg/46f4xe \$\endgroup\$ Apr 9, 2018 at 11:41
  • 1
    \$\begingroup\$ Holtek provides a free toolchain for its 8-bit MCUs. \$\endgroup\$
    – filo
    Apr 9, 2018 at 11:46
  • \$\begingroup\$ It seems to be a proprietary core (not ARM, not 8051, ...) But all the information you're looking for can be found on Holtek's site: the MCU datasheet (including pinout, architecture, memory model, I/O registers, instruction set, ...), the type of programming hardware you need, the toolchain, development environment, ... \$\endgroup\$
    – dim
    Apr 9, 2018 at 11:55

1 Answer 1


The HT46f47e made by Holtek is a 8-bit high performance RISC architecture microcontroller. Designed especially for applications that interface directly to analog signals, such as those from sensors. (http://www.holtek.com/productdetail/-/vg/46f4xe)

The main Features are:

  • 13 to 23 bidirectional I/O lines
  • External interrupt input shared with an I/O line
  • 8-bit programmable Timer/Event Counter with overflow interrupt and 7-stage prescaler
  • On-chip crystal and RC oscillator
  • Watchdog Timer function
  • PFD for audio frequency generation
  • Power down and wake-up functions to reduce power consumption
  • Up to 0.5us instruction cycle with 8MHz system clock at VDD=5V
  • 4 or 6-level subroutine nesting
  • 4 channels 8 or 9-bit resolution A/D converter
  • 1 or 2 channel 8-bitPWMoutput shared with I/O lines
  • Bit manipulation instruction
  • Table read instructions
  • 63 powerful instructions
  • All instructions executed in one or two machine cycles
  • Low voltage reset function
  • Flash program memory can be re-programmed up to 100,000 times
  • EEPROM data memory can be re-programmed up to 1,000,000 times
  • Flash program memory data retention > 10 years
  • EEPROM data memory data retention > 10 years
  • ICP (In-Circuit Programming) interface
  • Range of packaging types

One of the possibles programmers is the EIC-300 of Holtek.


  • \$\begingroup\$ How would I program it using a raspberry pi without external hardware? \$\endgroup\$ Apr 9, 2018 at 12:02
  • 3
    \$\begingroup\$ "8-bit high performance" sounds rather contradicting. "High performance" as in "at least it is faster than 8051" seems more accurate. \$\endgroup\$
    – Lundin
    Apr 9, 2018 at 12:03
  • \$\begingroup\$ @BobWillett Rasp PI has nothing to do with this MCU whatsoever. \$\endgroup\$
    – Lundin
    Apr 9, 2018 at 12:04
  • \$\begingroup\$ @Lundin aww.... I'll have to shed some cash \$\endgroup\$ Apr 9, 2018 at 12:05
  • \$\begingroup\$ Is it possible to do it without any external hardware? \$\endgroup\$ Apr 9, 2018 at 12:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.