Using The Posif - Infineon XMC4500 series Reference Manual

Arm cortex-m4 32-bit processor core
Hide thumbs Also See for XMC4500 series:
Table of Contents

Advertisement

XMC4500
XMC4000 Family
Position Interface Unit (POSIF)
24.2.7

Using the POSIF

The POSIF module needs to be linked with a CCU4/CCU8 module to perform the full set
of functions in each of the possible modes (due to the fact that doesn't contain built-in
counters/timers).
To operate the POSIF in the Quadrature Decoder Mode, one CCU4 module is needed.
The Hall Sensor Mode, needs a CCU8 (at least 3 slices are need to control a brushless
DC motor) and also (at least) two CCU4 or CCU8 slices. The stand-alone Multi-Channel
Mode linking configuration depends heavily on the use cases and therefore the number
of slices of CCU4 or CCU8 used is freely chosen by the user.
24.2.7.1 Hall Sensor Mode Usage
When using the Hall Sensor Mode of the POSIF, the Multi-Channel Mode is also
working. Due to that fact, the CCU8 module used to perform the Multi-Channel
Modulation, needs to be configured in Multi-Channel Mode.
Standard Hall Sensor Mode Usage
On
Figure 24-15
, the Hall Sensor Mode is used in conjunction with two CCU4 slices and
one CCU8 module. The first slice of CCU4, slice 0 is being used to control the delays
between the edge detection of the Hall Inputs and the actual sampling, and also to
control the delay between a Correct Hall Event and the Multi-Channel Pattern update
enable.
The rising edge of the CCU4x.ST0 is used as finish trigger for the first delay, while the
Service request line is used for triggering the update of a new pattern after a Correct Hall
Event. The service request is configured to be active on each period match hit of the
specific slice.
Slice 0 is configured in single shot mode, so that the time delay can be re triggered every
time that a request from the POSIF occurs.
The second slice of the CCU4 unit, Slice 1, is being used in Capture Mode, to capture
the time between Correct Hall Events (storing this way the motor speed between two
correct hall events). The POSIFx.OUT1 of the POSIF is used as capture trigger for the
slice while the POSIFx.OUT3 is used as stop. The capture and stop triggers are
configured in the specific timer slices as active on the rising edge.
The CCU8 is the module that is generating the PWM signals to control the motor and
therefore, the Multi-Channel Pattern outputs POSIFx.MOUT[7:0] are linked to this unit.
To close the Multi-Channel loop, an output of the CCU8 needs to be connected to the
POSIF module (one of the CCU8x.PSy signals), so that the Multi-Channel Pattern is
updated synchronously with the PWM period.
Reference Manual
24-19
V1.6, 2016-07
POSIF, V1.8
Subject to Agreement on the Use of Product Information

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the XMC4500 series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Xmc4000 series

Table of Contents

Save PDF