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

XMC1100 - can not add a second uart

$
0
0
Hy WS123,

did you use the "Pin Out Tool" ? It is good for the PIN allocation before start with Dave...

https://www.infineon.com/cms/de/prod...rtex-m/#!tools

I have tested with a blank dave project and only this 2 UART Apps without problems... it looks like that any other app cause the problem!?

which apps do you use?

best regards
Andi

Xmc debug

Infineon TLE9879 Eval Kit Bridge short problem

$
0
0
Dear Litun,

There can be several reasons, that may cause your issue.

Can you please share, which Evalkit revision you use.

For revision 1.2, there is a new user manual released on the product website.
Go to:
Navigate to Boards -> TLE9879 Evalkit -> Documents -> User Manual

Have a look in the Errata section and apply the fix proposal. Do you VDDEXT for additional hardware?

Here are some additional hints:

1) Did you check your MOSFETs? Measure: (Drain-Source, Gate-Source, Gate-Drain) Are there any shorts?

2) Check Voltage on VCP: When VCP is enabled it should typically be 14V higher than your supply voltage.

3) Clear Interrupt Status Flags:
The interrupt status flags of BDRV-Module are located in: SCUPM->BDRV_IS.reg (TLE9879 User Manual rev1.3 Page: 195)
The interrupt status clear flags are located in: SCUPM->BDRV_ISCLR.reg (TLE9879 User Manual rev1.3 Page: 198)

4) Driving high load motors will cause voltage spikes on your 12V supply.
Most of the voltage sources are not able to sink enough current.
If the voltage rises higher than the absolute maximum ratings, the chip will be damaged.

I hope you will solve your issue soon.

Best Regards
M.K.

TLE987x(Eval Kit) reset problem when UART added

$
0
0
Dear Litun,

To use the <stdio.h> lib you have to enable the sources in the "Manage Run-Time Environment"
Attachment 3258

In addition you have to activate the MicroLIB checkbox in the "Options for Target" Window.
Attachment 3259

The easiest way is, using the TTY UART2 Example from the "pack installer":
Attachment 3260

Please check the Baud rate you are using.
At 9600 Baud your Message will need min. 416µs, which is longer than your actual Timer interval.
In this case your Main() routine will never be executed again. Result: Watchdog Reset!

Did you try to run the code in debug mode?

Best Regards,
M.K.
?????

TLE 9879 Eval Kit

$
0
0
Dear Litun,
Activate the Timer2 Module in the "Manage Run- Time Environment".
Attachment 3262

The "Include" will already be done by #include "tle_device.h"

Also the Init function is executed in TLE_Init();

Best Regards,
M.K.
?????

Infineon Embedded Power IC Information

Programming TriCore AURIX TC2XXXX By BSL

$
0
0
Dear everyone,

My english is not good ,if some words confused you ,please forgive me ,thanks all.

I am an engineer from XELTEK(China),i am trying to use our product(programmer) to program SAK-TC2XXX series muc by BSL.
Before ,i have get document help about "_AURIX_Generic_Bootstrap_Loader",But when i using it ,i met some questions.
and i do not know who i can seek help for.So,i am here.

The document "AP32272_AURIX_Generic_Bootstrap_Loader" was provided by infineon with NDA,so i think it is not good for me to show some details
on it publicly.

in fact ,i am trying to program the chip by uart,so,if you dear could do me some favor,could send emails to me ,or just reply me here.

i will appreciate if you could help and be waiting for your reply.

my email address is

zky@xeltek-cn.com

Thanks for your reading.

Aurix BaseFramework workspace with ERIKA OS for TC275D controller

$
0
0
Hello,

I am looking for Aurix TC27XD BaseFramework workspace (eclipse) with Erika OS configured. Could some one help me regarding this? Unfortunately I couldn't find the baseframework project with ERika OS at https://myicp.infineon.com.

Thanks in advance!

configuration of Clock when setting CAN's baud rate on TC27x

$
0
0
Hello Persnet3,

I did some further investigations and found a white paper from Vector, which gives some basic explanaition of the bit timing and how to set ist up.
I like it very much. The document is called:

Basic CAN Bit Timing, Version 2.0, Application Note AN-AND-1-106

You also get some hints on how to debug your application on the physical layer!

Additionally, you might look at: http://www.bittiming.can-wiki.info/

Furthermore, IFX published a document for the XMC- controller series, discussing some details of the Multican-unit: Infineon-MultiCAN-XMC4000-AP32300-AN-v01_00-EN.pdf

These documents and the Aurix user manual will help you to better understand setting up the timing registers for a proper Can bus operation.

Best regards
TomBom

Microcontroller TLE9879QXA40

$
0
0
Dear Sai Krishna and Litun,
Of course, someone is working with the TLE9879.

You can find a lot of material, including Data Sheet, User Manual, Eval Board Dokumentation, Getting Started Guide and Application Notes
here: http://www.infineon.com/tle987x

Best Regards,

M.K.

DAP miniwiggler on Aurix Kit TC297

$
0
0
Hello:
I have also encountered the same problem. Have you ever solved the problem?How did you do to solve this?
Thank u

XMC4500 USIC UART stops to work if I enable fSYS to use fPLL

$
0
0
Hi Everybody,

After fixing the USIC UART issue:
https://www.infineonforums.com/threa...6332#post16332

I got these issues again if I set the bit SYSSEL at SYSCLKCR to use fPLL as System Clock.

The serial console output works correctly, but the UART input is not working. The issue is very similar to previous issue:

Some keystroke pressed at minicom serial console are generating interrupt:

