User manual
Board User Manual 5 Revision 1.1
2015-11-24
H-Bridge Kit 2Go
Evaluation Board for DC Motor Control with the IFX9201
Getting Started
2.4 Software
The kit comes pre-programmed with a simple example routine that applies a 1 kHz PWM signal to the motor
ramps the speed of the motor up and down by increasing and decreasing the PWM duty cycle. When reaching a
duty cycle of 0% it reverts the rotation direction of the motor and starts again with ramping the motor speed up
and down.
The source code for this program example can be downloaded at http://www.infineon.com/h-bridge-kit-2go.
The program was generated using the Infineon code development platform DAVE
TM
(Version 4). For information
on this tool how to use it and for downloading please visit http://www.infineon.com/dave.
2.5 Port Assignment
When writing your own routines for driving the IFX9201 please refer to the IFX9201 data sheet and the following
port assignment of XMC microcontroller ports.
Table 1 XMC1100 Port Assignment to IFX9201 Signals
Port
IFX9201 Signal
Comment
P0.6
SO
SPI serial output
P0.7
SI
SPI serial input
P0.8
SCK
SPI clock input
P0.9
CSN
SPI chip select (low active)
P2.0
DIR
Direction input to define direction of the motor current
P2.10
PWM
Pulse width modulation input
P2.11
DIS
Disable. Disables the outputs (all MOSFETS off)