DAVE™ Forum Discussions
DAVE™
I'm sorry for the simple question, I don't understand how channels can be synchronized with the ADC_MEASUREMENT_ADV-app.In the past I used the beta-ve...
Show More
I'm sorry for the simple question, I don't understand how channels can be synchronized with the ADC_MEASUREMENT_ADV-app.
In the past I used the beta-version (4.0.7) of this app, that worked fine on a XMC4500.
After the update dont find the settings to synchronize channels.
On the "Sync Conversion"-tab, the "Synchronized Groups"-box is always disabled.
I tried it by naming the slaves e.g._slave_A or _sync_slaveA
like described in the help file, without success.
How does synchronisation work with version 4.0.10 of this app?
Greetings
Leistungselektroniker
Show Less
In the past I used the beta-version (4.0.7) of this app, that worked fine on a XMC4500.
After the update dont find the settings to synchronize channels.
On the "Sync Conversion"-tab, the "Synchronized Groups"-box is always disabled.
I tried it by naming the slaves e.g.
like described in the help file, without success.
How does synchronisation work with version 4.0.10 of this app?
Greetings
Leistungselektroniker
DAVE™
I am trying to do SPI communication using XMC4800-196 and DAVE SPI-APPs.I encountered a Timing Problem since the MOSI data is exactly syncronous to th...
Show More
I am trying to do SPI communication using XMC4800-196 and DAVE SPI-APPs.
I encountered a Timing Problem since the MOSI data is exactly syncronous to the SCLK clock (should Change state 1/2 clock earlier!). The Shift clock delaying in the SPI-Config Dialog has no effect! The SPI slave requires SCLK state low on idle, and MOSI must be stabe on rising edge of SCLK!
Any Suggestion how to get around?
Thanks
Verner Show Less
I encountered a Timing Problem since the MOSI data is exactly syncronous to the SCLK clock (should Change state 1/2 clock earlier!). The Shift clock delaying in the SPI-Config Dialog has no effect! The SPI slave requires SCLK state low on idle, and MOSI must be stabe on rising edge of SCLK!
Any Suggestion how to get around?
Thanks
Verner Show Less
DAVE™
When can we expect a Dave4 App for BLDC_BC_HALL for XMC4500?I have tried out the PMSM_FOC App and loved the way parameters could be set up.In runs wel...
Show More
When can we expect a Dave4 App for BLDC_BC_HALL for XMC4500?
I have tried out the PMSM_FOC App and loved the way parameters could be set up.
In runs well in FOC closed loop, but I need to run the motor at less than the minimum 550rpm. (200-250rpm)
I will need the hall sensors for this.
(I have tried to tune Dave3 BLDC_BC_HALL to my motor parameters, but are not able to set a line inductance of 0.61mH)
I have also tried to install the Contributed BldcBcHall App from the 2016-05-17 update, but it does not show up in the App list.
(Manifest defines this app for TLE987x devices only. Selecting this device shows that the app has a very limited parameter set compared to PMSM_FOC)
Cheers
In the mean time I will see if I can adapt the BLDC_SCALAR_HALL_XMC13 project to Hexagon CPU_45A-V2 and MOT_GPDLV-V2 eval cards. Show Less
I have tried out the PMSM_FOC App and loved the way parameters could be set up.
In runs well in FOC closed loop, but I need to run the motor at less than the minimum 550rpm. (200-250rpm)
I will need the hall sensors for this.
(I have tried to tune Dave3 BLDC_BC_HALL to my motor parameters, but are not able to set a line inductance of 0.61mH)
I have also tried to install the Contributed BldcBcHall App from the 2016-05-17 update, but it does not show up in the App list.
(Manifest defines this app for TLE987x devices only. Selecting this device shows that the app has a very limited parameter set compared to PMSM_FOC)
Cheers
In the mean time I will see if I can adapt the BLDC_SCALAR_HALL_XMC13 project to Hexagon CPU_45A-V2 and MOT_GPDLV-V2 eval cards. Show Less
DAVE™
When I try to add any APP to an imported project I get the error message:"DAVE is not able to grant your last hardware resources request"How can I sol...
Show More
When I try to add any APP to an imported project I get the error message:
"DAVE is not able to grant your last hardware resources request"
How can I solve the Problem?
Thanks for your help! Show Less
"DAVE is not able to grant your last hardware resources request"
How can I solve the Problem?
Thanks for your help! Show Less
DAVE™
I need to use coded select lines on a SPI communication bus (>8 slaves!).How can I define the proper adress coding? The predefined enumeration types d...
Show More
I need to use coded select lines on a SPI communication bus (>8 slaves!).
How can I define the proper adress coding? The predefined enumeration types don't work.
CPU: XMC4800-196, DAVE 4.2.8
Thanks for any suggestions.
Kind regards
Verner Show Less
How can I define the proper adress coding? The predefined enumeration types don't work.
CPU: XMC4800-196, DAVE 4.2.8
Thanks for any suggestions.
Kind regards
Verner Show Less
DAVE™
Hi,There is no driver for USB OTG or USB Host in XMCLib.Where can I can find this driver?Besides, there is no class driver, where can I find the class...
Show More
Hi,
There is no driver for USB OTG or USB Host in XMCLib.
Where can I can find this driver?
Besides, there is no class driver, where can I find the class driver? LUFA ?
Thanks in advance. Show Less
There is no driver for USB OTG or USB Host in XMCLib.
Where can I can find this driver?
Besides, there is no class driver, where can I find the class driver? LUFA ?
Thanks in advance. Show Less
DAVE™
Hello,I am building a current sensing appliance. I am using XMC4500 application processor and TLI4970 current sensor. How should I set up the SPI Mast...
Show More
Hello,
I am building a current sensing appliance. I am using XMC4500 application processor and TLI4970 current sensor. How should I set up the SPI Master App on XMC4500? I've already played around with it but I get no sensible data from the TLI4970.
I attached spi master app config:
I am using this code:
The receive interrupt fires, but the returned value is always 65535. Show Less
I am building a current sensing appliance. I am using XMC4500 application processor and TLI4970 current sensor. How should I set up the SPI Master App on XMC4500? I've already played around with it but I get no sensible data from the TLI4970.
I attached spi master app config:
I am using this code:
/*
* main.c
*
* Created on: 2016 Feb 24 17:50:15
* Author: Lukas Erlacher
*/
#include//Declarations from DAVE Code Generation (includes SFR declaration)
#include
#include
#include
union {
uint8_t spi_bytes[2];
uint16_t spi_word;
} spi_rx;
volatile uint16_t lmp[4] = {0xff};
volatile SPI_MASTER_STATUS_t sstatus = SPI_MASTER_STATUS_FAILURE;
int ct;
char line[17] = "________________";
void SpiReceive() {
sprintf(line, "%u", spi_rx.spi_word);
lcd_setcursor(0,1);
lcd_string(line);
ct++;
sprintf(line, "%d", ct);
lcd_setcursor(0,2);
lcd_string(line);
}
int main(void)
{
DAVE_STATUS_t status;
spi_rx.spi_word = 1;
status = DAVE_Init(); /* Initialization of DAVE APPs */
if(status == DAVE_STATUS_FAILURE)
{
/* Placeholder for error handler code. The while loop below can be replaced with an user error handler. */
XMC_DEBUG("DAVE APPs initialization failed\n");
while(1U)
{
}
}
lcd_init();
lcd_setcursor(0,1);
sprintf(line, "%u", spi_rx.spi_word);
lcd_string(line);
SPI_MASTER_DisableSlaveSelectSignal(&SPI_MASTER_0);
SPI_MASTER_EnableSlaveSelectSignal(&SPI_MASTER_0, SPI_MASTER_0.config->slave_select_pin_config[0]->slave_select_ch);
while(1U)
{
while(DIGITAL_IO_GetInput(&BTN_PUSH) == 0)
{
}
while(DIGITAL_IO_GetInput(&BTN_PUSH) == 1)
{
}
sstatus = SPI_MASTER_Receive(&SPI_MASTER_0, spi_rx.spi_bytes, 2);
}
}
The receive interrupt fires, but the returned value is always 65535. Show Less
DAVE™
Hello,I am trying to evaluate the ADCs on an XMC4400 mcu. I use the XMC4400 CPU-44A-V2-003 Hexagon eval boardI use Dave 4.2.8 with latest APPs, Libs, ...
Show More
Hello,
I am trying to evaluate the ADCs on an XMC4400 mcu. I use the XMC4400 CPU-44A-V2-003 Hexagon eval board
I use Dave 4.2.8 with latest APPs, Libs, and examples
Following the instructions given in the Readme_ADC_MEASUREMENT_ADV_EXAMPLE_XMC45.pdf
document, simply does not work
Here is the components / signals view :
And source code :
I was able to add code to generate Request events Interrupts. But no way to get a Result interrupt.
What do I miss ?
I am not sure of what is wrong, starting to wonder if the APPs approach is the right one...
Thanks for any welcome input
Jorge Show Less
I am trying to evaluate the ADCs on an XMC4400 mcu. I use the XMC4400 CPU-44A-V2-003 Hexagon eval board
I use Dave 4.2.8 with latest APPs, Libs, and examples
Following the instructions given in the Readme_ADC_MEASUREMENT_ADV_EXAMPLE_XMC45.pdf
document, simply does not work
Here is the components / signals view :
And source code :
I was able to add code to generate Request events Interrupts. But no way to get a Result interrupt.
What do I miss ?
I am not sure of what is wrong, starting to wonder if the APPs approach is the right one...
Thanks for any welcome input
Jorge Show Less
DAVE™
Hi,Dave just told me that there are a bunch of new updates available. I've tried to update everything but the update fails.By starting the updates one...
Show More
Hi,
Dave just told me that there are a bunch of new updates available. I've tried to update everything but the update fails.
By starting the updates one by one I could install some of them, but the following two still give me an error:
- DAVE Code Engine Feature | 1.0.18.201603020351 | com.ifx.davex.ce.feature.feature.group
An error occurred while collecting items to be installed
session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http://dave.infineon.com/Luna/v4.1/IDE/plugins/com.ifx.davex.ce.core_1.0.18.201603020351.jar.
Connection reset
- DAVE IDE | 1.0.18.201603020351 | com.ifx.dave.platfrom.feature.feature.group
An error occurred while collecting items to be installed
session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
HTTP Server 'Bad Gateway' : http://dave.infineon.com/Luna/v4.1/IDE/plugins/com.dave.mbs.common_1.0.18.201603020351.jar
HttpComponents connection error response code 502.
Any ideas?
Best Regards,
Frank Show Less
Dave just told me that there are a bunch of new updates available. I've tried to update everything but the update fails.
By starting the updates one by one I could install some of them, but the following two still give me an error:
- DAVE Code Engine Feature | 1.0.18.201603020351 | com.ifx.davex.ce.feature.feature.group
An error occurred while collecting items to be installed
session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http://dave.infineon.com/Luna/v4.1/IDE/plugins/com.ifx.davex.ce.core_1.0.18.201603020351.jar.
Connection reset
- DAVE IDE | 1.0.18.201603020351 | com.ifx.dave.platfrom.feature.feature.group
An error occurred while collecting items to be installed
session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
HTTP Server 'Bad Gateway' : http://dave.infineon.com/Luna/v4.1/IDE/plugins/com.dave.mbs.common_1.0.18.201603020351.jar
HttpComponents connection error response code 502.
Any ideas?
Best Regards,
Frank Show Less