COMP_REF App not working

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Used version of COMP_REF app V. 4.1.4
Target XMC1302-T038x0032

Settings:
Selected reference source CCU4 for generation of reference voltage
other settings: Filter used, Inverter activated; ERU used, Hysteresis = 20 mV

what happens
Generation of Reference Voltage not working; no PWM signal on CCU4 output pin due to erroneous source code generation

Solution
Manually edit "comp_ref_conf.c"
Line 87:
Change
.ref_source = COMP_REF_SOURCE_BCCU,
to
.ref_source = COMP_REF_SOURCE_CCU4,
0 Likes
2 Replies
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
2218.attach

Hi,

In my case it is working. Did you select the CCU4 as source in the GUI and then pressed again code generation button?

Regards,
Jesus
0 Likes
Not applicable
Hi Jesus

I saw in my settings that i selected the wrong target
XMC1301-T038x0032 instead of XMC1302-T038x0032

now it is working correctly

Thanks for your help

Regards
Martin
0 Likes