Case

PFC151 PADAUK single-chip microcontroller industrial grade 8-bit MTP IO type single-chip microcon

Please use PDK-5S-P003 for burning. Versions of Writer before 3S-P-002 or earlier no longer support burning PFC151.
Jumper connection: You can connect the jumper according to the instructions on the burner software.
Please allow users to select the following two burning modes according to the actual situation.


System features


High anti-interference (High EFT) series
Especially suitable for products with AC power supply, resistance-capacitance step-down circuit, requiring strong anti-interference ability,
Or products with high EFT safety specification test requirements (±4KV)
Operating temperature range: -40 °C ~ 85 °C
ESD > 8 KV


System functions
2KW MTP program space (programmable 1000 times)
128 Bytes data space
One hardware 16-bit timer
Two 8-bit timers can generate 6/7/8-bit PWM waveforms
One hardware comparator
A maximum of 8 IO pins with optional pull-up / pull-down resistors
Each IO pin can be set as a wake-up function
Bandgap circuit provides a 1.20V reference voltage
Clock source: IHRC, ILRC, and EOSC (XTAL)
8-level selectable LVR (Low Voltage Reset) reset voltage from 1.8V to 4.5V
16-level selectable LVD (Low Voltage Detect) detection voltage from 1.8V to 4.5V
Three selectable external interrupt pins


CPU features
8-bit high-performance reduced instruction set CPU
86 efficient instructions
The vast majority of instructions are single-cycle (1T) instructions
Programmable stack pointer and stack depth
Data access supports direct and indirect addressing modes
Using the data memory can be used as the data pointer (index pointer) of the indirect addressing mode
Register address space, data storage space, and MTP program space are mutually independent


System overview and block diagram
PFC151 is an IO type, static MTP single-chip microcontroller. It uses the architecture foundation of RISC to make the execution cycle of most instructions single-cycle,
Only a few indirectly addressed instructions require two instruction cycles.
PFC151 built-in 2KW MTP program memory and 128 bytes of data memory.
PFC151 built-in a hardware comparator.
PFC151 provides a 16-bit hardware counter (Timer16) and two 8-bit counters with PWM (Timer2, Timer3).

PFC151 PADAUK single-chip microcontroller industrial grade 8-bit MTP IO type single-chip microcon(图1)

Program memory (ROM)

The program memory memory of PFC151 is MTP (can be programmed multiple times), which is used to store data (including: data, tables, and interrupt entrances) and the program instructions to be executed. The capacity of the program memory of PFC151 is 2KW, as shown in Table 1.
After reset, the program starts from 0x000 (usually goto FPPA0), and the interrupt entrance is at 0x010.
The MTP memory is used by the system from the address "0x7E0 to 0x7FF", and the address spaces from "0x001 to 0x00F" and "0x011 to 0x7DF" are the user's program spaces.
The last 32 address spaces of the MTP program memory are reserved for system use, such as check codes, serial numbers, etc.

PFC151 PADAUK single-chip microcontroller industrial grade 8-bit MTP IO type single-chip microcon(图2)

System clock and IHRC frequency calibration


The clock sources of the system clock include EOSC, IHRC, and ILRC, and the hardware block diagram of the clock system of PFC151


PFC151 PADAUK single-chip microcontroller industrial grade 8-bit MTP IO type single-chip microcon(图3)

Use interrupt for example


Users must reserve sufficient stack memory to save the interrupt vector. One-level interrupt requires two bytes, and two-level interrupt requires four bytes. The following sample program demonstrates how to handle the interrupt. Please note that handling the interrupt and pushaf require four bytes of stack memory.
void FPPA0 (void)
{...
$ INTEN PA0; // INTEN = 1;
; When the PA0 level changes, an interrupt request is generated
INTRQ = 0; // Clear INTRQ
ENGINT // Enable global interrupt
...
DISGINT // Disable global interrupt
...
}
void Interrupt (void) // Interrupt program
{
PUSHAF // Store the ALU and FLAG registers
// If INTEN.PA0 is dynamically turned on and off in the main program, the expression can determine whether INTEN.PA0 is 1.
// For example: If (INTEN.PA0 && INTRQ.PA0) {…}
// If INTEN.PA0 is always in the enabled state, the judgment of INTEN.PA0 can be omitted to speed up the interrupt execution.
If (INTRQ.PA0)
{ // The interrupt program of PA0
INTRQ.PA0 = 0; // Only need to clear the corresponding bit (PA0)
...
}
...
// (X:) INTRQ = 0; // It is not recommended to use INTRQ = 0 only at the end of the interrupt program to clear all at once
// Because it may accidentally clear the interrupt that has just occurred and has not yet been processed
POPAF // Restore the ALU and FLAG registers


All IO pins of PFC151 have the same structure.

PFC151 PADAUK single-chip microcontroller industrial grade 8-bit MTP IO type single-chip microcon(图4)

Application areas of PADAUK single-chip microcomputer products


Toys:
RF/IR remote controlled helicopter, remote controlled car, PS game console, children's smart toys, animal voice toys, game steering wheel, children's learning machine, etc.


Home appliances:
Induction cooker, electric wok, rice cooker, hot water kettle, health scale, refrigerator control system, remote control, electric fan, washing machine control module, disinfection cabinet, smart home system, remote controlled lamps and other


Electronic consumer goods:
Electronic perpetual calendar, temperature and humidity meter, running speedometer, massager, digital repeat recording, pen electronic gifts, electronic password lock, nickel-hydrogen, lithium battery charger, ultrasonic ranging, anti-theft alarm, lighting control, servo


Others:
Intelligent temperature and humidity recorder, intelligent temperature controller, timer, counter, motor speed controller, mouse, keyboard, mobile storage disk.


Categories

News

Contact Us

Contact: Tianheng Technology

Phone: +8613265876004

Tel: +8675583041117

E-mail: jaycha5574842@qq.com

Add: Shenzhen City, Guangdong Province, China