EasyManua.ls Logo

Renesas V850 Series User Manual

Renesas V850 Series
186 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #142 background imageLoading...
Page #142 background image
CHAPTER 4 PROGRAM LIST
Application Note U17209EJ1V0AN
145
ld.w [sp],r1
add 4,sp
jr _int_MOTOR -- Speed control timer
V_AD0:
ld.w [sp],r1
add 4,sp
jr _int_AD0 -- A/D converter CH0
V_AD1:
ld.w [sp],r1
add 4,sp
jr _int_AD1 -- A/D converter CH1
.extern V_RESET
.extern V_U
.extern V_V
.extern V_W
.extern V_ETC
.extern V_MOTOR
.extern V_AD0
.extern V_AD1
/****************************************************************************** /
/* Interrupt jump table */
/****************************************************************************** /
.section ".vect_RESET",text
mov #V_RESET,r1
jmp [r1]
.section ".id_NO",text
.byte 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff
.section ".vect_U",text
add -4,sp
st.w r1,[sp]
mov #V_U,r1
jmp [r1]
.section ".vect_V",text
add -4,sp
st.w r1,[sp]
mov #V_V,r1
jmp [r1]
.section ".vect_W",text
add -4,sp
st.w r1,[sp]
mov #V_W,r1
jmp [r1]

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Renesas V850 Series and is the answer not in the manual?

Renesas V850 Series Specifications

General IconGeneral
CoreV850
Architecture32-bit
Operating Voltage2.7V to 5.5V
PackageQFP, LQFP, BGA
Communication InterfacesUART, I2C, SPI, CAN
Operating Temperature-40°C to +85°C

Summary

Introduction to V850 Series Application Note

Target Readers for V850 Series

Identifies users familiar with V850 microcontroller functions designing application systems.

Purpose of the Application Note

Explains controlling brushless DC motors using the 120° sensorless drive excitation method.

Organization of the Document

Details how the application note is structured into various sections for clarity.

How to Use This Manual

Assumes reader has general knowledge in electrical engineering, logic circuits, and microcontrollers.

Cautions for Application Examples

Highlights that examples are for standard quality models and require evaluation for special grade applications.

Chapter 1: Control Method

Outline of Brushless DC Motor Control

Describes the components of a BLDC motor and how its rotation is controlled by magnetic fields and microcontrollers.

Chapter 2: Hardware Configuration

System Configuration Overview

Details the reference system's main functions and how the motor operates upon switch activation.

Circuit Diagram Details

Explains the components of the reference system circuit, including microcontroller, switches, and output blocks.

Chapter 3: Software Configuration

Software Control Block

Illustrates the software control block of the reference system, showing interactions between components.

Peripheral I/O Functions

Lists and describes the peripheral I/O functions utilized within the reference system.

Software Processing Structure

Presents the main processing structure and interrupt processing structure of the software.

Flowchart of Main Processing

Illustrates the main processing flow, including initialization and mode switching logic.

Chapter 4: Program List

Program List for V850E/IA1

Provides the symbol definitions and constant definitions for the V850E/IA1 microcontroller.

Program List for V850E/IA2

Details the symbol definitions and constant definitions applicable to the V850E/IA2 microcontroller.

Program List for V850E/IA3

Lists symbols, constants, and program structures for the V850E/IA3 microcontroller.

Program List for V850E/IA4

Contains symbol definitions, constants, and program details for the V850E/IA4 microcontroller.

Program List for V850E/MA3

Presents symbol definitions, constants, and program listings for the V850E/MA3 microcontroller.