DAVE™ Forum Discussions
DAVE™
Hi All,It seems that the "PWMSP002_ClearPendingEvent" function doesn't clear the interrupt status flags if timers are concatenated in the CCU8yCC80/82...
Show More
Hi All,
It seems that the "PWMSP002_ClearPendingEvent" function doesn't clear the interrupt status flags if timers are concatenated in the CCU8yCC80/82 INTS registers.
For example, the following clears the CCU8ySWR register RPM flag (bit 0) in CC81 or CC83 but leaves the RPM flag (bit 0) in the CC80 or CC82 set.
Also there are no library definitions for bits 1, 3, 4, 5 in the CC8ySWR register
Also the trap event seems to be defined as bit 10 in the PWMSP002.h file when it is bit 11 (RTRPF) in the CC8ySWR register.
Any comments would be welcome
Best regards
Aaron Show Less
It seems that the "PWMSP002_ClearPendingEvent" function doesn't clear the interrupt status flags if timers are concatenated in the CCU8yCC80/82 INTS registers.
For example, the following clears the CCU8ySWR register RPM flag (bit 0) in CC81 or CC83 but leaves the RPM flag (bit 0) in the CC80 or CC82 set.
PWMSP002_ClearPendingEvent(&PWMSP002_Handle3, PWMSP002_PERIODMATCHEVENT);
Also there are no library definitions for bits 1, 3, 4, 5 in the CC8ySWR register
Also the trap event seems to be defined as bit 10 in the PWMSP002.h file when it is bit 11 (RTRPF) in the CC8ySWR register.
Any comments would be welcome
Best regards
Aaron Show Less
DAVE™
Hi All,I am looking for a way to save the Tasking debug environment settings without exiting DAVE. For example I need to save the Breakpoints and Var...
Show More
Hi All,
I am looking for a way to save the Tasking debug environment settings without exiting DAVE. For example I need to save the Breakpoints and Variables to view that I have configured.
The reason for this is I find the Tasking debug crashes many times during the day and I have to re-configure the Breakpoints and Variables all over again.
Thank you in advance
Best regards
Aaron Show Less
I am looking for a way to save the Tasking debug environment settings without exiting DAVE. For example I need to save the Breakpoints and Variables to view that I have configured.
The reason for this is I find the Tasking debug crashes many times during the day and I have to re-configure the Breakpoints and Variables all over again.
Thank you in advance
Best regards
Aaron Show Less
DAVE™
Wondering if there is a Release mode instead of Debug for compiling code for the XMC4500K1024AC MCU?Also, How can I check the optimization level? I wo...
Show More
Wondering if there is a Release mode instead of Debug for compiling code for the XMC4500K1024AC MCU?
Also, How can I check the optimization level? I would like to play with these settings to check my multiple ISR software performance.
Thanks Show Less
Also, How can I check the optimization level? I would like to play with these settings to check my multiple ISR software performance.
Thanks Show Less
DAVE™
Hi All,I am looking for information on the following PWMSP002 App function...status_t PWMSP002_SetPwmFreqAndDutyCycle(const PWMSP002_HandleType *Handl...
Show More
Hi All,
I am looking for information on the following PWMSP002 App function...
Unfortunately the help is not very clear so any further information would be greatly appreciated.
Best regards
Aaron Show Less
I am looking for information on the following PWMSP002 App function...
In particular the Shift and Sign parameters. The help states the following...
status_t PWMSP002_SetPwmFreqAndDutyCycle ( const PWMSP002_HandleType * HandlePtr, float PwmFreq, float DutyCycle, uint32_t Shift, uint8_t Sign )
[in] Shift It controls the duty cycle value. [in]
SignIt controls addition and subtraction of shift
Sign = 0: Compare value is incremented by shift. This is not allowed in edge-aligned. Sign = 1: Compare value is decremented by shift.
Unfortunately the help is not very clear so any further information would be greatly appreciated.
Best regards
Aaron Show Less
DAVE™
Hi All,I recently migrated a project containing the ERU001 App from DAVE 3.1.6 to DAVE 3.1.10.When I try to add another instance of the ERU001 App I g...
Show More
Hi All,
I recently migrated a project containing the ERU001 App from DAVE 3.1.6 to DAVE 3.1.10.
When I try to add another instance of the ERU001 App I get the following warning dialog...
So it looks like the migration process did not convert the ERU001 App version 1.0.14 to 1.0.16.
Is this the correct operation of the migration process ?
Thank you for any help / suggestions.
Best regards
Aaron Show Less
I recently migrated a project containing the ERU001 App from DAVE 3.1.6 to DAVE 3.1.10.
When I try to add another instance of the ERU001 App I get the following warning dialog...
So it looks like the migration process did not convert the ERU001 App version 1.0.14 to 1.0.16.
Is this the correct operation of the migration process ?
Thank you for any help / suggestions.
Best regards
Aaron Show Less
DAVE™
Hey there,I have a Problem with the SPI002-App. I add the app to my current Project, but in the jobx-configuration is the value for the peripheral clo...
Show More
Hey there,
I have a Problem with the SPI002-App. I add the app to my current Project, but in the jobx-configuration is the value for the peripheral clock 0MHz. Normally it should be the the System frequency 120MHz.
It is not possible to Change the value, I have no idea where the Problem is. If I add the SPI002-App to an ohter Project, the value of the peripheral clock of the SPI is correct.
I have to mention that the Project includes 8 NVIC-Apps, 8 CAP-Apps, 2 ADC-Apps and 10 IO-Apps.
So why there is no correct value in the peripheral clock for the SPI?
Best regards,
Stefan Show Less
I have a Problem with the SPI002-App. I add the app to my current Project, but in the jobx-configuration is the value for the peripheral clock 0MHz. Normally it should be the the System frequency 120MHz.
It is not possible to Change the value, I have no idea where the Problem is. If I add the SPI002-App to an ohter Project, the value of the peripheral clock of the SPI is correct.
I have to mention that the Project includes 8 NVIC-Apps, 8 CAP-Apps, 2 ADC-Apps and 10 IO-Apps.
So why there is no correct value in the peripheral clock for the SPI?
Best regards,
Stefan Show Less
DAVE™
Hi,i'm trying bldc motor control with 750w motor control kit. But the motor doesn't run. Initialy it runs for 1 or 2 min and then stops. If I use PMSM...
Show More
Hi,
i'm trying bldc motor control with 750w motor control kit. But the motor doesn't run. Initialy it runs for 1 or 2 min and then stops. If I use PMSM app for the same motor it runs.
why is this happenening? Is there any specific configuration to be done for bldc?
And in case of PMSM, is there any way by which v can knw the pattern of hall sensors (making use of adaptive pattern recognition) ???
Thanking you,
smriti Show Less
i'm trying bldc motor control with 750w motor control kit. But the motor doesn't run. Initialy it runs for 1 or 2 min and then stops. If I use PMSM app for the same motor it runs.
why is this happenening? Is there any specific configuration to be done for bldc?
And in case of PMSM, is there any way by which v can knw the pattern of hall sensors (making use of adaptive pattern recognition) ???
Thanking you,
smriti Show Less
DAVE™
Hi,It seems that function "status_t PWMSP001_SetTimerVal (const PWMSP001_HandleType *HandlePtr, uint32_t TimerVal) " dont work well.I am tried this f...
Show More
Hi,
It seems that function "status_t PWMSP001_SetTimerVal (const PWMSP001_HandleType *HandlePtr, uint32_t TimerVal) " dont work well.
I am tried this function (during timer was stopped), but there is no way how set the timer start value. (with Relax Lite Kit)
Can some help me?
Thanks
Regards
Koumak Show Less
It seems that function "status_t PWMSP001_SetTimerVal (const PWMSP001_HandleType *HandlePtr, uint32_t TimerVal) " dont work well.
I am tried this function (during timer was stopped), but there is no way how set the timer start value. (with Relax Lite Kit)
Can some help me?
Thanks
Regards
Koumak Show Less
DAVE™
Hi all,How can I set Rounding mode for data type conversion (float to integer) ?Is it possible?float f_var = 1.6F;int32_t i_var = 0;i_var = (i...
Show More
Hi all,
How can I set Rounding mode for data type conversion (float to integer) ?
Is it possible?
(I use XMC4500)
Is it same as in http://www.infineonforums.com/threads/2096-float-data-type
??
BR
Koumak Show Less
How can I set Rounding mode for data type conversion (float to integer) ?
Is it possible?
float f_var = 1.6F;
int32_t i_var = 0;
i_var = (int32_t)f_var;
sometimes I need i_var == 1 another time I need i_var == 2
(I use XMC4500)
Is it same as in http://www.infineonforums.com/threads/2096-float-data-type
??
BR
Koumak Show Less