NEC 78K0S/Kx1+ User Manual

The example program describes the single pulse output function of the 16-bit timer/event counter 00. The single pulse output function is used to output a single pulse after a given delay time after detecting an external signal on the TI000 pin. In addition, the effective pulse width changes depending on the number of switch inputs.


NEC 78K0S/Kx1+ User Manual - cover page
Brand
NEC
Category
Other Electronics
Document type
User Manual
Language
Chinese
Pages
50
File format
PDF
File size
1.8 MB
Published
19 November, 2011
Updated
30 September, 2023
Models
78K0S, KX1
MD5 checksum
C9F1BCF8E5A16EEB326564D1C35C5ED9

About this manual

This manual describes an example program that uses the 16‑bit timer/event counter 00 of the NEC 78K0S/Kx1+ microcontroller to generate a single pulse after detecting a rising edge on the TI000 pin. It explains initial configuration, timing parameters, and interrupt handling for pulse width control.

The document includes circuit diagrams, a list of supplied source files, and detailed settings for internal peripherals such as the low‑voltage detector, watchdog timer, and clock source. It also provides revision history and contact information for NEC technical support in China. This manual is written in Chinese.

What's inside

  • Target Devices
  • Initial Settings and Operation Overview
  • Configuration Methods
  • System Simulator SM+ Usage
  • Circuit Diagram
  • Software Files
  • Peripheral Functions
  • Revision History
  • Technical Support

Specifications

CPU clock frequency8 MHz
Internal high‑speed oscillatorUsed as system clock source
Watchdog timerStopped
Low‑voltage detection (LVI) threshold4.3 V ± 0.2 V
Vpp operating range4.5 V – 5.5 V
Timer clock sourcefX/22 (2 MHz)
Delay time before pulse1 ms
Single‑pulse width10 ms

Frequently asked questions

What clock frequency should be set for the CPU?

The CPU clock frequency is set to 8 MHz.

How is the single‑pulse output generated?

When a rising edge is detected on the TI000 pin, the program waits the configured delay (1 ms) and then outputs a single pulse of the configured width (10 ms).

What voltage range is allowed for Vpp?

Vpp must be between 4.5 V and 5.5 V.

Which oscillator is used as the system clock source?

The internal high‑speed oscillator is selected as the system clock source.

Download PDF (1.8 MB)

More NEC Manuals


View all NEC manuals →