Quantcast
Channel: Infineon Forums
Viewing all 9892 articles
Browse latest View live

Register View in Dave 4.14

$
0
0
Marc

Can you elaborate on how you got XMC recognized by embsysregview?

I've tried adding an infenion folder here:
\DAVE-4.1.4\eclipse\plugins\org.eclipse.cdt.embsysregvie w.data_0.2.5.r180\data\SVD(CMSIS)\

and added the relevant SVD file from here:
\Infineon\D_LibraryStore_4.1\DeviceFeatures\pack\2 .1.2\Libraries\CMSIS\Infineon\SVD\

I've also tried just renaming the .svd to .xml but when I find it in in the EmbSys preference chip setup window and hit OK I briefly get some error message that I cannot see and the EmbSys Registers window keep telling me to select a chip in preferences.

My first thought is that this may be related to the format of the .svd file, but I'm not sure.

Would you be wiling to share the steps needed for this plugin to work nicely with DAVE and XMC?

Live view of Variables or Expresions?

$
0
0
Hi

I've noticed more and more IDEs and chips support live view of Expressions/Variables. That is being able to get continuous update of values while the target is running. Is this something that is supported by DAVE 4?

I've looked around for this but cannot find any mention of it.
I've found it extremely useful in previous projects and am currently evaluating if we want to port our current code from TI Piccolo to XMC. (TIs Code Composer Studio which is also Eclipse based support live view)

If DAVE does not support is it known if this is supported for XMC in other IDEs (IAR, Atollic etc)

Best regards
Nicolaj

How to update microcontroller in the DAVE project

$
0
0
Hi,

I'm using DAVE 4.1.4 and I downloaded the BUCK_VCM_DIGITAL_POWER_EXPLORER_XMC13 project which is from Infineon web. The info for microcontroller in the project is different from what I want to use. By the way both controllers are from same 13xx family. How I can update this?

Regards,
Ming

How to update microcontroller info in DAVE

$
0
0
Hi,

I'm using DAVE 4.1.4 and I downloaded the BUCK_VCM_DIGITAL_POWER_EXPLORER_XMC13 project from Infineon web. The info for microcontroller in the project is different from what I want to use. By the way both controllers are from same 13xx family. How I can update this? I can only see the microcontroller info in the DAVE, but not able to do any change.

Regards,
Ming

Pseudo Random Number Generator in xmc4500

How to interface 2.2" TFT SPI 240x320 display (ILI9341) with the XMC4500 Relax kit

$
0
0
Hi,

I’m trying to interface a 2.2" TFT SPI 240x320 display (ILI9341) with the XMC4500 Relax kit.
I'm using GUISL001 App (GUISL001_Example1; GUISL001_Example2). I also tried the example of the post “XMC_HOT: XMC4500: How to do a basic GUI display?” but without success.

Connections between the display and the xmc4500 relax kit:
Display pin XMC4500 Relax kit pin
1 Vcc VDD3.3
2 GND GND
3 CS P0.9 (ChipSelectA)
4 RESET RST#
5 DC/RS P3.2 (IO004/0)
6 SDI/MOSI P0.1 (MTSR)
7 SCK P0.10 (Clock Out)
8 LED VDD3.3
9 SDO/MISO P0.0 (MRST)

Can anyone help me on this?
Regards

Dave 4.1.4 ADC_Measurement_0 IRQ: How to enable/disable?

$
0
0
Hello,

how could I enable/disable the End of Measurement interrupt of the app ADC_Measurement_0 by software?

I checked app help but didn't find any solution.

I use Dave 4.1.4

Kind regards
Kurt

How can I receive more than one byte data in one frame?

$
0
0
Hi. I'm XMC2Go user.

In my source code, it can receive one byte data, but it can't receive more than one byte data in one frame.

Code:

uint8_t pinIn[16];
while(1)
{

        ReadData(pinIn,16);
       
        //....
}

void ReadData(uint8_t* data, uint8_t length)        //Read data(Rx)
{
        while((flag=UART001_GetFlagStatus(&UART001_Handle1,UART001_FIFO_STD_RECV_BUF_FLAG))!=UART001_SET);
        //Read Receive FIFO buffer till the buffer is empty

        UART001_ReadDataBytes(&UART001_Handle1, pinIn, 16);

        UART001_ClearFlag(&UART001_Handle1,UART001_FIFO_STD_RECV_BUF_FLAG);
}

If it receive "0123" data(include '\0' the last), then first it receive "0" and then go out and into ReadData() function again, and receive "123".
So, there remain the last "123" in pinIn variable instead of "0123".

If it has enough time before it starts receiving the signal "0123", then it can get the signal at once.
So, I thought I needed to put some flag such as UART001_FIFO_STD_RECV_BUF_FLAG, but it didn't help.
How can I receive it at once in one frame?

