DAVE™ Forum Discussions
text.format{('custom.tabs.no.results')}
Sort by:
DAVE™
when using the ADC_MEASUREMENT_ADV (v4.0.14) on XMC4500, the solver allows you to select slave pins that are not on the same channel as the master. T...
Show More
when using the ADC_MEASUREMENT_ADV (v4.0.14) on XMC4500, the solver allows you to select slave pins that are not on the same channel as the master. The reference manual, it states "Synchronized conversions request the same channel number". We are using 4 sync groups, and groups B and C are not aligned with the manual, since DAVE allowed selecting other pins from channels different from the master. As luck (good or bad) has it, we are currently just using group A, which is correct, but we are starting to use the other groups. Is DAVE wrong for allowing this, or is it smarter than the Reference manual. We used DAVE to help allocate all the I/O on this board and now I'm afraid that we are going to have issues...
thanks Show Less
thanks Show Less
DAVE™
Hi,expert: I am user of the evaluation board of Infineon" KIT_XMC48_RELAX_ECAT_V1" . When try to debug the board, a messsage popped "The selected...
Show More
Hi,expert:
I am user of the evaluation board of Infineon" KIT_XMC48_RELAX_ECAT_V1" . When try to debug the board, a messsage popped "The selected device "unspecified" is unkown to this version of the J-LINK software......".
When I try to specify the MCU in segger j-link RDI,the software seem to need a license to get j-link RDI to set to the device"XMC4800".
Do I need to get a license for the J-LINK lite of the evaluation board?
Thanks ®ards. Show Less
I am user of the evaluation board of Infineon" KIT_XMC48_RELAX_ECAT_V1" . When try to debug the board, a messsage popped "The selected device "unspecified" is unkown to this version of the J-LINK software......".
When I try to specify the MCU in segger j-link RDI,the software seem to need a license to get j-link RDI to set to the device"XMC4800".
Do I need to get a license for the J-LINK lite of the evaluation board?
Thanks ®ards. Show Less
DAVE™
Hi all, since updating Dave 4.3.2 with the current Dave Apps and XMCLib (2.1.18) I've got a problem with FATFS->SDMMC_BLOCK->SPI_MASTER. When I try to...
Show More
Hi all,
since updating Dave 4.3.2 with the current Dave Apps and XMCLib (2.1.18) I've got a problem with FATFS->SDMMC_BLOCK->SPI_MASTER. When I try to compile I get the following errors:
"SDMMC_BLOCK requires XMC Peripheral Library v2.1.20 or higher" <-- and this is crazy, because it was an official update package from the infineon homepage....
and
"SDMMC_BLOCK_SDV2_CSD_t' has no member named 'dev_size_high"
After installing Dave 4.4.2 with XMCLib version 2.1.20 I still get the message "SDMMC_BLOCK_SDV2_CSD_t' has no member named 'dev_size_high"
The error occurs in function: SDMMC_BLOCK_SPI_GetSectorCount
What is wrong in these libraries?
Thanks and regards
Stefan Show Less
since updating Dave 4.3.2 with the current Dave Apps and XMCLib (2.1.18) I've got a problem with FATFS->SDMMC_BLOCK->SPI_MASTER. When I try to compile I get the following errors:
"SDMMC_BLOCK requires XMC Peripheral Library v2.1.20 or higher" <-- and this is crazy, because it was an official update package from the infineon homepage....
and
"SDMMC_BLOCK_SDV2_CSD_t' has no member named 'dev_size_high"
After installing Dave 4.4.2 with XMCLib version 2.1.20 I still get the message "SDMMC_BLOCK_SDV2_CSD_t' has no member named 'dev_size_high"
The error occurs in function: SDMMC_BLOCK_SPI_GetSectorCount
What is wrong in these libraries?
Thanks and regards
Stefan Show Less
DAVE™
Hi all, since my last manual (downloaded/local) update of Dave Apps and XMCLib i can't create a new project. The "next" button is active but clicking ...
Show More
Hi all,
since my last manual (downloaded/local) update of Dave Apps and XMCLib i can't create a new project. The "next" button is active but clicking on it has no effect. I've also tried to the solution with the Library Store path but with no effect.
Is there any solution to this problem?
Thanks
Stefan Show Less
since my last manual (downloaded/local) update of Dave Apps and XMCLib i can't create a new project. The "next" button is active but clicking on it has no effect. I've also tried to the solution with the Library Store path but with no effect.
Is there any solution to this problem?
Thanks
Stefan Show Less
DAVE™
Hello, everybody, I want to implement the SPI communication to a serial Falsh Memory. I took a look at the example of the SPI communication with the f...
Show More
Hello, everybody,
I want to implement the SPI communication to a serial Falsh Memory.
I took a look at the example of the SPI communication with the flash memory on the XMC4500 relax kit.
The example works and can also be used for external flash memory, if you set the pin and channel accordingly.
My question for this, in the data sheet of the two flash memories the bits are transmitted on rising clock edge and read on falling clock edge.
However, the settings in the SPI master are inverted (transmit on falling clock edge/ receive on rising clock edge).
Images of the oscilloscope show that the signals are transmitted correctly. But why is the inverted setting correct?
I wrote a class that implements the SPI communication with the flash memory.
For a newly created project writing, reading and deleting works. If I copy the class into my current project,
which contains several processes and apps, only writing and deleting will work, but not reading. The settings are identical for both projects.
You can see from the oscilloscope images that the clock of a working project pauses after each word and then continues with the next word.
For the non-functioning project, the query of the status register is functional. However, the data of the memory cannot be read out.
The oscilloscope images show that the clock is oscillating over the entire receiving time and that the Slave Select does not increase at the end.
When debugging, this is reflected in the remaining line:
while(SPI_MASTER_NVM.runtime->rx_busy);
Sorry for the long text. I hope you can help me with the problem.
Many thanks and greetings
Tobi Show Less
I want to implement the SPI communication to a serial Falsh Memory.
I took a look at the example of the SPI communication with the flash memory on the XMC4500 relax kit.
The example works and can also be used for external flash memory, if you set the pin and channel accordingly.
My question for this, in the data sheet of the two flash memories the bits are transmitted on rising clock edge and read on falling clock edge.
However, the settings in the SPI master are inverted (transmit on falling clock edge/ receive on rising clock edge).
Images of the oscilloscope show that the signals are transmitted correctly. But why is the inverted setting correct?
I wrote a class that implements the SPI communication with the flash memory.
For a newly created project writing, reading and deleting works. If I copy the class into my current project,
which contains several processes and apps, only writing and deleting will work, but not reading. The settings are identical for both projects.
You can see from the oscilloscope images that the clock of a working project pauses after each word and then continues with the next word.
For the non-functioning project, the query of the status register is functional. However, the data of the memory cannot be read out.
The oscilloscope images show that the clock is oscillating over the entire receiving time and that the Slave Select does not increase at the end.
When debugging, this is reflected in the remaining line:
while(SPI_MASTER_NVM.runtime->rx_busy);
Sorry for the long text. I hope you can help me with the problem.
Many thanks and greetings
Tobi Show Less
DAVE™
Hello,I am completely new to DAVE 4.2, I have an XMC 4700 Relax kit with CAN.I am working on an automotive voltage hold-up during cranking & backup po...
Show More
Hello,
I am completely new to DAVE 4.2, I have an XMC 4700 Relax kit with CAN.
I am working on an automotive voltage hold-up during cranking & backup power project.
What I want to do to get me started is.
Receive a 29bit CAN message at 500 Kbaud.
CAN message has 3 signals: D to A start value, D to A end value, Ramping rate from start to end 0 = Fastest rate, 0xFFFF = Slowest rate
I will feed the D to A to my 100 Amp DC response amplifier.
Is there a demo program that already does this? Show Less
I am completely new to DAVE 4.2, I have an XMC 4700 Relax kit with CAN.
I am working on an automotive voltage hold-up during cranking & backup power project.
What I want to do to get me started is.
Receive a 29bit CAN message at 500 Kbaud.
CAN message has 3 signals: D to A start value, D to A end value, Ramping rate from start to end 0 = Fastest rate, 0xFFFF = Slowest rate
I will feed the D to A to my 100 Amp DC response amplifier.
Is there a demo program that already does this? Show Less
DAVE™
Hello.I would like to modifiy the initialization order of the different apps of my application. I have more than 100 apps in my design and re-starting...
Show More
Hello.
I would like to modifiy the initialization order of the different apps of my application. I have more than 100 apps in my design and re-starting the design to modifiy functions order
inside DAVE_init(), would take me too many time. I can do it manualy, however any time I click in "Generate Code", the function DAVE_Init(), would be rewritted by DAVE and
I will lose the manual modificartions.
Can somebody help me with this issue?
Thank you in advanced.
Best Regards.
Carlos Serrano Gómez. Show Less
I would like to modifiy the initialization order of the different apps of my application. I have more than 100 apps in my design and re-starting the design to modifiy functions order
inside DAVE_init(), would take me too many time. I can do it manualy, however any time I click in "Generate Code", the function DAVE_Init(), would be rewritted by DAVE and
I will lose the manual modificartions.
Can somebody help me with this issue?
Thank you in advanced.
Best Regards.
Carlos Serrano Gómez. Show Less
DAVE™
Hello there,I reached a point where I'm a little bit confused by Dave and Micrium. So I have an old project where I used Micrium ucProbe without any p...
Show More
Hello there,
I reached a point where I'm a little bit confused by Dave and Micrium. So I have an old project where I used Micrium ucProbe without any problem. Now, I have installed the new Dave4.4.2 and I imported the old project and rebuild the project to get the elf-file. I open it in ucProbe, which at first seem to work without an error, but there are no c-files listed where I am able to select any variable. At first I thought that maybe the formating changed of the elf-file with the new dave versions, but nope thats not the case.
Now to the question. Does someone have a hint why it might not work?
Remark: If use the elf-file from the old project it works with the new ucProbe directly from Micrium and with the Infineon version, but that is not the case with a elf-file from Dave4.4.2.
Eval Board: XMC4500 Relax Kit using Jegger-Link and the on board debugger.
Thank You Show Less
I reached a point where I'm a little bit confused by Dave and Micrium. So I have an old project where I used Micrium ucProbe without any problem. Now, I have installed the new Dave4.4.2 and I imported the old project and rebuild the project to get the elf-file. I open it in ucProbe, which at first seem to work without an error, but there are no c-files listed where I am able to select any variable. At first I thought that maybe the formating changed of the elf-file with the new dave versions, but nope thats not the case.
Now to the question. Does someone have a hint why it might not work?
Remark: If use the elf-file from the old project it works with the new ucProbe directly from Micrium and with the Infineon version, but that is not the case with a elf-file from Dave4.4.2.
Eval Board: XMC4500 Relax Kit using Jegger-Link and the on board debugger.
Thank You Show Less
DAVE™
I would like to ask if it is possible to develop the XMC4500 Relax Kit under linux enviroment ? I know about DAVE - but it doesnt work under Linux. I...
Show More
I would like to ask if it is possible to develop the XMC4500 Relax Kit under linux enviroment ? I know about DAVE - but it doesnt work under Linux. I just wanted to know if it is possible to use DAVE or something on Linux (ubuntu) platform. Becouse the target board have to communicate with Linux program and it is very difficult to always reboot to Windows, compile and load the program and then reboot to Ubuntu and check if the communication work etc.
Thank you Show Less
Thank you Show Less
DAVE™
Dear Forum,unfortunately i ran into problems compiling a really basic Project. I did try to let an LED blink on an XMC4500. Therefore I created a ‹New...
Show More
Dear Forum,
unfortunately i ran into problems compiling a really basic Project. I did try to let an LED blink on an XMC4500. Therefore I created a ‹New DAVE Project› and chose ‹Simple Main Project›.
From the generated main.c xmc_common.h is included. Somehow system_XMC4500.c is magically included also and this file tries to include which does fail during building.
This is not that a problem since i managed to find a file with the same name and was able to change the include statement to "../Libraries/CMSIS/Infineon/XMC4500_series/Include/XMC4500.h".
But now in this XMC4500.h there fails a statement trying to include "core_cm4.h". Unfortunately i am not able to find any file on my system which matches this name.
What am i doing wrong? Is there anything i forgot to install/set up?
Thanks in advance
Poor Noob
Show Less
unfortunately i ran into problems compiling a really basic Project. I did try to let an LED blink on an XMC4500. Therefore I created a ‹New DAVE Project› and chose ‹Simple Main Project›.
From the generated main.c xmc_common.h is included. Somehow system_XMC4500.c is magically included also and this file tries to include
This is not that a problem since i managed to find a file with the same name and was able to change the include statement to "../Libraries/CMSIS/Infineon/XMC4500_series/Include/XMC4500.h".
But now in this XMC4500.h there fails a statement trying to include "core_cm4.h". Unfortunately i am not able to find any file on my system which matches this name.
What am i doing wrong? Is there anything i forgot to install/set up?
Thanks in advance
Poor Noob