Professional Documents
Culture Documents
XMC14 PSFB Hot
XMC14 PSFB Hot
XMC14 PSFB Hot
Copeland
Dec. 2018
Objective
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 2
Phase Shifted Full Bridge Topology
– Complimentary Outputs
with Dead-Time
LEAD_HS
› Phase Shifting between
the 2 half bridges LEAD_LS
increases/decreases the
output voltage LAG_HS
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 3
CAPCOM8 (CCU8)
CMP1 = ½ Period_Reg
ST1
CMP2 = Phase Shift
ST2
OUT0 = LEAD_HS
OUT1 = LEAD_LS
Period_Reg
Start/Clear Start/Clear
CMP1 = CMP1
ST1
OUT0 = LAG_HS
Copyright
© Infineon
OUT1 = LAG_LS
Technologi
es AG
2018
2018. All
-10-
rights 6
Basic Tools Installation Instructions
› Install DAVE
– If you don’t have 7-Zip, install it (7-
Zip is faster than most zip file
extraction utilities)
– Execute 7z1805-x64.exe
– Unzip DAVE-IDE-4.4.2-64Bit.7z to
your C: Drive (root directory C:\ is
the preferred destination) using 7-Zip
› Install uC-Probe
– Execute Infineon-uC-Probe-Setup-
Release-4.3.0.96.exe Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 7
Advanced Tools (optional)
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 8
Start DAVE
› Launch DAVE
› Create a workspace:
C:\XMC_PSFB_HOT\DAVE4_4_2
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 9
Create a new project
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 10
Create a new project
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 11
Test Build
› First make sure DAVE is working by doing a test build. Just click
one of the hammer buttons in the toolbar and check the
“Problems” tab at the bottom to make sure there are no errors
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 12
Add two PWM_CCU8 APPs
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 14
Rename the PWM APPs to avoid confusion
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 15
Make the HW Signal Connection
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 16
Make the HW Signal Connection
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 17
Configure the LEAD_PHASE APP
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 20
Configure the LAG_PHASE APP
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 21
Configure the LAG_PHASE APP
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 22
Configure the LAG_PHASE APP
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 24
Configure the UCPROBE APP
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 25
Configure the UCPROBE APP
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 26
Add a TIMER APP and a INTERRUPT APP
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 28
Configure the INTERRUPT APP
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 29
Assign the Pins & Generate the Code
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 30
Let’s Add some code and a GUI
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 31
Let’s Add some code and a GUI
› In main.c arround
line 41 call the
UCPROBE_Init()
function which is
needed for the
oscilloscope
UCPROBE_Init();
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 32
Let’s Add some code and a GUI
› In the main loop (around line 46) add some code that will allow
the GUI settings to update the Phase Shift
if (Update == 1)
Update = 0;
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 33
Let’s Add some code and a GUI
› After the main loop (around line 54) add the _10kHzIsr that will
update the oscilloscope data
__RAM_FUNC void _10kHzIsr(void)
{
ProbeScope_Sampling();
}
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 34
Check to see if it’s working
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 35
Launch the Debugger
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 36
Create your own GUI
› Launch uC/Probe
› Drag a Numeric
Up/Down control into
the DataScreen1
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 37
Create your own GUI
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 38
Create Your Own GUI
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 39
Create you own GUI
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 40
Setup the Oscilloscope to view the I/O pins
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 41
Setup the Oscilloscope
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 42
Run the GUI and try different dim levels/times
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 43
Setup the oscilloscope
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 44
Have fun!
Copyright
© Infineon
Technologi
es AG
2018
2018. All
-10-
rights 45