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

XMC 2Go

$
0
0
Heres the full project that I've been developing and trying to run.
The I2C pins doesn't even change the level. I had sucess coding it into DAVE 3, but I can't do it on DAVE 4.
?????

DAVE4 or 3 both meet the error "error occured while connecting to solver process"

$
0
0
I have tried to reinstall the software some times,but the error stay.To DAVE3.1.8,I tried to change the TCP port number,but it doesn't work.To DAVE4.3.2 I don't know what I can do to solve this question.The log file of DAVE4 belowAttachment 3113
?????

Voltage monitoring

$
0
0
Since no support was offered for this issue, I had to resolve it myself. Good chips but miserable customer support...

The issue is that even with the detection delay time set to 0x03 or no delay in ANAVDEL, there is still a delay in the flag being set so the configuration in the ANAVDEL register needs to be set some time in advance of when the value is required. Also, keep in mind that the bit flag in VDESR is set to 1 when the value is below the set threshold.

(DAVE 4) XMC 2Go - I2C APP - Requesting data from sensor

$
0
0
Hello guys,

I'm trying to get information from a Infineon magnetic sensor using a XMC 2Go and DAVE 4.
The I2C Transmitt function is working (regarding the bug mentioned at the topic: https://www.infineonforums.com/threads/5379-XMC-2Go) and now I'm trying to find a way to use the Receive function because it's not exactly as I need.
To receive data from this specific sensor (also a Infineon sensor), I should send the sensor address, desired register address and then the master is ready to receive data. I can do it using an Arduino by a bit bang i2C communication as shown in the picture:
Attachment 3119

When I try to receive data using DAVE 4 and XMC 2Go, I can't send the second information (desired register address) and then I start receiving data since the sensor address is sent, as shown in the picture:
Attachment 3120

I tried to combine transmit and receive functions but I didn't had success on it. The main code is attached.

Does anybody have any idea on how to do it?
Attachment 3121
?????
?????

VADC VRef settings

$
0
0
Hi all,

I am using my XMC1400 board with VDD set to 3.3 V. For certain measurements I need a range from 0-5 V in a certain VADC channel. Is it possible to set the input range from 0 to 5V without changing VDD to 5V?

Thank you

Sense2Go Development Kit Exporting Data

$
0
0
I would like to export the data acquired by the Sense2Go Development kit when connected via usb to a laptop, and after running the GUI. The kit comes with the MATLAB which processes the data, as well as displays the data in the GUI. My initial thought is to modify this MATLAB code to include a line which saves the acquired data. Unfortunately, this will not work as I would need to compile this new MATLAB code, which I cannot do as I do not have the MATLAB compiler on my laptop. Anyone have any suggestions on how to save the acquired data?

How to use a Section for variables

$
0
0
Hi.

How can i use a separate ram section for variables.

I declare a new section in the linkerscript.
I declare a variable in my new section

but the compiler places the variable only in the .bss section.

Code:

C-Code:

uint32_t RAMTest[3000] __attribute__((section(".MyRam")));

Linker File:

@ Memory

MYSEPARATERAM(!RX) : ORIGIN = 0x40000000, LENGTH = 0x4000

than between data and bss-section:

    /* RAM section */
    .MyRam(NOLOAD) :
    {
        . = ALIGN(4); /* section size must be multiply of 4. See startup.S file */
        __MyRam_start = .;
        *(.MyRam*);
        . = ALIGN(4); /* section size must be multiply of 4. See startup.S file */
        __MyRam_end = .;
    } > MYSEPARATERAM
    __MyRam_size = __MyRam_end - __MyRam_start;

But the Compiler is placing the variable in .bss/SRAM_Combined.
Wo warning about a not existing section.

Is the a way to use the ram section for my variables?

What is the software development tool (Eclipse IDE) for C515C microcontroller.

$
0
0
Hi,
I'm going to develop a project with the microcontroller C515C(infenion 8051)(8-Bit Single-Chip Microcontroller). So I just want to know the software development tool (Eclipse IDE) for the above controller.
I have downloaded the DAVE IDE(DAVE-4.3.2-64Bit) but I can't find the controller there which I required. Can you please suggest me.

Thanks and Regards,
Vigneshkumar P

(DAVE 4) XMC 2Go - I2C APP - Requesting data from sensor

$
0
0
Hello guys,

I'm trying to get information from a Infineon magnetic sensor using a XMC 2Go and DAVE 4.
The I2C Transmitt function is working (reggarding the bug mentioned at the topic: https://www.infineonforums.com/threads/5379-XMC-2Go) and now I'm trying to find a way to use the Receive function because it's not exactly as I need.
To receive data from this specific sensor (also a Infineon sensor), I should send the sensor address, desired register address and then the master is ready to receive data. I can do it using an Arduino by a bit bang i2C communication as shown in the picture:
Attachment 3116

When I try to receive data using DAVE 4 and XMC 2Go, I can't send the second information (desired register address) and then I start receiving data since I the sensor address is sent, as shown in the picture:
Attachment 3117

I searched for a function to do that and tried to combine transmitt and receive functions but I'm not having success on it. The main code is attached.

Does anybody have any idea on how can I do it?
Attachment 3118
?????
?????

Error occured while connecting to the solver process

TASKING LSL File for BootROM

$
0
0
Thank you ulrichk, you are right, I have found quite the same approach, but your is more fine.

Best regards
GMG

How to change Dave4 PMSM-FOC app from sensorless to Hall ?

$
0
0
Hi Eric,

We are looking to migrate to XMC4800 (and also to XMC1400 for a lite version of our products), but we need Sensored FOC (encoder input, either SPI or incremental).

Does what you wrote above also apply to change from sensorless to sensored (encoder)? I am referring to this part:

manipulate the values PLL_Estimator.RotorSpeed_In and PLL_Estimator.RotorAngleQ31

Other than scaling the values do you forsee any other issue?

Also do you plan in updating the PMSM_FOC app to support multiple types of position inputs in the future (Hall, Encoder, user defined)?

Best,

Alex

XMC1000 VQFN-24 EAGLE PCB footprint

$
0
0
Hi Guys, do you know where I can find the EAGLE PCB footprint of XMC1302-Q024?

the demo "PMSMFOCSL01_Example1_XMC13" build project with error

$
0
0
/startup_XMC1300.s:44:27: fatal error: XMC1300_SCU.inc: no such file or directory.
so where can I find this file?

the demo "PMSM_FOC_SL_XMC13" build project with error

$
0
0
by the way, I can't find the definition file of the functions anywhere

CAN bus does not output any signal.

$
0
0
Hello everyone,
I was recently trying to make use of CAN module on XMC4500 Relax Kit but it doesnt seem to work for me.
I began with example project which used internal CAN bus and it worked just fine. Later i unchecked loopback mode and
assigned 1.13 and 1.12 pins as output to sn65hvd230 transciver IC. after loeading program to MCU i found no output on CAN bus nor on RelaxKit
goldpins.
Is there something more i need to do ?

Automotive 24GHz radar development kit

$
0
0
Hi,

I read about this in an article and its very cool! Just to clarify - is this dev kit capable of detecting the x,y,z co-ordinates as well as the velocity/motion of the target?

XMC4500 usb wait

$
0
0
Hi,

I just started working on a XMC4500 microcontroller. I'm currently implementing USB CDC communication and I ran into a problem.
After calling a function "USBD_VCOM_SendData" the program then waits for a frame to send the data.
More accurately the program waits in the "usbd_endpoint_stream_xmc4000.c" file in the "Endpoint_Write_Stream_LE". There it waits for the endpoint to be ready in the "Endpoint_WaitUntilReady()" function.
This wait time is approximately 100-150us and is to big.
Is there a way to write the data to a buffer and then let the peripheral take care of the transaction without the need for processor time?
Or at least trigger an interrupt when the endpoint is ready for the transaction.

Ir2110

$
0
0
1. It is not always necessary to use R6, R8, in this application, you may delete them.
2. if the HIN/LIN is kept low, then the HO/LO (Vgs) will keep at 0V.

.icf Linker script for Example Application XMC1000-SW Update using ASC

$
0
0
Ok, i got the solution:
In the Bootloader define the following:

volatile const uint32_t *app_start_func = (volatile const uint32_t*) 0x10008004; void (*start_func)(void);

Then in the main function, call this function to load the another application:

int main(void)
{
// ...
start_func = (void (*)()) *app_start_func;
start_func();
}
Viewing all 9892 articles
Browse latest View live