Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

DSM does not trigger ISR

$
0
0
Hi all,
I'm using the XMC4500 Relax Lite and i want to use the DSM App for reading the ACPL-7970.
The DSM App is not triggering an Interrupt, not even with the extra app.
My problem is, that it worked, even without the extra Interrupt App, but now it doesn't anymore and I don't know why.
Pins are properly mapped.

I hope one of you can help me. Thanks in advance!

The part of my code:
#include <DAVE.h>

status = DAVE_Init();
...

void ISR_DSM()
{
// Update stored vals
DS_ADC_DEMOD_CH_GetResult(DS_ADC_DEMOD_0_CHANNEL_A ,&resultA);
DS_ADC_DEMOD_CH_GetResult(DS_ADC_DEMOD_0_CHANNEL_B ,&resultB);

current = (((float)resultA * 0.320)/32768.0) / 0.100;
voltage = (((float)resultB * 0.320)/32768.0) * 180;
}

App:
Attachment 3299
Attachment 3300
Attachment 3301
Attachment 3302
?????

Viewing all articles
Browse latest Browse all 9892


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>