Renesas MN4 Especificações

Consulte online ou descarregue Especificações para Chaves de fendas elétricas Renesas MN4. Renesas MN4 Specifications Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 33
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 0
1 2 3 4 5 6 ... 32 33

Resumo do Conteúdo

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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)

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 18

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

Página 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

Página 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

Página 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

Página 22

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

Página 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

Página 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

Página 25

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Comentários a estes Manuais

Sem comentários