Fujitsu MB91460 SERIES FR60 User Manual page 919

32-bit microcontroller
Table of Contents

Advertisement

To program the AN18 pin as an input
To program the AN19 pin as an input
To program the AN20 pin as an input
To program the AN21 pin as an input
To program the AN22 pin as an input
To program the AN23 pin as an input
To program the AN24 pin as an input
To program the AN25 pin as an input
To program the AN26 pin as an input
To program the AN27 pin as an input
To program the AN28 pin as an input
To program the AN29 pin as an input
To program the AN30 pin as an input
To program the AN31 pin as an input
* Analogue input channels AN14 and AN15 can be also used as D/A converter outputs. In case of exclusive A/D converter
usage do not enable the D/A converter output with DACR.DAE[1:0] since this has priority over A/D converter input. See
chapter
"D/A Converter (Page
6.5 How do I enable analog pin input for Stepper Motor Controller?
Use Port Function register PFR and Extra Port Function register EPFR.
Operation
To program the AN16 pin as an input for SMC1P0
To program the AN17 pin as an input for SMC1M0
To program the AN18 pin as an input for SMC2P0
To program the AN19 pin as an input for SMC2M0
To program the AN20 pin as an input for SMC1P1
To program the AN21 pin as an input for SMC1M1
To program the AN22 pin as an input for SMC2P1
To program the AN23 pin as an input for SMC2M1
To program the AN24 pin as an input for SMC1P2
To program the AN25 pin as an input for SMC1M2
To program the AN26 pin as an input for SMC2P2
To program the AN27 pin as an input for SMC2M2
To program the AN28 pin as an input for SMC1P3
To program the AN29 pin as an input for SMC1M3
To program the AN30 pin as an input for SMC2P3
To program the AN31 pin as an input for SMC2M3
See chapter
"Stepper Motor Controller (Page
6.6 To select how to activate the A/D converter
There are three types of activation triggers:
• Software trigger
• Reload timer rising signal
• External trigger input falling signal
To set an activation trigger, use Activation Trigger Selection bits (ADCS.STS[1: 0]).
No.909)" for further information about D/A converter.
No.871)" about using the A/D converter for SMC operation.
A/D Activation Trigger
PFR27.2 = '1'
PFR27.3 = '1'
PFR27.4 = '1'
PFR27.5 = '1'
PFR27.6 = '1'
PFR27.7 = '1'
PFR26.0 = '1'
PFR26.1 = '1'
PFR26.2 = '1'
PFR26.3 = '1'
PFR26.4 = '1'
PFR26.5 = '1'
PFR26.6 = '1'
PFR26.7 = '1'
PFR setting
PFR27.0 = '1'
PFR27.1 = '1'
PFR27.2 = '1'
PFR27.3 = '1'
PFR27.4 = '1'
PFR27.5 = '1'
PFR27.6 = '1'
PFR27.7 = '1'
PFR26.0 = '1'
PFR26.1 = '1'
PFR26.2 = '1'
PFR26.3 = '1'
PFR26.4 = '1'
PFR26.5 = '1'
PFR26.6 = '1'
PFR26.7 = '1'
Activation Trigger Selection bit
Chapter 44 A/D Converter
EPFR27.2 = '1'
EPFR27.3 = '1'
EPFR27.4 = '1'
EPFR27.5 = '1'
EPFR27.6 = '1'
EPFR27.7 = '1'
EPFR26.0 = '1'
EPFR26.1 = '1'
EPFR26.2 = '1'
EPFR26.3 = '1'
EPFR26.4 = '1'
EPFR26.5 = '1'
EPFR26.6 = '1'
EPFR26.7 = '1'
EPFR setting
EPFR27.0 = '0'
EPFR27.1 = '0'
EPFR27.2 = '0'
EPFR27.3 = '0'
EPFR27.4 = '0'
EPFR27.5 = '0'
EPFR27.6 = '0'
EPFR27.7 = '0'
EPFR26.0 = '0'
EPFR26.1 = '0'
EPFR26.2 = '0'
EPFR26.3 = '0'
EPFR26.4 = '0'
EPFR26.5 = '0'
EPFR26.6 = '0'
EPFR26.7 = '0'
(STS[1: 0])
6.Q & A
903

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60Mb91460 series

Table of Contents