DAVE™ Forum Discussions
DAVE™
Hi,I'm trying to set-up PWM on XMC1100. For this I use PWMSP001 [1.0.26], but I cannot define more than 4 channels. Is that the device limitation or t...
Show More
Hi,
I'm trying to set-up PWM on XMC1100. For this I use PWMSP001 [1.0.26], but I cannot define more than 4 channels. Is that the device limitation or there is a way to define PWM on 8 / 16 channels? Show Less
I'm trying to set-up PWM on XMC1100. For this I use PWMSP001 [1.0.26], but I cannot define more than 4 channels. Is that the device limitation or there is a way to define PWM on 8 / 16 channels? Show Less
DAVE™
Hi everyone,While working with DAVE, the build process takes appox. 2 mins (after every "Generate Code"). for even a small project.Is there any possib...
Show More
Hi everyone,
While working with DAVE, the build process takes appox. 2 mins (after every "Generate Code"). for even a small project.
Is there any possible configuration changes can speed up the process ? Show Less
While working with DAVE, the build process takes appox. 2 mins (after every "Generate Code"). for even a small project.
Is there any possible configuration changes can speed up the process ? Show Less
DAVE™
Hello everybody,i hope you can help me. For my student project i have to work with the XMC 4500 (Hexagon Kit with all 3 satellite cards) and DAVE. I i...
Show More
Hello everybody,
i hope you can help me. For my student project i have to work with the XMC 4500 (Hexagon Kit with all 3 satellite cards) and DAVE.
I installed the full package of DAVE 3.1.8, which i found on the Infineon website. Starting with my first easy project, i chose the the XMC4500 - F144x1024 AA series because on my chip stands XMC4500 F144K1024 AA13 EES.
As i tried to debug the file I get always an error message which says: There is an internal problem with the initialization of the debug instrument.
After some searching i found an application note of Infineon. In it there was:
The debugger interface which is shipped as part of the enterprise kit is a J-Link Lite CortexM and is supported by CrossWorks as SEGGER J-Link.
Because there are several versions of the respective driver DLL, we recommend selecting the debugger DLL supplied by Infineon and installed with DAVE™ 3. To do this the respective target property called „J-Link DLL File‟ in CrossWorks must be set pointing to the DLL.
Please make sure that the Target Interface Type is set to SWD.
Honestly I have no clue about the CrossWorks, nor do I know, where included screenshots were made from. The note was regarding to DAVE 3.1.6.
Hope you can help me with the debugger that it works properly.
Thanks
Stefan Show Less
i hope you can help me. For my student project i have to work with the XMC 4500 (Hexagon Kit with all 3 satellite cards) and DAVE.
I installed the full package of DAVE 3.1.8, which i found on the Infineon website. Starting with my first easy project, i chose the the XMC4500 - F144x1024 AA series because on my chip stands XMC4500 F144K1024 AA13 EES.
As i tried to debug the file I get always an error message which says: There is an internal problem with the initialization of the debug instrument.
After some searching i found an application note of Infineon. In it there was:
The debugger interface which is shipped as part of the enterprise kit is a J-Link Lite CortexM and is supported by CrossWorks as SEGGER J-Link.
Because there are several versions of the respective driver DLL, we recommend selecting the debugger DLL supplied by Infineon and installed with DAVE™ 3. To do this the respective target property called „J-Link DLL File‟ in CrossWorks must be set pointing to the DLL.
Please make sure that the Target Interface Type is set to SWD.
Honestly I have no clue about the CrossWorks, nor do I know, where included screenshots were made from. The note was regarding to DAVE 3.1.6.
Hope you can help me with the debugger that it works properly.
Thanks
Stefan Show Less
DAVE™
1) Check "Use RTOS" in USBLD001 UI2) Change the stack size to 2048 in RTOS001 RTX tab3) Place "USBVC001_Init()" inside the thread function4) Add main ...
Show More
1) Check "Use RTOS" in USBLD001 UI
2) Change the stack size to 2048 in RTOS001 RTX tab
3) Place "USBVC001_Init()" inside the thread function
4) Add main USB management task "USB_USBTask()" right after the application tasks (eg. USBVC001_SendString((const char *)"Hello World" in the following example)
2) Change the stack size to 2048 in RTOS001 RTX tab
3) Place "USBVC001_Init()" inside the thread function
4) Add main USB management task "USB_USBTask()" right after the application tasks (eg. USBVC001_SendString((const char *)"Hello World" in the following example)
* Thread declaration */Show Less
void USB_Thread (void const *Argument);
int main(void)
{
DAVE_Init();
osThreadId ThreadId1;
/* Thread definition */
osThreadDef(USB_Thread, osPriorityNormal, 1, 0);
/* Thread creation */
ThreadId1 = osThreadCreate(osThread(USB_Thread),NULL);
if (ThreadId1 != NULL)
{
/* Start the OS kernel explicitly.*/
osKernelStart();
}
return 0;
}
void USB_Thread(void const *Argument)
{
uint16_t Bytes = 0;
/* Buffer to receive data */
int8_t RxBuffer[10] = { 0 };
USBVC001_Init();
while(1)
{
/* Check if bytes are received */
Bytes = USBVC001_BytesReceived();
if(Bytes)
{
/* Receive the byte */
USBVC001_ReceiveByte(&RxBuffer[0]);
/* Send the receive data back to the host */
USBVC001_SendString((const char *)"Hello World");
}
/* Main USB management task */
USB_USBTask();
...
}
DAVE™
Hello, I use LwIP(ETH004) to make UDP-communication on my XMC4500 Relax Kit.It works, but if the Ethernet-connector is not plugged in, then my applica...
Show More
Hello, I use LwIP(ETH004) to make UDP-communication on my XMC4500 Relax Kit.
It works, but if the Ethernet-connector is not plugged in, then my application does not start.
I found, that lwIPStack_init() does not return.
In "EthernetPHY.c" I found an enless loop:
I changed this to a single call:
After this change all works fine. Is this ok, or are there some drawbacks?
Best regards,
torsten Show Less
It works, but if the Ethernet-connector is not plugged in, then my application does not start.
I found, that lwIPStack_init() does not return.
In "EthernetPHY.c" I found an enless loop:
do {} while(PHY_lIsAutoNegoComplete() != TRUE);
I changed this to a single call:
PHY_lIsAutoNegoComplete();
After this change all works fine. Is this ok, or are there some drawbacks?
Best regards,
torsten Show Less
DAVE™
In Tasking DEBU perspective, the task panel is available and is showing the project 'TODO'. Is there a way to have the same window in the CE perspecti...
Show More
In Tasking DEBU perspective, the task panel is available and is showing the project 'TODO'. Is there a way to have the same window in the CE perspective?
Show Less
DAVE™
hi everybodyI've bought the eval kit "Hexagon Application Kit" because it has a motor control interface for a BLDC motor with resolver. The problem is...
Show More
hi everybody
I've bought the eval kit "Hexagon Application Kit" because it has a motor control interface for a BLDC motor with resolver. The problem is, that I can't find any software example so that I can start testing the eval kit with the motor.
Can help me anybody? or do you have anybody an example?
Thank you in advance
Pablo Show Less
I've bought the eval kit "Hexagon Application Kit" because it has a motor control interface for a BLDC motor with resolver. The problem is, that I can't find any software example so that I can start testing the eval kit with the motor.
Can help me anybody? or do you have anybody an example?
Thank you in advance
Pablo Show Less
DAVE™
We are trying to get the CAN001_Example2 project working with two XMC4500 Hexagon boards and are having some trouble seeing CAN traffic on the bus.We ...
Show More
We are trying to get the CAN001_Example2 project working with two XMC4500 Hexagon boards and are having some trouble seeing CAN traffic on the bus.
We have created two copies of the CAN001_Example2, CAN_A (requester) and CAN_B (responder) where CAN_A is set to send a transfer request for LMO1 and CAN_B is set to respond with LMO1.
We have reconfigured both CAN001_Example2 projects to turn off loopback mode, and to assign pins for the CAN Rx (P1.4) and CAN Tx (P1.5) per the XMC4500 Hexagon board.
We have a modified RS-232 cable to connect the CAN_A and CAN_B ports together to ensure that CAN-hi and CAN-lo are connected.
We have CAN_A set to issue the LMO1 request every second, but we do not see any activity at all on either CAN-hi/CAN-lo or CAN TxD/CAN RxD
on either board. CAN_B obviously does not register any interrupts from CAN activity from CAN_A. Both the CAN-hi and CAN-lo pins are stuck high for the duration of things being on.
Is there anything else we might be missing getting the CAN001 example apps up and running for real on an XMC4500 Hexagon board?
Thanks in advance,
Joe Shidle Show Less
We have created two copies of the CAN001_Example2, CAN_A (requester) and CAN_B (responder) where CAN_A is set to send a transfer request for LMO1 and CAN_B is set to respond with LMO1.
We have reconfigured both CAN001_Example2 projects to turn off loopback mode, and to assign pins for the CAN Rx (P1.4) and CAN Tx (P1.5) per the XMC4500 Hexagon board.
We have a modified RS-232 cable to connect the CAN_A and CAN_B ports together to ensure that CAN-hi and CAN-lo are connected.
We have CAN_A set to issue the LMO1 request every second, but we do not see any activity at all on either CAN-hi/CAN-lo or CAN TxD/CAN RxD
on either board. CAN_B obviously does not register any interrupts from CAN activity from CAN_A. Both the CAN-hi and CAN-lo pins are stuck high for the duration of things being on.
Is there anything else we might be missing getting the CAN001 example apps up and running for real on an XMC4500 Hexagon board?
Thanks in advance,
Joe Shidle Show Less
DAVE™
HI all,Is there any application sample to run un this configuration (USBVC001 with RTOS)?If switched to RTOS (USBLD001 check box), Dave change the App...
Show More
HI all,
Is there any application sample to run un this configuration (USBVC001 with RTOS)?
If switched to RTOS (USBLD001 check box), Dave change the App Connectivity view and loads some additional apps (RTOS001 for example).
Main.c:
....
int main(void)
{
// status_t status; // Declaration of return variable for DAVE3 APIs (toggle comment if required)
/* Initialization of DAVE Apps */
DAVE_Init();
/* Initialization of the USBVC001 App */
USBVC001_Init();
// start RTOS
osKernelStart();
osDelay(osWaitForever);
for (;;);
return 0;
}
in USBVC001_Init(); we get the MemManager exception.
HW: XMC4500 Relax Lite Kit V1
Dave 3.18 build 2013-09-12
USBLD001 - 1.0.12 Show Less
Is there any application sample to run un this configuration (USBVC001 with RTOS)?
If switched to RTOS (USBLD001 check box), Dave change the App Connectivity view and loads some additional apps (RTOS001 for example).
Main.c:
....
int main(void)
{
// status_t status; // Declaration of return variable for DAVE3 APIs (toggle comment if required)
/* Initialization of DAVE Apps */
DAVE_Init();
/* Initialization of the USBVC001 App */
USBVC001_Init();
// start RTOS
osKernelStart();
osDelay(osWaitForever);
for (;;);
return 0;
}
in USBVC001_Init(); we get the MemManager exception.
HW: XMC4500 Relax Lite Kit V1
Dave 3.18 build 2013-09-12
USBLD001 - 1.0.12 Show Less
DAVE™
I am using DAVE-3.1.8 with all updates installed.I am debugging 'PWMSP001_CNT001_Example1_RelaxKit' on a RelaxKit board, and I am stepping through the...
Show More
I am using DAVE-3.1.8 with all updates installed.
I am debugging 'PWMSP001_CNT001_Example1_RelaxKit' on a RelaxKit board, and I am stepping through the code. I am entering the DAVE_Init function (using F5) then executing each function (using F6), then when I get to the end of the function, F5 does not return to main. Interrupting the program indicates that it is spending time in 'BusFault_Handler'.
How did it get there?
If I start the debug session then let it run, the program runs as expected. Show Less
I am debugging 'PWMSP001_CNT001_Example1_RelaxKit' on a RelaxKit board, and I am stepping through the code. I am entering the DAVE_Init function (using F5) then executing each function (using F6), then when I get to the end of the function, F5 does not return to main. Interrupting the program indicates that it is spending time in 'BusFault_Handler'.
How did it get there?
If I start the debug session then let it run, the program runs as expected. Show Less