Renesas MN4 Spezifikationen

Stöbern Sie online oder laden Sie Spezifikationen nach Kraftschraubendreher Renesas MN4 herunter. Renesas MN4 Specifications Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 33
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
APPLICATION NOTE
R01AN0926EJ0100 Rev.1.00 Page 1 of 30
Feb 07, 2012
V850E2/MN4
UARTJ Control
Introduction
This application note explains how to set up the UARTJ serial interface (with FIFO) and also gives an outline of the
operation and describes the procedures for using a sample program. The sample program sets the baud rate to 19200 bps
and executes serial communication between the UARTJ1 and the UARTJ3. The UARTJ1 transmits data and the
UARTJ3 receives the data. The internal RAM has a 16-byte user transmit array and a 16-byte user receive array.
Target Device
V850E2/MN4 Microcontrollers
Contents
1. Overview ........................................................................................................................................... 2
2. Usage Environment........................................................................................................................... 5
3. Software ............................................................................................................................................ 6
4. Sample Application............................................................................................................................ 7
R01AN0926EJ0100
Rev.1.00
Feb 07, 2012
Seitenansicht 0
1 2 3 4 5 6 ... 32 33

Inhaltsverzeichnis

Seite 1 - V850E2/MN4

APPLICATION NOTE R01AN0926EJ0100 Rev.1.00 Page 1 of 30 Feb 07, 2012 V850E2/MN4 UARTJ Control Introduction This application note explains how to

Seite 2 - 1. Overview

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 10 of 30 Feb 07, 2012 4.1.4 Transmit/Receive Control Processing When transmit data is w

Seite 3

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 11 of 30 Feb 07, 2012 4.1.5 Status Interrupt Processing A status interrupt request occu

Seite 4 - 1.2 UARTJ Setup

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 12 of 30 Feb 07, 2012 4.2 Register Setup This section explains how to set up the relevan

Seite 5 - 2.2 Development Environment

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 13 of 30 Feb 07, 2012 4.2.2 UARTJn Control Register 2 (URTJnCTL2) The UARTJnCTL2 regist

Seite 6 - 3.1 File Organization

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 14 of 30 Feb 07, 2012 Setting example URTJnCTL2 = 0x60D9; /* Assume that PCLK is set

Seite 7 - 4.1 Flow Charts

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 15 of 30 Feb 07, 2012 4.2.3 UARTJn Control Register 0 (URTJnCTL0) The UARTJnCTL0 regist

Seite 8

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 16 of 30 Feb 07, 2012 Figure 4.8 URTJnCTL0 Register Format (2/2) Setting examples URT

Seite 9

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 17 of 30 Feb 07, 2012 4.2.4 UARTJn Control Register 1 (URTJnCTL1) The UARTJnCTL1 regist

Seite 10 - V850E2/MN4 UARTJ Control

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 18 of 30 Feb 07, 2012 Figure 4.10 URTJnCTL1 Register Format (2/3)

Seite 11

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 19 of 30 Feb 07, 2012 Figure 4.11 URTJnCTL1 Register Format (3/3) Setting example: U

Seite 12 - 4.2 Register Setup

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 2 of 30 Feb 07, 2012 1. Overview This application note illustrates the usage examples of

Seite 13

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 20 of 30 Feb 07, 2012 4.2.5 FIFO Control Register 0 (URTJnFCTL0) The URTJnFCTL0 registe

Seite 14

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 21 of 30 Feb 07, 2012 4.2.6 FIFO Control Register 1 (URTJnFCTL1) The URTJnFCTL1 registe

Seite 15

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 22 of 30 Feb 07, 2012 4.2.7 UARTJn Status Clear Register 0 (URTJnSTC) The error flags i

Seite 16

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 23 of 30 Feb 07, 2012 4.2.8 FIFO Status Clear Register (URTJnFSTC) The error flags in U

Seite 17

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 24 of 30 Feb 07, 2012 4.3 Function Specifications This section describes the specifica

Seite 18

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 25 of 30 Feb 07, 2012 [Function Name] hbus_initial() [Function] Initializes the AHB

Seite 19

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 26 of 30 Feb 07, 2012 [Function Name] wait() [Function] Waits for a certain number o

Seite 20

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 27 of 30 Feb 07, 2012 4.3.4 Transmit Processing (uartj_transmit.c) [Function Name] urt

Seite 21

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 28 of 30 Feb 07, 2012 4.3.5 Interrupt Processing (interrupt.c) [Function Name] int_urt

Seite 22

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 29 of 30 Feb 07, 2012 [Function Name] int_urtj3ire () [Function] Processes the UARTJ

Seite 23

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 3 of 30 Feb 07, 2012 The basic communication specifications are shown below. Receive I/F

Seite 24

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 30 of 30 Feb 07, 2012 Website and Support Renesas Electronics Website http://www.renesas

Seite 25

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

Seite 26

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 27

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 28

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 4 of 30 Feb 07, 2012 1.1 Initialization The general registers and functional pins are in

Seite 29

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 5 of 30 Feb 07, 2012 2. Usage Environment This section provides the circuit diagram and

Seite 30 - Website and Support

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 6 of 30 Feb 07, 2012 3. Software This section describes the file organization of the sam

Seite 31 - Revision Record

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 7 of 30 Feb 07, 2012 4. Sample Application This section explains how to set up the UARTJ

Seite 32

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 8 of 30 Feb 07, 2012 4.1.2 Receive Interrupt Processing When data is received via the U

Seite 33 - SALES OFFICES

V850E2/MN4 UARTJ Control R01AN0926EJ0100 Rev.1.00 Page 9 of 30 Feb 07, 2012 4.1.3 Transmit Interrupt Processing If the fill stage of the trans

Kommentare zu diesen Handbüchern

Keine Kommentare