DAVE™ Forum Discussions
The Problem is that I can insert like in the screenshot.
the button "next" is schwitching from gray to a black text (the button is enabled)
I can press the button and nothing is Happening.
I don't get the next page "Microcontroller Selection Page"
I get this page only on my pc ouside of the virtual machine. I installed the same Dave Version on my normal pc.
I'm using all the time my virtual machine to develop my stuff
hopefully somebody can give me an Fastback.
Only in my virtual machine I'm using my svn system
thanks a lot Show Less
Hi
DAVE App "EVENT_GENERATOR" for ERU has only single "pattern" and no "tout" output.
According to the reference manual, OGU in ERU has 4 signals to detect pattern, and "ERU_TOUT" without gating.
Would you tell me the description of RM is correct and the DAVE App is not corret ?
Dave App
Reference Manual
Best Regards,
Hayashi.K
Needed sample code for DAVE™ IDE to drive L9825 Driver IC with daisy chain connectivity, Outputs are not coming, unable to set register's bits of driver IC module. Anyone can help with sample code for DAVE IDE & XMC-4100 series MCU with L9825 Driver IC module.
Thanks in advance
Show LessThanks in advance. Show Less
I tried to set the MSB first setting in the DAVE App, but when I checked the signal with an oscilloscope the bits still came in LSB. The generated code shows this addition to UART_0_init() in uart_conf.c:
/* MSB first */
XMC_USIC_CH_SetShiftDirection(XMC_UART0_CH1, XMC_USIC_CH_SHIFT_DIRECTION_MSB_FIRST);
This function is in xmc_usic.h and seems correct:
__STATIC_INLINE void XMC_USIC_CH_SetShiftDirection(XMC_USIC_CH_t *const channel, const XMC_USIC_CH_SHIFT_DIRECTION_t shift_direction)
{
channel->SCTR = (uint32_t)(channel->SCTR & (~USIC_CH_SCTR_SDIR_Msk)) | (uint32_t)shift_direction;
}
But the XMC_USIC_CH_SHIFT_DIRECTION_MSB_FIRST setting is defined as:
XMC_USIC_CH_SHIFT_DIRECTION_MSB_FIRST = 0x1UL << USIC_CH_SCTR_SDIR_Msk /**< Shift MSB first. The first data bit of a data word is located at the bit position given by the configured word length. */
when it should be defined as:
XMC_USIC_CH_SHIFT_DIRECTION_MSB_FIRST = 0x1UL << USIC_CH_SCTR_SDIR_Pos /**< Shift MSB first. The first data bit of a data word is located at the bit position given by the configured word length. */
This is in the xmc_usic.h file. I'm a little wary of correcting the code in that file because I don't want to mess anything up (and it hurts the portability of the code when the standard include files are changed), and the Dave code gets regenerated automatically.
Any recommendations on the best way to set that bit without messing around with the include files? Show Less
I'm trying to follow the getting started instructions with distance2go and have got as far as trying to run debug on the example project in Dave. There are no build errors or problems reported, but when debugging is started a popup appears:
Title:
Problem Occurred
Message:
'Coloring source file' has encountered a problem.
An internal error has occurred
Details:
An internal error has occurred.
assertion failed:
Clicking on OK leaves the program paused on the entry to main (as expected on starting debug), but the popup returns if I click on continue
This is my first time trying to get both Dave and distance2go working, so I may have got something simple wrong. I have repeated the installation with the same results, and updated both Dave and the APPs, again with the same results.
Any advice in fixing this would be great.
Thanks Show Less
I am using a XMC 4500 relax kit.
I have configured the CAN NODE_1 with two trasmit and two receive message objects.
Since both my motors have master can ID = 0, I am receiving only one CAN message and not the other.
Hello
I am working with the DAVE 4.5.0 the XMC4300 Relax EtherCAT Kit-V3 and the sample EtherCAT slave project example. I would like to connect a SPI slave device to this board and send its data out as EtherCAT slave PDO data.
When I try to add the SPI_MASTER APP to my existing EtherCAT slave project I get the error "Dave is not able to grant your last hardware resource request" I have run the resource report and don't see any resource or pin conflicts.
I am new to the XMC devices and am hoping someone can help me with this ?
Thanks,
-Chris
Show LessHi everyone,
I'm using a XMC4700 / XMC 4800 Relax Kit Series-V1.
I've got the "FATFS Example for XMC47" from here (https://www.infineon.com/cms/en/product/promopages/aim-mc/dave_downloads.html) running without any problems in debug mode.
But I also have to use RTOS. So I open the FATFS_0.ui (FATFS_EXAMPLE_XMC47/DAVE/MODEL/APPS/FATFS/v4_0_14/Uimodel/FATFS_0.ui) and there I tick the box "Use RTOS".
Then in the DAVE CE perspective I click "Generate Code" and then "Debug".
This gives me several Error messages but uncommenting lines 72 to 82 in the file FATFS_EXAMPLE_XMC47/Dave/Generated/CMSIS_RTOS_RTX/INC/CMSIS_os.h will somehow solve these problems. (I found this solution here: https://community.infineon.com/t5/DAVE/Enabling-RTOS-in-DAVE-examples-breaks-them/td-p/309073)
After this I am able to start a debugging session. But the code does not run properly, it gets stuck somehow and when I press "pause" the FATFS_EXAPMLE_XMC47/Startup/startup_XMC4700.S file opens up marked at line 314. This is where the exception handlers are defined.
Using breakpoints, I found that line 136 in FATFS_EXAPMLE_XMC47/main.c is the last line in the main file that gets executed.
Debugger Console says:
```Program received signal SIGTRAP, Trace/breakpoint trap.
VADC0_G3_3_IRQHandler () at ../Startup/startup_XMC4700.S:314
314 b .```
I append a screenshot with most of the referenced information visible.
I would be happy to receive any help, thanks.
Please let me know if you need further information to help me solve this problem.
Show Less