q e t y u i p
a d h j k l
x c b m

But the character is not at OUTR register.

Other keystroke doesn't generate an interruption at all:

w r o
s f g
z v n

Why after enabling fSYS to use fPLL I got an issue that I already fixed?

The fPLL clock is correct, it is configured to 120 MHz.

After mapping EXTCLK output to P0.8 and config fEXT=fPLL/480 I can get a consistent 250 KHz output at pin P0.8.

Please Infineon, help me to fix it. My customer is losing his confidence on XMC4500 because these USIC BUGs.

BR,

Alan

Syncronous SPI reception problem

$
0
0
Hi Everyone!

I'm using a TC275 eval board with tasking and Infineon MCAL to implement some SPI communication.
Now I'm able to setup SPI, Port, etc in Tresos and I can send out some bytes, but I can't receive anything. I'm using IB (syncron) transmission, but the incoming buffer is almost the same as the outgoing, however the loopback is turned off.
Is there any idea? I didn't find any example code so I just feel that I do anything on the right way. Maybe some sample code of the used function during transmission and reception would be helpfull.

Thanks.

J.

XMC1300 PMSMFOCH05_Example1

$
0
0
Quote:

Originally Posted by Arno View Post
Hi,

there is an easy solution for the problem of debugging of HALL sensor based control schemes, which makes use of the single pin debug (SPD) feature of XMC1300.

* First you have to set the BMI to SPD0 (P0.14). You can use the change BMI function of DAVE.
* Then you can switch the SWCLK DIP switch of the J-Link part of the XMC1300 boot kit into OFF position.

This will release the signal P0.15 in high impedance state. As P0.15 is used as HALL input pin, these steps are mandatory for HALL sensor base control schemes.

Best Regards,
Arno

I have not found this to make any difference .. the motor still spins about 12-16 few times. and then stops.

Worlds first Racing drone with field oriented control

$
0
0
Hi Siegfried,
here is an update:

Attachment 3265

Attachment 3266

I used four Embedded Power ESCs with TLE9879QXA40 running EMAX RS2205 Motors with 6" bullnose props.
The Code is based on the FOC example code.
Startup time is <1s. (Startup reliability increased)

Maximum Speed is 9700rpm with 7 polepairs. (improvements ongoing)
Current limiter is set to 12A.

XMC flightcontroller is running Cleanflight.
PID Controller settings: default
RC reciever protocoll is SUMD (Graupner)

Flying behaviour is stable for punch outs and flips.
Small overshoots in sharp turns may be optimized in future.

Best Regards,
M.K.

Visit us at: http://www.infineon.com/embedded-power

MCTROOL V2 with IRMCK099 and Eval-M1-05F310 board problem

$
0
0
Hi
I'm using MCRTOOL V2 with IRMCK099 and Eval-M1-05F310 board. I've download the 99series software,and looking for the sample code .
However there are only IRMCP0199-1-D,IRMCP0199-0-PS,IRMCP0199-1-M1. There is no sample for Eval-M1-05F310 board.
I've try all of them ,but in vain.I stuck at configuring the motor function.After I push the button, the motor 1 status indicator didn't change to ''motor 1 stop'',and it show DC Low voltage?

Is there any setting for motor rated voltage ?and how many should the DC power supply output to the board?the motor's rated voltage?
So where can i get the sample code for Eval-M1-05F310? or one of the three examples can be used for this board ?


Best regards

TC297B STM interrupt question

$
0
0
Hello.
We have a problem concerning STM.
Here is an initialization (according to iLLD demo).

Code:

        g_scheduler.stmSfr = &MODULE_STM0;
        IfxStm_initCompareConfig(&g_scheduler.stmConfig);

        g_scheduler.stmConfig.triggerPriority = ISR_PRIORITY_STM_INT0;
        g_scheduler.stmConfig.typeOfService = (IfxSrc_Tos)IfxSrc_Tos_cpu0;
        g_scheduler.stmConfig.ticks = IfxStm_getTicksFromMicroseconds(&MODULE_STM0, 100);
        if (IfxStm_initCompare(g_scheduler.stmSfr, &g_scheduler.stmConfig) == FALSE)
        {
                /* TODO : Add analyze */
        }

        IfxCpu_Irq_installInterruptHandler(&STM_Int0Handler, ISR_PRIORITY_STM_INT0);

The problem is that the first interrupt occurs only when the timer overflows...
Can you please advise what is done wrong?
Thank you.

IR21844S Variable Capacitance Load Driver Problem

$
0
0
I have a 12V DC-DC Isolated converter coming in, and I'm going to try my idea of plugging the minus of that to the top of my hi voltage and feeding the output directly into VBST. But now I'm wondering, if I do that, do I still need VS connected to the output stage, or should I leave VS disconnected?
Thanks, Dan

TriBoard TC3X7 downwards compatible?

$
0
0
Hello,

i'm already using a TriBoard TC3X7 to debug a TC397XE. It works perfectly fine.
Now i want to work with and debug a TC2xx (i.e. TC297). Can i use the TriBoard TC3X7 to do that / Can i just exchange the TriCores in the socket?

Best regards
THR

TLE9879 External Trigger source for ADC1

$
0
0
Dear justin.lee,

The ESM or EIM of ADC1 gets triggered with a rising edge of COUT63.

Here is a scopeshot to explain the function:

Attachment 3268

CH1: (yellow) shows the COUT63 on GPIO P1.2.
CH2: (green) shows the ADC1 ESM Interrupt toggles a GPIO every leading edge of COUT63.

Best Regards,
M.K.
Viewing all 9892 articles
Browse latest View live


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