Renesas MN4 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Kraftschraubendreher Renesas MN4 herunter. Renesas MN4 User manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 57
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
APPLICATION NOTE
R01AN0922EJ0100 Rev.1.00 Page 1 of 54
Jan 13, 2012
V850E2/MN4
Timer Array Unit Control
Introduction
This application note explains how to set up the 16-bit timer array unit A (TAUA) and 32-bit timer array unit J (TAUJ)
and also gives an outline of the operation and describes the procedure for using a sample program. The sample program
makes the TAUA generate the PWM signal and output the signal to the TAUJ and makes the TAUJ measure the width
of the signal input from the TAUA.
Target Device
V850E2/MN4 Microcontrollers
Contents
1. Overview ........................................................................................................................................... 2
2. Usage Environment........................................................................................................................... 3
3. Software ............................................................................................................................................ 4
4. Sample Application............................................................................................................................ 5
R01AN0922EJ0100
Rev.1.00
Jan 13, 2012
Seitenansicht 0
1 2 3 4 5 6 ... 56 57

Inhaltsverzeichnis

Seite 1

APPLICATION NOTE R01AN0922EJ0100 Rev.1.00 Page 1 of 54 Jan 13, 2012 V850E2/MN4 Timer Array Unit Control Introduction This application note expl

Seite 2 - 1.3 TAUJ Setup

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 10 of 54 Jan 13, 2012 4.4 Register Setup This section explains how to set up

Seite 3 - 2.1 Circuit Diagram

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 11 of 54 Jan 13, 2012 4.4.2 TAUAn Prescaler Registers • TAUAn prescaler clo

Seite 4 - 3.1 File Organization

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 12 of 54 Jan 13, 2012 Figure 4.8 TAUAnTPS Register Format (2/4)

Seite 5 - 4.1 Flow Charts

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 13 of 54 Jan 13, 2012 Figure 4.9 TAUAnTPS Register Format (3/4)

Seite 6

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 14 of 54 Jan 13, 2012 Figure 4.10 TAUAnTPS Register Format (4/4) Setting

Seite 7 - 4.2 Details of TAUA Setup

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 15 of 54 Jan 13, 2012 4.4.3 TAUAn Control Registers • TAUAn channel data re

Seite 8

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 16 of 54 Jan 13, 2012 • TAUAn channel counter register (TAUAnCNTm) This regi

Seite 9 - 4.3 Details of TAUJ Setup

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 17 of 54 Jan 13, 2012 Figure 4.13 TAUAnCNTm Register Format (2/2)

Seite 10 - 4.4 Register Setup

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 18 of 54 Jan 13, 2012 • TAUAn channel mode OS register (TAUAnCMORm) This reg

Seite 11

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 19 of 54 Jan 13, 2012 Figure 4.15 TAUAnCMORm Register Format (2/4)

Seite 12

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 2 of 54 Jan 13, 2012 1. Overview This application note illustrates the usage

Seite 13 - Jan 13, 2012

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 20 of 54 Jan 13, 2012 Figure 4.16 TAUAnCMORm Register Format (3/4)

Seite 14

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 21 of 54 Jan 13, 2012 Figure 4.17 TAUAnCMORm Register Format (4/4)

