The difference between STC15F104E and STC15F104W is:
1. STC15F104E external interrupt is not working, STC15F104W external interrupt can be used, and an additional power-down wake-up special timer.
2. STC15F104E timer has T0 and T1, and STC15F104W timer is T0 and T2.
3. Pins are different.
STC15F104W focuses on:
(1) Timer Module:
T0, T2, T0 work in mode 0 is a 16-bit timing counter that can automatically re-install the initial value, mode 2 is an 8-bit automatic re-install counter, mode 3 is decomposable; T2 work mode is fixed in 16-bit automatic re-install the initial value mode, so it is particularly suitable for the LED industry, the chip's timer module. It can generate higher precision timing time.
(2) Kernel:
the Y5 ultra fast CPU kernel is 20% faster than the ordinary 1T. See the instruction set for details. There are 111 instructions.
(3) Pin Diagram:
P3.3 is RSTOUT_LOW, after power on and reset output low level, but also can be set by software low or high level, the pin can be used as a 16-bit or 32-bit microcontroller reset circuit; P3.4 can output system clock, so it can be used as a 16-bit or 32-bit microcontroller clock circuit; the chip also has a strong encryption function, can replace The encryption chip has only one price per unit price, so it can be recommended to customers.
STC15F104W has no serial port and has relay broadcast mode. It can simulate I2C, serial port, SPI by software and measure external voltage by charging and discharging of IO port to realize AD function.
The input level of P3.1 through output P3.0 can be set in the download software, similar to the relay broadcast mode of serial port 1 of 15 series.
TC15F104W learning board is specially designed for 51 single-chip microcomputer learning, board-mounted common resources, can meet most of the learning needs, described in detail as follows:
1. All IO ports are all extracted.
2. Board-mounted one-way single chip microcomputer controlled LED, connected to the IO port P3.2, can be used for IO port output, PWM wave modulation and other experiments.
3. Onboard one chip switch, connected to IO port P3.3, can be used for IO port input, interrupt and other experiments.
4. The IO chip switch and LED do not affect the normal use of IO port.
5. Board TTL level serial port, RXD (connected to P3.0) and TXD (connected to P3.1) can be used for STC download program / serial communication between PC and PC (timer coordination) and IO input and output experiments.