DAVE™ Forum Discussions
DAVE™
I am using XMC1200 and would like to know what is the app I should use to generate PWM for the flyback converter switch?
DAVE™
Recently I purchased a XMC4400 kit. Yesterday, I tried to download the latest DAVE. The registration page led me through the registration page however...
Show More
Recently I purchased a XMC4400 kit. Yesterday, I tried to download the latest DAVE. The registration page led me through the registration page however, I did not get any answer if the registration was accepted. Also, I did not get any confirmation mail. Tried with a different mail account, no success. No junk or spam messages were received from Infineon mail server. What's the problem?
Show Less
DAVE™
Hello there,is it possible, that I2C does not work properly on the XMC4500?I tried it on several boards (Infineon Hexagon and self developed boards) a...
Show More
Hello there,
is it possible, that I2C does not work properly on the XMC4500?
I tried it on several boards (Infineon Hexagon and self developed boards) and I always end up in the same situation. I reduced my project to just an I2C001 app in Dave3 and connected nothing on the pins but an oscilloscope. When I configure the I2C pins to be push pull, I can see the clock signal as expected when I use I2C001_WriteData(). So far everything is fine, except from the fact, that it makes no sense to combine I2C and push pull.
So I configure the pins to be open drain via the UIModelEditor and connect a wired 4.7k pullup resistor between the desired pin and VDD3. This setup makes sense from the electronical point of view. Unfortunately it doesn't work for the most cases and I see only a constant high level on the oscilloscope. In some rare cases open drain works, but I can't tell you, how to achive this. When I reconfigure the I2C signals to another pin and later switch back to the old configuration it doesn't work anymore. Until now I was not able to figure out the pattern behind this behaviour. I'm very sure that I use the scope and Dave3 in the right way, since I use these tools every day and keep myself busy with this problem since a full week.
I am using Dave 3.1.10 with the latest app store installed. Therefore my I2C001 app is of the version 1.0.28. I observe the same behaviour on boards with the AB and AC stepping of the XMC4500. Since it seems to work in some cases, my guess is that Dave generates faulty code. On the other hand I can't find anything suspicious in the generated code. When I look in the port pin registers with the debugger, everything looks fine (at least for me). This supports the theory that the controller itself has a problem.
I can't find anything in the errata sheets. So I'm open for any suggestions.
Cheers, Felix Show Less
is it possible, that I2C does not work properly on the XMC4500?
I tried it on several boards (Infineon Hexagon and self developed boards) and I always end up in the same situation. I reduced my project to just an I2C001 app in Dave3 and connected nothing on the pins but an oscilloscope. When I configure the I2C pins to be push pull, I can see the clock signal as expected when I use I2C001_WriteData(). So far everything is fine, except from the fact, that it makes no sense to combine I2C and push pull.
So I configure the pins to be open drain via the UIModelEditor and connect a wired 4.7k pullup resistor between the desired pin and VDD3. This setup makes sense from the electronical point of view. Unfortunately it doesn't work for the most cases and I see only a constant high level on the oscilloscope. In some rare cases open drain works, but I can't tell you, how to achive this. When I reconfigure the I2C signals to another pin and later switch back to the old configuration it doesn't work anymore. Until now I was not able to figure out the pattern behind this behaviour. I'm very sure that I use the scope and Dave3 in the right way, since I use these tools every day and keep myself busy with this problem since a full week.
I am using Dave 3.1.10 with the latest app store installed. Therefore my I2C001 app is of the version 1.0.28. I observe the same behaviour on boards with the AB and AC stepping of the XMC4500. Since it seems to work in some cases, my guess is that Dave generates faulty code. On the other hand I can't find anything suspicious in the generated code. When I look in the port pin registers with the debugger, everything looks fine (at least for me). This supports the theory that the controller itself has a problem.
I can't find anything in the errata sheets. So I'm open for any suggestions.
Cheers, Felix Show Less
DAVE™
You need to follow the steps below to Copy and Paste a DAVE project (eg. RTOS001_Example1) in order to avoid the compilation/building error:1) In DAVE...
Show More
You need to follow the steps below to Copy and Paste a DAVE project (eg. RTOS001_Example1) in order to avoid the compilation/building error:
1) In DAVE CE "C/C++ Project" window --> Right click on the project "RTOS001_Example1" --> Select "Copy" --> Right click in "C/C++ Project" window --> Select "Paste"
2) In "Copy Project" pop-up window, the "Project name" shows "Copy of RTOS001_Example1" --> Change it to a new name "without spacing" eg. RTOS001_Example1_Copy then click "OK"
3) A new project "RTOS001_Example1_Copy" is listed in "C/C++ Project" window but with old linker script file RTOS001_Example1.ld
4) Right click on the file "RTOS001_Example1.ld" --> Select "Rename..." --> In "Rename Resource" pop-up window, change the "New name" from "RTOS001_Example1.ld" to "RTOS001_Example1_Copy .ld" which is same as the project name Show Less
1) In DAVE CE "C/C++ Project" window --> Right click on the project "RTOS001_Example1" --> Select "Copy" --> Right click in "C/C++ Project" window --> Select "Paste"
2) In "Copy Project" pop-up window, the "Project name" shows "Copy of RTOS001_Example1" --> Change it to a new name "without spacing" eg. RTOS001_Example1_Copy then click "OK"
3) A new project "RTOS001_Example1_Copy" is listed in "C/C++ Project" window but with old linker script file RTOS001_Example1.ld
4) Right click on the file "RTOS001_Example1.ld" --> Select "Rename..." --> In "Rename Resource" pop-up window, change the "New name" from "RTOS001_Example1.ld" to "RTOS001_Example1_Copy .ld" which is same as the project name Show Less
DAVE™
Hi,We can see in infineons AppNotes , that used Hw-Blocks are together connected with lines in any orientation (non-strictly rectangular).Where in Dav...
Show More
Hi,
We can see in infineons AppNotes , that used Hw-Blocks are together connected with lines in any orientation (non-strictly rectangular).
Where in Dave can I change it ?
regards
zbyno Show Less
We can see in infineons AppNotes , that used Hw-Blocks are together connected with lines in any orientation (non-strictly rectangular).
Where in Dave can I change it ?
regards
zbyno Show Less
DAVE™
Hello.I am working with the Hexagon Starter Kit. I used it some months ago and I think it worked quite fine. But now I have resume my work and I am ha...
Show More
Hello.
I am working with the Hexagon Starter Kit. I used it some months ago and I think it worked quite fine. But now I have resume my work and I am having problems with the debugger.
It stops at any point, as if there is a breakpoint, but there is no breakpoint there. Maybe I placed a breakpoint but now it is removed. Is it possible that a breakpoint remains somehow active even after removing it?
Also the debugger gets blocked at some points, for instance when sending a CAN message. Sometimes I get this message:
If I run the program without the debugger, it works properly.
At this moment the debugger is a completely usseless tool for mi. 😞
Attached you can find the sample project I am using (the Debug folder is removed because of its big size).
Any help will be wellcome.
Thanks in advance,
José Luis. Show Less
I am working with the Hexagon Starter Kit. I used it some months ago and I think it worked quite fine. But now I have resume my work and I am having problems with the debugger.
It stops at any point, as if there is a breakpoint, but there is no breakpoint there. Maybe I placed a breakpoint but now it is removed. Is it possible that a breakpoint remains somehow active even after removing it?
Also the debugger gets blocked at some points, for instance when sending a CAN message. Sometimes I get this message:
If I run the program without the debugger, it works properly.
At this moment the debugger is a completely usseless tool for mi. 😞
Attached you can find the sample project I am using (the Debug folder is removed because of its big size).
Any help will be wellcome.
Thanks in advance,
José Luis. Show Less
DAVE™
Hi,I have just started with the implementation of a MODBUS RTU slave according to DAVE3 app MODBUS001_Example.By using the callback function " MyHoldi...
Show More
Hi,
I have just started with the implementation of a MODBUS RTU slave according to DAVE3 app MODBUS001_Example.
By using the callback function " MyHoldingCB" in Example2, I always receive with the variable "usAddress" with a value bigger by 1 as my adjusted start address.
Here the declaration of this function:
eMBErrorCode MyHoldingCB( UCHAR * pucRegBuffer, USHORT usAddress, USHORT usNRegs, eMBRegisterMode eMode );
Has someone recognised the same behavior or can explain the reason for that?
Thanks, Show Less
I have just started with the implementation of a MODBUS RTU slave according to DAVE3 app MODBUS001_Example.
By using the callback function " MyHoldingCB" in Example2, I always receive with the variable "usAddress" with a value bigger by 1 as my adjusted start address.
Here the declaration of this function:
eMBErrorCode MyHoldingCB( UCHAR * pucRegBuffer, USHORT usAddress, USHORT usNRegs, eMBRegisterMode eMode );
Has someone recognised the same behavior or can explain the reason for that?
Thanks, Show Less
DAVE™
Hello,I've found an Appl. Note on the infineon homepage regarding a SENT driver on a XC2287.I would like to adapt the correspondig DAVE v2.2 project f...
Show More
Hello,
I've found an Appl. Note on the infineon homepage regarding a SENT driver on a XC2287.
I would like to adapt the correspondig DAVE v2.2 project from the XC2287 to a XC2287M.
Is that possible in an easy way?
Thanks in advance
AlfredJodaQuak Show Less
I've found an Appl. Note on the infineon homepage regarding a SENT driver on a XC2287.
I would like to adapt the correspondig DAVE v2.2 project from the XC2287 to a XC2287M.
Is that possible in an easy way?
Thanks in advance
AlfredJodaQuak Show Less
DAVE™
Does XMC4500 Relax Lite kit support for xSPY? If it can ,any example to demonstrate xSPY?
DAVE™
Always when i start the Tasking Debugger the message No source available for "0x8000eb0() " appeares in the C-Code section.The Dissasembly appeares p...
Show More
Always when i start the Tasking Debugger the message No source available for "0x8000eb0() " appeares in the C-Code section.
The Dissasembly appeares properly, as well as the Register values and the break point positions..
I can resume the project (example Project: RTOS001) and it works properly.
But Debugging is impossible like that.
Restart of the Debugging process doesn't help. Other example projects don't work as well.
Since there are not much properties for the Tasking Debugger i think they are OK.
Please Help Show Less
The Dissasembly appeares properly, as well as the Register values and the break point positions..
I can resume the project (example Project: RTOS001) and it works properly.
But Debugging is impossible like that.
Restart of the Debugging process doesn't help. Other example projects don't work as well.
Since there are not much properties for the Tasking Debugger i think they are OK.
Please Help Show Less