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

DAVE 4.1.2 and CAN_NODE 4.1.6

$
0
0
Hello
I like to try a very simple example with the latest DAVE and the CAN App.
I have instantiated the CAN App which results in the following App hierarchy
CAN_NODE_0
GLOBAL_CAN0
CLOCK_XMC4_0
main() is emtpty. Only DAVE_Init(); is called.
Debugging the example results in a endless loop within xmc_can.c function XMC_CAN_Enable()
It looks like CAN does not have a module clock and is not enabled and the controller stays in the following loop.

while (obj->CLC & CAN_CLC_DISS_Msk)
{
/*Do nothing*/
};

I managed already CAN communication with DAVE4.0 and the XMClib only.
What is missing in the simple CAN App example? Any hint for me?

Regards
Heinz

Viewing all articles
Browse latest Browse all 9892

Trending Articles



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