Renesas MN4 Especificaciones

Busca en linea o descarga Especificaciones para Destornilladores Motorizados Renesas MN4. Renesas MN4 Specifications Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 33
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 0
1 2 3 4 5 6 ... 32 33

Indice de contenidos

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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)

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 18

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

Pagina 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

Pagina 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

Pagina 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

Pagina 22

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

Pagina 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

Pagina 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

Pagina 25

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Comentarios a estos manuales

Sin comentarios