Seite 15

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 22 of 54 Jan 13, 2012 Setting examples TAUA1CMOR0 = 0x0801; /* CK0, mast

Seite 16

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 23 of 54 Jan 13, 2012 Figure 4.18 TAUAnTS Register Format Setting exampl

Seite 17

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 24 of 54 Jan 13, 2012 • TAUAn channel enable status register (TAUAnTE) This

Seite 18

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 25 of 54 Jan 13, 2012 • TAUAn channel stop trigger register (TAUAnTT) This r

Seite 19

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 26 of 54 Jan 13, 2012 4.4.4 TAUAn Output Registers • TAUAn channel output en

Seite 20

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 27 of 54 Jan 13, 2012 • TAUAn channel output mode register (TAUAnTOM) This r

Seite 21

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 28 of 54 Jan 13, 2012 • TAUAn channel output configuration register (TAUAnTO

Seite 22

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 29 of 54 Jan 13, 2012 • TAUAn channel dead time output enable register (TAUA

Seite 23

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 3 of 54 Jan 13, 2012 2. Usage Environment This section explains the circuit d

Seite 24

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 30 of 54 Jan 13, 2012 • TAUAn channel real-time output enable register (TAUA

Seite 25

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 31 of 54 Jan 13, 2012 4.4.5 TAUAn Channel Output Level Registers • TAUAn ch

Seite 26 - 4.4.4 TAUAn Output Registers

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 32 of 54 Jan 13, 2012 4.4.6 TAUAn Simultaneous Rewrite Registers • TAUAn ch

Seite 27

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 33 of 54 Jan 13, 2012 • TAUAn channel reload data control channel select reg

Seite 28

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 34 of 54 Jan 13, 2012 • TAUAn channel reload data mode register (TAUAnRDM) T

Seite 29

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 35 of 54 Jan 13, 2012 4.4.7 TAUJn Prescaler Registers • TAUJn prescaler clo

Seite 30

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 36 of 54 Jan 13, 2012 Figure 4.31 TAUJnTPS Register Format (2/3)

Seite 31

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 37 of 54 Jan 13, 2012 Figure 4.32 TAUJnTPS Register Format (3/3) Setting

Seite 32

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 38 of 54 Jan 13, 2012 4.4.8 TAUJn Control Registers • TAUJn channel data re

Seite 33

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 39 of 54 Jan 13, 2012 • TAUJn channel counter register (TAUJnCNTm) This regi

Seite 34

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 4 of 54 Jan 13, 2012 3. Software This section describes the file organization

Seite 35

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 40 of 54 Jan 13, 2012 Figure 4.35 TAUJnCNTm read values

Seite 36

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 41 of 54 Jan 13, 2012 • TAUJn channel mode OS register (TAUJnCMORm) This reg

Seite 37

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 42 of 54 Jan 13, 2012 Figure 4.37 TAUJnCMORm Register Format (2/3)

Seite 38

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 43 of 54 Jan 13, 2012 Figure 4.38 TAUJnCMORm Register Format (3/3) Setti

Seite 39

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 44 of 54 Jan 13, 2012 • TAUJn channel mode user register (TAUJnCMURm) This r

Seite 40

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 45 of 54 Jan 13, 2012 • TAUJn channel status register (TAUJnCSRm) This regi

Seite 41

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 46 of 54 Jan 13, 2012 • TAUJn channel status clear register (TAUJnCSCm) This

Seite 42

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 47 of 54 Jan 13, 2012 • TAUJn channel start trigger register (TAUJnTS) This

Seite 43

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 48 of 54 Jan 13, 2012 • TAUJn channel enable status register (TAUJnTE) This

Seite 44

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 49 of 54 Jan 13, 2012 • TAUJn channel stop trigger register (TAUJnTT) This r

Seite 45

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 5 of 54 Jan 13, 2012 4. Sample Application This section explains how to set u

Seite 46

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 50 of 54 Jan 13, 2012 4.4.9 TAUJn Output Registers • TAUJn channel output e

Seite 47

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 51 of 54 Jan 13, 2012 4.4.10 TAUJn Channel Output Level Registers • TAUJn c

Seite 48

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 52 of 54 Jan 13, 2012 4.5 Function Specifications This section describes th

Seite 49

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 53 of 54 Jan 13, 2012 4.5.4 Timer Array Unit J Control (tauj_control.c) [Fun

Seite 50

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 54 of 54 Jan 13, 2012 Website and Support Renesas Electronics Website http:/

Seite 51

A-1 Revision Record Description Rev. Date Page Summary 1.00 Jan 13, 2012 — First edition issued

Seite 52 - 4.5.1 Main (main.c)

General Precautions in the Handling of MPU/MCU Products The following usage notes are applicable to all MPU/MCU products from Renesas. For detailed

Seite 53

Notice1. All information included in this document is current as of the date this document is issued. Such information, however, is subject to chan

Seite 54 - Website and Support

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 6 of 54 Jan 13, 2012 4.1.2 Interrupt Processing Flow The INTTUAJ0I0 interrup

Seite 55 - Revision Record

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 7 of 54 Jan 13, 2012 4.2 Details of TAUA Setup In this sample program, the T

Seite 56

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 8 of 54 Jan 13, 2012 Slave channel: Positive logic (TAUAnTOL.TAUAnTOLm = 0)

Seite 57 - Colophon 1.1

V850E2/MN4 Timer Array Unit Control R01AN0922EJ0100 Rev.1.00 Page 9 of 54 Jan 13, 2012 4.3 Details of TAUJ Setup In this sample program, the T

Kommentare zu diesen Handbüchern

Keine Kommentare