Save electricity during daytime

$
0
0
To make a perfect circuit you should use logic gates from a truth table, it is the main two possible method. first method is Sum of Products and the other method is by Products of Sums.

what is an wake up event in Hibernate mode?

$
0
0
Hi,
i am working with XMC4200,i have little bit confusion with wake up event.

Vbat monitor LPAC

$
0
0
Hello,

Is there any example code or extra documentation available on this topic? I implemented the code according to xmc4400 manual, however it is not working properly. I first do calibration of LPAC thresholds and all settings necessary. Then I choose measurement on sub/second timer. After VDDP is switched off. Vbat is lowered to 1.9V. I assume that measurement runs automatically in hibernate mode. Then VDDP is applied and VBAT compare status is checked. Result is that Vbat is always above threshold. I would appreciate any help.

rum

Webserver App

$
0
0
Hi,
When can i use the webserver App on dave 4, is this tool planed to be used on dave 4 ?

Best regards stefan

DAVE3 Debug Problems

$
0
0
Recently I used DAVE3 to develop in my XMC4500 kit, however, after testing some modules, I have a problem. When I want to debug through ‘Universal Debug Access Server’, the software shows an Install Breakpoint error: Hardware trigger cannot be added because there are no usable resources left. Just as the following pic shows,

Attachment 1948

Attachment 1949

hopefully somebody can give me an Fastback.

Thanks a lot.
Attached Images

Hitex XMC1300 Class B Watchdog POST Timing

$
0
0
I heard back from Hitex that the settings I've used are ok.

The real limit is: ClassB_TEST_POST_WDOG_TIME > ClassB_TEST_POST_WDOG_WLB > 0

PC-Lint and DAVE 4

$
0
0
I have an XMC1302 project created in DAVE 4 that I need to analyze with PC-Lint. Are there any resources available for configuring PC-Lint for a DAVE 4 project?

I've found some good general information on setting up PC-Lint, but nothing specific to DAVE or the XMC series of microcontrollers.

Thanks!

Controlling small Wind-/Solarpowerplant with Emergencybackup via XMC4500 Relax Kit

$
0
0
Quote:

Originally Posted by stefan.kerstner.e1425645 View Post
I was doing some adc examples but i recogniced that the ADC apps only work if ure in the environment of a infineon example program if i start my own infineon projekt the Apps just dont work is there any solution or can u show me how to program the adc without the aps couse the webserver app isnt working on dave 4 right now right? So ill use dave 3 and i want to write the code without apps


Hi,

U can refer to this example which is using the low level drivers.

http://www.infineonforums.com/thread...rdware-trigger

Example for temperature sensor

$
0
0
Yes, I'm looking example code for TSE.

XC2000 (XC2269I) saving variable to non-volatile RAM area

$
0
0
if we are able to save a variable to a non-volatile RAM

How to start ...

XMC4500 speed up ISR of sync AD conversion

$
0
0
Hey guys,

I need your help... again. :S


My Situation:
I'm using DAVE 4 (newest Updates installed) to programm XMC4500 Relax Kit. I configured the ADCs to convert 4 Pins synchronously with queue request. When VADC_G0 result is available an Interrupt occures and I only want to read out my 4 results.
I want to convert at least 100,000 times. So In my ADC ISR I also have to increment a counter. In my main function I'm using a WHILE-Loop to control my counter. If it reaches >=100,000 the ADC will be turned off. A attached an example project here
So far everything is working... as long as I use small sample rates.


My Problem:
If I increase the sample rate the ADC ISR is never leaved.
I tested it in debug mode with DAVE. Although the counter reached the STOP-value the ADC doesn't stop running and keeps incrementing the counter. It never leaves the while-loop and it seems to get stucked in the ISR. Looks like an Interrupt occures faster, then I can read out my results. But is this even possible???? I mean the XMC4500 has120 MHz. Shouldn't that be enough to read out 4 simple ADC results in an ISR????


My approaches:
1. optimization level in compiler
I increased the optimization of my project in the compiler properties to "optimize most -O3". I had a look at the Dissassembly. The assembly code has the same instructions as it had without any optimization. They only changed in order. It seems to use pipeling more now. But the results remain the same.

2. Minimize the ISR
I tried to delete everything in the ISR (except the counter increment). And it worked ! ! I can sample with maximum rate BUT it's useless since I don't read out my results. Only thing I can say now is that obviously my ISR is to long. But I have no idea on how to shorten it or make it more effcient.


Hope you uderstand my problem. Otherwise ask me for more details.

I will be very thankful for any replies and/or hints.



Greetings ,

bqpd
Attached Files
Viewing all 9892 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>