Table Of Contents - Renesas M16C/Tiny User Manual

Hide thumbs Also See for M16C/Tiny:
Table of Contents

Advertisement

Contents
1. About This Platform ..................................................................................................................................7
1.1 The hardware block diagram ...........................................................................................................7
1.2 The hardware resource assignment table.........................................................................................7
1.3 software specifications ....................................................................................................................8
2 Description of Software..............................................................................................................................9
2.1 Output Pattern Switching ................................................................................................................9
2.2 Detection of Induced Voltages.......................................................................................................11
2.3 Calculation of Actual Rotation Speed ...........................................................................................12
2.4 Calculation of Target Rotation Speed............................................................................................12
2.5 Calculation of PWM Duty Cycle ..................................................................................................13
2.6 List of function modules................................................................................................................14
2.7 List of vrialbles..............................................................................................................................15
2.8 List of Macro definition ................................................................................................................16
2.9 List of constant variable ................................................................................................................16
3 Finite State Machine of Motor Control ....................................................................................................17
3.1 State Discription ............................................................................................................................17
3.2 Condition Description ...................................................................................................................18
4 Control flow .............................................................................................................................................19
commutation........................................................................................................................................19
4.2 Initialization Processing ................................................................................................................20
4.3 Turn-off Processing .......................................................................................................................21
4.4 PWM Interrupt Processing ............................................................................................................22
4.5 Bootstrap Processing .....................................................................................................................23
4.6Turn-on Processing.........................................................................................................................24
4.7 TB1 Interrupt Processing...............................................................................................................26
4.8 Stop Check Processing ..................................................................................................................26
4.9 Run Processing ..............................................................................................................................27
4.10 PWM Run Calculation Processing ..............................................................................................28
4.11 PWM Duty Calculation Processing .............................................................................................32
4.12 Calculate Rotation Speed Command Processing.........................................................................34
RSBJEUM0001-0101 Rev. 1.01
6

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rsbj

Table of Contents