DAVE™ Forum Discussions
Sort by:
DAVE™
Looking at the System Timer application, I do not find any App that could provide a simple Delay_usec(uint32_t uiUs) function? Is there any possibilit...
Show More
Looking at the System Timer application, I do not find any App that could provide a simple Delay_usec(uint32_t uiUs) function? Is there any possibility without using RTOS?
Show Less
DAVE™
Hi.I would like to know if there is a way to control the initialization order of DAVE APPs in *autogenerated* DAVE_Init().My concern is* in autogenera...
Show More
Hi.
I would like to know if there is a way to control the initialization order of DAVE APPs in *autogenerated* DAVE_Init().
My concern is
* in autogenerated DAVE_Init(), at first error, the init process is stopped: the following APPs are not initialized, even if they could have been,
* I need some of these APPs (IO ports) to show the error(s) on the others,
* but these APPs' initialization may have been skipped due to the initialization order of DAVE APPs in DAVE_Init(), so the ports will not work.
I know some ways to overturn this, but they all need writing my own initialization code, and loosing part of the advantage of autogenerated code of DAVE APPs.
So, is there any way to change the order in which DAVE APPs appear in *autogenerated* DAVE_Init() ?
Regards Show Less
I would like to know if there is a way to control the initialization order of DAVE APPs in *autogenerated* DAVE_Init().
My concern is
* in autogenerated DAVE_Init(), at first error, the init process is stopped: the following APPs are not initialized, even if they could have been,
* I need some of these APPs (IO ports) to show the error(s) on the others,
* but these APPs' initialization may have been skipped due to the initialization order of DAVE APPs in DAVE_Init(), so the ports will not work.
I know some ways to overturn this, but they all need writing my own initialization code, and loosing part of the advantage of autogenerated code of DAVE APPs.
So, is there any way to change the order in which DAVE APPs appear in *autogenerated* DAVE_Init() ?
Regards Show Less
DAVE™
Hello,Could I make program SPI running in background? For example 4 SPI groups (x3 channels) and these channels work in Background. (XMC4800F144K2048,...
Show More
Hello,
Could I make program SPI running in background? For example 4 SPI groups (x3 channels) and these channels work in Background. (XMC4800F144K2048, DAVE4) Show Less
Could I make program SPI running in background? For example 4 SPI groups (x3 channels) and these channels work in Background. (XMC4800F144K2048, DAVE4) Show Less
DAVE™
Hi Infineon,
there is a bug at Dave4.4.2, at CAN app, the mask is truncated (Windows7/64):
there is a bug at Dave4.4.2, at CAN app, the mask is truncated (Windows7/64):
DAVE™
I have Dave 4.4.2. I need to build the DALI code for XMC 1400. i downloaded the sample code and would like to import to a project. but it says the cod...
Show More
I have Dave 4.4.2. I need to build the DALI code for XMC 1400. i downloaded the sample code and would like to import to a project. but it says the code is old.
What should I do?
Tanks for help
regards
sriram Show Less
What should I do?
Tanks for help
regards
sriram Show Less
DAVE™
Hello everybody,i recently upgraded to GCC8 according to this thread: https://www.infineonforums.com/threads/4645-Upgrading-GCC-in-DAVE4? Compiling wo...
Show More
Hello everybody,
i recently upgraded to GCC8 according to this thread: https://www.infineonforums.com/threads/4645-Upgrading-GCC-in-DAVE4?
Compiling works fine and during debugging the microcontroller stops at breakpoints that were defined before launching the debugging configuration (see attached screenshot). So far, so good.

What doesn't work anymore with GCC8 is launching the exact same debugging configuration without breakpoints and hitting the "suspend" button while the microcontroller is running. If i do this nothing happens, except for the "suspend" button to become grey and unclickable. The only option then is to terminate everything (see second attached screenshot).
From another example program with a blinking LED i know that hitting the suspend button doesn't stop the microcontroller. The LED keeps blinking. Surprisingly when i use the Segger JLink GDB console directly, suspending the microcontroller works fine.

Is this a known issue? Is there a workaround?
With GCC49 (comes as standard with DAVE) everything worked perfectly fine. I also tried other GCC versions. With GCC6 and newer the problem occurs. Until GCC54 everything works perfectly fine.
used software:
- Windows 10 64bit
- DAVE 4.4.2
- GCC8 2019 q3 (https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads/8-2019q3-update)
- Segger JLink 6.50a
used hardware:
- XMC Link Isolated Debug Probe
- XMC4800-E196x2048
Thanks! Show Less
i recently upgraded to GCC8 according to this thread: https://www.infineonforums.com/threads/4645-Upgrading-GCC-in-DAVE4?
Compiling works fine and during debugging the microcontroller stops at breakpoints that were defined before launching the debugging configuration (see attached screenshot). So far, so good.
What doesn't work anymore with GCC8 is launching the exact same debugging configuration without breakpoints and hitting the "suspend" button while the microcontroller is running. If i do this nothing happens, except for the "suspend" button to become grey and unclickable. The only option then is to terminate everything (see second attached screenshot).
From another example program with a blinking LED i know that hitting the suspend button doesn't stop the microcontroller. The LED keeps blinking. Surprisingly when i use the Segger JLink GDB console directly, suspending the microcontroller works fine.
Is this a known issue? Is there a workaround?
With GCC49 (comes as standard with DAVE) everything worked perfectly fine. I also tried other GCC versions. With GCC6 and newer the problem occurs. Until GCC54 everything works perfectly fine.
used software:
- Windows 10 64bit
- DAVE 4.4.2
- GCC8 2019 q3 (https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads/8-2019q3-update)
- Segger JLink 6.50a
used hardware:
- XMC Link Isolated Debug Probe
- XMC4800-E196x2048
Thanks! Show Less
DAVE™
Hi, I want to have 4 Groups of 3 Phase PWM (not SVM, without deadtime). Which App schould I choose? Timer? CCU4? (examples) How can I make Synchronisa...
Show More
Hi, I want to have 4 Groups of 3 Phase PWM (not SVM, without deadtime). Which App schould I choose? Timer? CCU4? (examples) How can I make Synchronisation?
Show Less
DAVE™
After a small break I'm beating my head against the wall again trying to get the HTTP_SERVER_RTOS_XMC47 example to work with FATFS. I've tried the FAT...
Show More
After a small break I'm beating my head against the wall again trying to get the HTTP_SERVER_RTOS_XMC47 example to work with FATFS.
I've tried the FATFS_EXAMPLE_XMC47 and that works, so the hardware is all good. The trouble is that if I add the FATFS to the HTTP project and get it to compile then it doesn't serve up anything, not even a 404.
Is there a better example or some more documentation on how to get this working? Show Less
I've tried the FATFS_EXAMPLE_XMC47 and that works, so the hardware is all good. The trouble is that if I add the FATFS to the HTTP project and get it to compile then it doesn't serve up anything, not even a 404.
Is there a better example or some more documentation on how to get this working? Show Less
DAVE™
Is it possible to customize interrupt callbacks ? For example when an interrupt occurs I want my_func to be called instead of IRQx_Handler.
DAVE™
Hello everybody,I have analyzed a little and found that PSRAM is used by the flash code (so called RAM code) and by the CMSIS RTOS it loads and execut...
Show More
Hello everybody,
I have analyzed a little and found that PSRAM is used by the flash code (so called RAM code) and by the CMSIS RTOS it loads and executes own code from the PSRAM therefore there is only 16-20 kb left.
Is there any way to allocate more stack? e.g. load RTOS to the RAM (even better to ROM)
Thanks,
madmat Show Less
I have analyzed a little and found that PSRAM is used by the flash code (so called RAM code) and by the CMSIS RTOS it loads and executes own code from the PSRAM therefore there is only 16-20 kb left.
Is there any way to allocate more stack? e.g. load RTOS to the RAM (even better to ROM)
Thanks,
madmat Show Less