DAVE™ Forum Discussions
DAVE™
I am trying to compare the speed of the arm_cfft_radix4_init_f32() function with and without FPU unit. The CMSIS DSP Lib is initialised and working we...
Show More
I am trying to compare the speed of the arm_cfft_radix4_init_f32() function with and without FPU unit. The CMSIS DSP Lib is initialised and working well, but the Coprocessor Access Control Register (CPACR@0xE000ED88) seems to have always the same value CP11=0b11 and CP12=0b11.
According to the XMC4000 Family Data Sheet these states mean that the FPU is enabled, how can i disable it in DAVE?
If the FPU is disabled manually (try 4) the code stops working. How I can I set the complier not to use the FPU unit?
Tried the following:
Try 1:
Try 2:
Try 3:
Result is in all the trials above that the FPU remains turned on.
Try 4:
Show Less
According to the XMC4000 Family Data Sheet these states mean that the FPU is enabled, how can i disable it in DAVE?
If the FPU is disabled manually (try 4) the code stops working. How I can I set the complier not to use the FPU unit?
Tried the following:
Try 1:
don't define __FPU_PRESENT
Try 2:
change #define __FPU_PRESENT 1 to 0 in XMC4500.h and define #define __FPU_USED 0
Try 3:
Project Properties->C/C++ Build->Settings->ARM-GCC C Complier->Preprocessor->Defined symbols(-D):
added:
__FPU_USED 0
__FPU_PRESENT 0
__FPU_USED 0
__FPU_PRESENT 0
Result is in all the trials above that the FPU remains turned on.
Try 4:
If the registers are cleaned manually the FPU is really turned on, but the code is not running anymore.
In the main fuction:
SCB->CPACR &= ~((3UL << 10*2) | /* clear CP10 Full Access */
(3UL << 11*2) );
In the main fuction:
SCB->CPACR &= ~((3UL << 10*2) | /* clear CP10 Full Access */
(3UL << 11*2) );
Show Less
DAVE™
Hi,regarding the BLDCBCSL01_Example1, how do the values of the motorparamters (Phase Resistance, Phase Inductance...) configurable in the GUI influenc...
Show More
Hi,
regarding the BLDCBCSL01_Example1, how do the values of the motorparamters (Phase Resistance, Phase Inductance...) configurable in the GUI influence the source code?
I cannot see any influence. So what effect do these parameters have?
I hope someone knows... Show Less
regarding the BLDCBCSL01_Example1, how do the values of the motorparamters (Phase Resistance, Phase Inductance...) configurable in the GUI influence the source code?
I cannot see any influence. So what effect do these parameters have?
I hope someone knows... Show Less
DAVE™
Hello, yesterday on the SPS IPC Drives in Nürnberg i got an XMC4500 Relax Kit.So today i started some testing.My first test was to watch a video tutor...
Show More
Hello, yesterday on the SPS IPC Drives in Nürnberg i got an XMC4500 Relax Kit.
So today i started some testing.
My first test was to watch a video tutorial and built the same system.
I decided to start with:
http://3532.2871.m.edge-cdn.net/vsc_2871_3532_1_vid_863478/webcast-on-dave-getting-started-with-version-4-0.html
I downloaded Dave4.
I did all the same steps, just one thing has changed,
the PWM_Acknowledge changed to PWM_ClearEvent
When i start my project with the debuger, The LEDs start blinking in 1Hz and 5 Hz, but i can't interact with the buttons.
My thought is, the controller starts the program just one time and after one cycle it stops. The LEDs are still blinking, cause the PWM is set on initialisation.
Someone can help me with that?
Best Regards John Show Less
So today i started some testing.
My first test was to watch a video tutorial and built the same system.
I decided to start with:
http://3532.2871.m.edge-cdn.net/vsc_2871_3532_1_vid_863478/webcast-on-dave-getting-started-with-version-4-0.html
I downloaded Dave4.
I did all the same steps, just one thing has changed,
the PWM_Acknowledge changed to PWM_ClearEvent
When i start my project with the debuger, The LEDs start blinking in 1Hz and 5 Hz, but i can't interact with the buttons.
My thought is, the controller starts the program just one time and after one cycle it stops. The LEDs are still blinking, cause the PWM is set on initialisation.
Someone can help me with that?
Best Regards John Show Less
DAVE™
I have installed Dave 4.1.4 and did all updates.But i cannot select new Apps in a project. For example in a XMC1300 project I want to use the BUCK_VOL...
Show More
I have installed Dave 4.1.4 and did all updates.
But i cannot select new Apps in a project. For example in a XMC1300 project I want to use the BUCK_VOLT_CTRL App. But under Power Conversion
I only can select between Comp_Ref, PWM_CCU4 and PWM_CCU8.
Where can I find the other Power Conversion Apps or Power Conversion Libs?
The APPs themself are installed in the folder: Infineon/D_LibraryStore_4.1/resources/....
There are no more updates available.
kind regards MPK Show Less
But i cannot select new Apps in a project. For example in a XMC1300 project I want to use the BUCK_VOLT_CTRL App. But under Power Conversion
I only can select between Comp_Ref, PWM_CCU4 and PWM_CCU8.
Where can I find the other Power Conversion Apps or Power Conversion Libs?
The APPs themself are installed in the folder: Infineon/D_LibraryStore_4.1/resources/....
There are no more updates available.
kind regards MPK Show Less
DAVE™
Today we released a patch for DAVE v4.1.4 and some New DAVE APPs.The patch for DAVE v4.1.4 fixes two minor issues:Automatic notification for DAVE Plug...
Show More
Today we released a patch for DAVE v4.1.4 and some New DAVE APPs.
The patch for DAVE v4.1.4 fixes two minor issues:
Release note.
To install the update just press “Check for Updates” in the DAVE Help menu, select the shown plug-ins (DAVE Code Engine Feature and DAVE v4 Product Feature) and follow the further instructions.
New DAVE APP release:
The motor control APP PMSM_FOC is now available.
This APP allows controlling of a PMSM motor with an highly optimized sensor less FOC algorithm.
Release note.
To install the DAVE APP:
...and follow the further instructions.
An example for XMC1300 motor control kit is available in the example library accessible from DAVE. An example for the XMC4400 motor control kit is in preparation for publishing next week.
New release of contributed DAVE APPs:
The following 4 new contributed DAVE APPs are now available:
Examples for APPs can be easily created by following the instructions in the APP help document, section: Typical Usage.
These new contributed APPs can be installed as follows:
...and follow the further instructions. Show Less
The patch for DAVE v4.1.4 fixes two minor issues:
- Automatic notification for DAVE Plug-Ins updates through web links did not show up correctly
- Warning message about unused solver variable is now only shown when DAVE is in Debug mode.
Release note.
To install the update just press “Check for Updates” in the DAVE Help menu, select the shown plug-ins (DAVE Code Engine Feature and DAVE v4 Product Feature) and follow the further instructions.
New DAVE APP release:
The motor control APP PMSM_FOC is now available.
This APP allows controlling of a PMSM motor with an highly optimized sensor less FOC algorithm.
Release note.
To install the DAVE APP:
- Press ->Help ->Install DAVE APP/ Example/ Device Library
- Select in Work with: DAVE APPs Library Manager
- Select the APP: PMSM_FOC
...and follow the further instructions.
An example for XMC1300 motor control kit is available in the example library accessible from DAVE. An example for the XMC4400 motor control kit is in preparation for publishing next week.
New release of contributed DAVE APPs:
The following 4 new contributed DAVE APPs are now available:
- ISO11I and ISO1H: these APPs abstract the usage of the ISOFACE devices: ISO1H812G, ISO1H816G (output) and ISO1I811T (input) connected as external peripherals on an SPI channel of any XMC device
- MCAN_CONFIG: Configuration APP of the MCAN peripheral module
- SEGGER_RTT: This APP adds and configures the SEGGER RTT library to use the SEGGER RTT terminal tools for interactive I/O communication between the MCU target and the PC (2 simple examples for XMC1100 and XMC4500 are available in the example library)
Examples for APPs can be easily created by following the instructions in the APP help document, section: Typical Usage.
These new contributed APPs can be installed as follows:
- Press ->Help ->Install DAVE APP/ Example/ Device Library
- Select in Work with: Contributed DAVE APPs Library Manager
- Select the respective DAVE APPs
...and follow the further instructions. Show Less
DAVE™
Today we released a patch for DAVE v4.1.4 and some New APPs.The patch for DAVE v4.1.4 fixes two minor issues:Automatic notification for DAVE Plug-Ins ...
Show More
Today we released a patch for DAVE v4.1.4 and some New APPs.
The patch for DAVE v4.1.4 fixes two minor issues:
Release note.
To install the update just press “Check for Updates” in the DAVE Help menu, select the shown plug-ins (DAVE Code Engine Feature and DAVE v4 Product Feature) and follow the further instructions.
New DAVE APP release:
The motor control APP PMSM_FOC is now available.
This APP allows controlling of a PMSM motor with an highly optimized sensor less FOC algorithm.
Release note.
To install the APP:
...and follow the further instructions.
An example for XMC1300 motor control kit is available in the example library accessible from DAVE. An example for the XMC4400 motor control kit is in preparation for publishing next week.
New release of contributed DAVE APPs:
The following 4 new contributed DAVE APPs are now available:
Examples for APPs can be easily created by following the instructions in the APP help document, section: Typical Usage.
These new contributed APPs can be installed as follows:
...and follow the further instructions. Show Less
The patch for DAVE v4.1.4 fixes two minor issues:
- Automatic notification for DAVE Plug-Ins updates through web links did not show up correctly
- Warning message about unused solver variable is now only shown when DAVE is in Debug mode.
Release note.
To install the update just press “Check for Updates” in the DAVE Help menu, select the shown plug-ins (DAVE Code Engine Feature and DAVE v4 Product Feature) and follow the further instructions.
New DAVE APP release:
The motor control APP PMSM_FOC is now available.
This APP allows controlling of a PMSM motor with an highly optimized sensor less FOC algorithm.
Release note.
To install the APP:
- Press ->Help ->Install DAVE APP/ Example/ Device Library
- Select in Work with: DAVE APPs Library Manager
- Select the APP: PMSM_FOC
...and follow the further instructions.
An example for XMC1300 motor control kit is available in the example library accessible from DAVE. An example for the XMC4400 motor control kit is in preparation for publishing next week.
New release of contributed DAVE APPs:
The following 4 new contributed DAVE APPs are now available:
- ISO11I and ISO1H: these APPs abstract the usage of the ISOFACE devices: ISO1H812G, ISO1H816G (output) and ISO1I811T (input) connected as external peripherals on an SPI channel of any XMC device
- MCAN_CONFIG: Configuration APP of the MCAN peripheral module
- SEGGER_RTT: This APP adds and configures the SEGGER RTT library to use the SEGGER RTT terminal tools for interactive I/O communication between the MCU target and the PC (2 simple examples for XMC1100 and XMC4500 are available in the example library)
Examples for APPs can be easily created by following the instructions in the APP help document, section: Typical Usage.
These new contributed APPs can be installed as follows:
- Press ->Help ->Install DAVE APP/ Example/ Device Library
- Select in Work with: Contributed DAVE APPs Library Manager
- Select the respective DAVE APPs
...and follow the further instructions. Show Less
DAVE™
Hello,i'm working on a project with the XMC4500 Hexagon Kit. I want to send data from my PC to the XMC via UART. Everytime when I receive data an Inte...
Show More
Hello,
i'm working on a project with the XMC4500 Hexagon Kit. I want to send data from my PC to the XMC via UART. Everytime when I receive data an Interrupt should occur using the Standard ReceiveInterrupt.
Now I have problems with this interrupt.
When does the Interrupt occur and can I save the data into an Array?
Thank you for your help.
Viktoria Show Less
i'm working on a project with the XMC4500 Hexagon Kit. I want to send data from my PC to the XMC via UART. Everytime when I receive data an Interrupt should occur using the Standard ReceiveInterrupt.
Now I have problems with this interrupt.
When does the Interrupt occur and can I save the data into an Array?
Thank you for your help.
Viktoria Show Less
DAVE™
I am having trouble controlling the MSLS / Chip select signal.I want it to enable at the start of a frame and disable after the last byte is transmitt...
Show More
I am having trouble controlling the MSLS / Chip select signal.
I want it to enable at the start of a frame and disable after the last byte is transmitted.
The SPI001 app is configured to use FIFO.. Great. As long as the FIFO is not empty, the CS signal behaves properly. However, I am in an RTOS environment so occassionally, the service time allows the fifo to empty and CS pulses. This disturbs the slave - it cancels the current command.
I attempted to use the frame control interface..
EnableStartOfFrame( pScb->Handle );
// Send the command..
SendSpiWord( pScb, Cmd );
SendSpiWord( pScb, IDLE0 ); // Put something in the Rx buffer...
. . .
// Wait for all our data to go..
while ( ! SPI001_GetFlagStatus(&(pScb->Handle), SPI001_FIFO_TRANSMIT_FIFO_EMPTY ))
;
//while ( SPI001_GetFlagStatus(pScb->Handle, SPI001_TRANS_SHIFT_IND_FLAG ))
;
EnableEndOfFrame( pScb->Handle );
I enable the frame.. then send..finally wait for FIFO to empty... But that is too late to get the EOF set - the last character is transmitting.... So my sessions ends with CS active. Then the first byte of the next frame has CS pulsed just for that first byte...
Without the test on FIFO_TRANSMIT_FIFO_EMPTY, the CS EOF happens too early.
NOTE: FIFO EMPTY is something I defined to access that bit of TRSB.. It is defined at 64+Bit Number in the register.
The notes in the UM describe CS control, but most do not use FIFO.. The section on FIFO is vague.
What is my best strategy? Options seem:
- Use FIFO. Let it control CS... Just make sure it doesn't empty prematurely. Maybe tx interrupt service routine to extrace from RTOS queue.
- Switch to non-fifo interface, scrapping the app. More work, but precise control.
I looking for general direction suggestions. Show Less
I want it to enable at the start of a frame and disable after the last byte is transmitted.
The SPI001 app is configured to use FIFO.. Great. As long as the FIFO is not empty, the CS signal behaves properly. However, I am in an RTOS environment so occassionally, the service time allows the fifo to empty and CS pulses. This disturbs the slave - it cancels the current command.
I attempted to use the frame control interface..
EnableStartOfFrame( pScb->Handle );
// Send the command..
SendSpiWord( pScb, Cmd );
SendSpiWord( pScb, IDLE0 ); // Put something in the Rx buffer...
. . .
// Wait for all our data to go..
while ( ! SPI001_GetFlagStatus(&(pScb->Handle), SPI001_FIFO_TRANSMIT_FIFO_EMPTY ))
;
//while ( SPI001_GetFlagStatus(pScb->Handle, SPI001_TRANS_SHIFT_IND_FLAG ))
;
EnableEndOfFrame( pScb->Handle );
I enable the frame.. then send..finally wait for FIFO to empty... But that is too late to get the EOF set - the last character is transmitting.... So my sessions ends with CS active. Then the first byte of the next frame has CS pulsed just for that first byte...
Without the test on FIFO_TRANSMIT_FIFO_EMPTY, the CS EOF happens too early.
NOTE: FIFO EMPTY is something I defined to access that bit of TRSB.. It is defined at 64+Bit Number in the register.
The notes in the UM describe CS control, but most do not use FIFO.. The section on FIFO is vague.
What is my best strategy? Options seem:
- Use FIFO. Let it control CS... Just make sure it doesn't empty prematurely. Maybe tx interrupt service routine to extrace from RTOS queue.
- Switch to non-fifo interface, scrapping the app. More work, but precise control.
I looking for general direction suggestions. Show Less
DAVE™
can we code dave?
are there any tuorials available?
i want code for sense2go kit or if possible hoow can i code it myself?
are there any tuorials available?
i want code for sense2go kit or if possible hoow can i code it myself?
DAVE™
Hello,I have tested "lwip_httpserver_netconn" project on relax board which is using PHY from Micrel. What changes must be made to project to work with...
Show More
Hello,
I have tested "lwip_httpserver_netconn" project on relax board which is using PHY from Micrel. What changes must be made to project to work with HEXAGON and COM extension board using TI PHY DP83848k?
Function "XMC_ETH_PHY_IsDeviceIdValid" cannot read PHY identification registers.
Is there a similar file as "xmc_eth_phy_ksz8031rnl.c" for TI PHY or entire project available?
Thank you
rum Show Less
I have tested "lwip_httpserver_netconn" project on relax board which is using PHY from Micrel. What changes must be made to project to work with HEXAGON and COM extension board using TI PHY DP83848k?
Function "XMC_ETH_PHY_IsDeviceIdValid" cannot read PHY identification registers.
Is there a similar file as "xmc_eth_phy_ksz8031rnl.c" for TI PHY or entire project available?
Thank you
rum Show Less