DAVE™ Forum Discussions
DAVE™
Hi! I'm creating a Dave CE project and I want to create different driver files. May I please know where I can add C source file and its header files??...
Show More
Hi! I'm creating a Dave CE project and I want to create different driver files. May I please know where I can add C source file and its header files?? Which are the main Source and Include directories for user files?? In all the examples given, the complete code is in main.c
Show Less
DAVE™
Hello,I work with SPI on a XMC4200. As there is only one SELO line per usic channel connected and I need several chip select lines, I handle it by mys...
Show More
Hello,
I work with SPI on a XMC4200. As there is only one SELO line per usic channel connected and I need several chip select lines, I handle it by myself.
There is the internal MSLS signal, which I activate for generartion. I enable my chip select. Then I write my data to FIFO or wait if FIFO is full until all data is transmitted. Now I need to wait for data to be transmitted. Then I disable my chip select.
I use the following to wait for everything to be transmitted:
while (SPI_GetFlagStatus(Handle, SPI_MSLS_STATUS_FLAG) == true) {}
I replaced the SPI_SET etc with bool in this case. This works fine for one transfer, or two transfers with some delay in between. But If I call my function twice with no delay, the second transfer has a wrong chip select signal, which is only active for a short period, before transmission even starts.
What can I do?
Kind regards,
Christian Show Less
I work with SPI on a XMC4200. As there is only one SELO line per usic channel connected and I need several chip select lines, I handle it by myself.
There is the internal MSLS signal, which I activate for generartion. I enable my chip select. Then I write my data to FIFO or wait if FIFO is full until all data is transmitted. Now I need to wait for data to be transmitted. Then I disable my chip select.
I use the following to wait for everything to be transmitted:
while (SPI_GetFlagStatus(Handle, SPI_MSLS_STATUS_FLAG) == true) {}
I replaced the SPI_SET etc with bool in this case. This works fine for one transfer, or two transfers with some delay in between. But If I call my function twice with no delay, the second transfer has a wrong chip select signal, which is only active for a short period, before transmission even starts.
What can I do?
Kind regards,
Christian Show Less
DAVE™
Hi. I've been successfully using the following DAVE example project, on an XMC4300 board: XMC4300 EtherCAT APP SSC Slave Example V2.1I can see the ex...
Show More
Hi. I've been successfully using the following DAVE example project, on an XMC4300 board:
XMC4300 EtherCAT APP SSC Slave Example V2.1
I can see the example uses an 'ECAT_SSC [4.0.8]' APP. In the 'Add New APP' dialogue, it's listed under the Communication > Industrial category.
However, if I start a new DAVE project, XMC4700 based, I don't have that category.
I've tried everything I've read online and within DAVE, about adding a new APP. Going via 'Help > Install DAVE APP/Example/Device Library...'
But the ECAT_SSC APP is nowhere to be found. It doesn't exist within the UpdateSiteDAVEApps_1_0_66.zip I've downloaded (252GB).
And following the online Infineon instructions to install those APPs locally for use, failed anyway, with file not found errors on every APP..
Within the example project, 'Help > Uninstall DAVE APP/Example/Device Library...' lists the ECAT_SSC APP,
and gives the URI as 'http://resources/DaveAppLibrary/XMC4000/ECAT_SSC'. Within my new project, trying to install ECAT_SSC from that location, fails.
I've also tried switching the example project from XMC4300 to XMC4700, which is all I really want to do. However, the DAVE Project Upgrade > Device Migration,
lists no other available devices as migration targets. Hence, the attempt to create a new project, XMC4700-based.
I've searched the DAVE Forum and the web generally for any further insights, without luck.
Any ideas?
Thanks!
David King Show Less
XMC4300 EtherCAT APP SSC Slave Example V2.1
I can see the example uses an 'ECAT_SSC [4.0.8]' APP. In the 'Add New APP' dialogue, it's listed under the Communication > Industrial category.
However, if I start a new DAVE project, XMC4700 based, I don't have that category.
I've tried everything I've read online and within DAVE, about adding a new APP. Going via 'Help > Install DAVE APP/Example/Device Library...'
But the ECAT_SSC APP is nowhere to be found. It doesn't exist within the UpdateSiteDAVEApps_1_0_66.zip I've downloaded (252GB).
And following the online Infineon instructions to install those APPs locally for use, failed anyway, with file not found errors on every APP..
Within the example project, 'Help > Uninstall DAVE APP/Example/Device Library...' lists the ECAT_SSC APP,
and gives the URI as 'http://resources/DaveAppLibrary/XMC4000/ECAT_SSC'. Within my new project, trying to install ECAT_SSC from that location, fails.
I've also tried switching the example project from XMC4300 to XMC4700, which is all I really want to do. However, the DAVE Project Upgrade > Device Migration,
lists no other available devices as migration targets. Hence, the attempt to create a new project, XMC4700-based.
I've searched the DAVE Forum and the web generally for any further insights, without luck.
Any ideas?
Thanks!
David King Show Less
DAVE™
DAVE newbie question: I find that asserts are not triggering. Tried XMC_ASSERT, and plain assert. Couldn't find anything in Forum or DAVE help that te...
Show More
DAVE newbie question: I find that asserts are not triggering. Tried XMC_ASSERT, and plain assert. Couldn't find anything in Forum or DAVE help that tells me how I enable assert support, should I need to. DAVE-generated modules and stock DAVE APPs, include XMC_ASSERT and plain assert statements. I've tried flipping the sense of one each of those, and breakpointing just after, to check the relevant code is executing, but neither of those asserts trigger, either. Obviously I'm doing something basic wrong here. Any ideas?
Show Less
DAVE™
Anyone else experiencing DAVE4.3.2 hanging for around a minute on opening a workspace, with the 'Progress Information Operation in progress..' dialog...
Show More
Anyone else experiencing DAVE4.3.2 hanging for around a minute on opening a workspace, with the 'Progress Information Operation in progress..' dialogue showing ?
Have a solution to speed up?
Seems to be random, not restricted to a particular workspace or workspaces.
A given workspace can sometimes open within seconds, sometimes hangs on above dialogue for a minute.
After 10 or 20 seconds with dialogue showing, the dialogue starts flashing, between highlighted, and not highlighted. Not sure of the significance, if any, of this.
At bottom-right, during these minute waits, it says something about indexing C/C++ code. And the short green progress bar, slowly fades grey to green and repeats. Show Less
Have a solution to speed up?
Seems to be random, not restricted to a particular workspace or workspaces.
A given workspace can sometimes open within seconds, sometimes hangs on above dialogue for a minute.
After 10 or 20 seconds with dialogue showing, the dialogue starts flashing, between highlighted, and not highlighted. Not sure of the significance, if any, of this.
At bottom-right, during these minute waits, it says something about indexing C/C++ code. And the short green progress bar, slowly fades grey to green and repeats. Show Less
DAVE™
Hi, I am looking to migrate the BLDC_SCALAR_HALL_XMC13 example from XMC1302-T038 to XMC1302-Q40. How can the migration be done in the latest version o...
Show More
Hi, I am looking to migrate the BLDC_SCALAR_HALL_XMC13 example from XMC1302-T038 to XMC1302-Q40. How can the migration be done in the latest version of DAVE 4.3.2?
Show Less
DAVE™
hi can anyone support me with an example of BLDC control the Control technique used is FOC control , we have a Encoder attached to the motor , if any...
Show More
hi
can anyone support me with an example of BLDC control the Control technique used is FOC control , we have a Encoder attached to the motor , if any APP available for BLDC FOC control with Encoder feedback kindly share Show Less
can anyone support me with an example of BLDC control the Control technique used is FOC control , we have a Encoder attached to the motor , if any APP available for BLDC FOC control with Encoder feedback kindly share Show Less
DAVE™
I'm a new user for the xmc1300. I have a quesion for the DAVE3 usage when I was debugging a software for the BLDC, does the variable in the watch exp...
Show More
I'm a new user for the xmc1300. I have a quesion for the DAVE3 usage when I was debugging a software for the BLDC, does the variable in the watch expression window can be updated automaticly? Now the expressions are updated only when the program is suspended.
I'm desired this function since I found the PWM signal is still actived when I stop the program to see the new value of the variables. It may damage the hardware in this case.
Thanks Show Less
I'm desired this function since I found the PWM signal is still actived when I stop the program to see the new value of the variables. It may damage the hardware in this case.
Thanks Show Less
DAVE™
Hello,I'm new to the DAVE and XMC programming.today I installed DAVE and the Segger J-Link drivers on my pc. (64-bit Version)It went through without a...
Show More
Hello,
I'm new to the DAVE and XMC programming.
today I installed DAVE and the Segger J-Link drivers on my pc. (64-bit Version)
It went through without any problems. Then I downloaded and installed the dave APPS and wanted to make this tutorial with the XMC2GO: http://www.infineon.com/dgdl/Infineon-DAVE_Quick_Start-GS-v02_00-EN.pdf?fileId=5546d4624cb7f111014d059f7b8c712d
When I want to do the pin mapping part, it is not possible because all the pins are greyed out:
Also, the manual pin allocator doesn't work either:
So, I can't put the PWM-Signal on a GPIO-Pin.
When I close DAVE and want to continue with the project, I always get this error: Error occured while connecting to the solver process
I can click OK and continue, but the previous described problems remain. The error is also shown, when I'm importing existing projects.
I tried running without antivirus, without firewall and with admin rights. I also tried several uninstallations and installations of DAVE 32bit and 64bit and the J-Link drivers.
On my other PC I tried also. The problem is not there! Only on this PC.
Can someone help me find the problem?
Thanks in advance!
Best regards. Show Less
I'm new to the DAVE and XMC programming.
today I installed DAVE and the Segger J-Link drivers on my pc. (64-bit Version)
It went through without any problems. Then I downloaded and installed the dave APPS and wanted to make this tutorial with the XMC2GO: http://www.infineon.com/dgdl/Infineon-DAVE_Quick_Start-GS-v02_00-EN.pdf?fileId=5546d4624cb7f111014d059f7b8c712d
When I want to do the pin mapping part, it is not possible because all the pins are greyed out:
Also, the manual pin allocator doesn't work either:
So, I can't put the PWM-Signal on a GPIO-Pin.
When I close DAVE and want to continue with the project, I always get this error: Error occured while connecting to the solver process
I can click OK and continue, but the previous described problems remain. The error is also shown, when I'm importing existing projects.
I tried running without antivirus, without firewall and with admin rights. I also tried several uninstallations and installations of DAVE 32bit and 64bit and the J-Link drivers.
On my other PC I tried also. The problem is not there! Only on this PC.
Can someone help me find the problem?
Thanks in advance!
Best regards. Show Less
DAVE™
Hi,I tried using the DAC_LUT app under Dave 4.3.2 but the app keeps crashing. I use the 'XMC4700 relax kit'. The "normal" DAC app works just fine so I...
Show More
Hi,
I tried using the DAC_LUT app under Dave 4.3.2 but the app keeps crashing. I use the 'XMC4700 relax kit'. The "normal" DAC app works just fine so I assume it is no hardware issue.
I set up the DAC_LUT app exactly like described in the help file under "usage" - no changes in the main.c file. When executing the code I can see (on the scope)
the DAC output changing one increment - than the processor hangs up. Does anybody else experience similar issues?
Thank you! Show Less
I tried using the DAC_LUT app under Dave 4.3.2 but the app keeps crashing. I use the 'XMC4700 relax kit'. The "normal" DAC app works just fine so I assume it is no hardware issue.
I set up the DAC_LUT app exactly like described in the help file under "usage" - no changes in the main.c file. When executing the code I can see (on the scope)
the DAC output changing one increment - than the processor hangs up. Does anybody else experience similar issues?
Thank you! Show Less