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

Application of 3.3V to the VDDC pins

$
0
0
I accidentally spun a PCB with 3.3V on the VCC pins. When I powered it up, the device drew 200mA (PSU current limited...)

Is this part now nuked, core melted, or can I do some surgery, bend the pins up, connect a capacitor... just to get me a few weeks ahead, check other things work while I await my respin.

Facepalm...
Edit, MCU is XMC4100 64 pin 128k LQFP

Error with ECAT_SSC and XMC_ESC.xlsx

$
0
0
Hi,

my experience:
a freeware like LibreOffice doesn't run. As solution I bought a cheap microsoft office 2007 enterprise (only 5.90 euros as download version), then the ssc tool runs.

Regards,
Wolfgang

Memtool reading Aurix DFlash

$
0
0
Hello,

I'm doing some work with the DFlash on TC264. I'd like to read the contents of that memory. Memtool has a read funciton which I've used before on 16-bit devices.

Memtool setup is at defaults. An attempt to read the DFlash ( or PFlash ) seems to fail. Just wondering what additionally requires setup to have this work.

There are some passwords etc etc. Has anyone been able to do this?


Regards,

Michael Kearsey

Channel turn on/off delay measurement

$
0
0
Hi Liang Xiao,

if you look into into the BDRV.CTRL2 register you will find all functionalities to work with this feature.
You will need decide which time you want to measure (turn-on/off) by setting:
BDRV.CTRL2->DLY_DIAG_DIRSEL
Then you need to decide which MOSFET you want so supervise by setting
BDRV.CTRL2->DLY_DIAG_CHSEL
If the BDRV.CTRL2->DLY_STS flag is set to you can read back the measured timing in BDRV.CTRL2->DLY_DIAG_TIM
Then you will need to set BDRV.CTRL2->DLY_DIAG_SCLR to clear the Diag timer valid flag.
Attachment 4343
Best,
Fiz
?????

switching code executions to RAM

$
0
0
Ok I found solution:

section_layout :tc0:linear
{
group STANDBY_MODE_RAM_FUNCTIONS(ordered, run_addr=mem : mpe : pspr0,copy)
{
select".text.ifx_standby_mode_psram.ifx_enter_stan dby_mode_psram_sequence";

select".text.IfxScuWdt.IfxScuWdt_clearSafetyEndini t";
select".text.IfxScuWdt.IfxScuWdt_setSafetyEndinit" ;

select".text.IfxScuWdt.IfxScuWdt_setCpuEndinit";
select".text.IfxScuWdt.IfxScuWdt_clearCpuEndinit";

}
}

New SPI Master bugged?

$
0
0
Thank you that seems to be working. Any changelog for the SPI Master? why it was updated.
EDIT: Nevermind found the changelog under Help of the App.

TC3xx has SOTA feature How it works

$
0
0
I have studied the UM ch.1.5 on SOTA, where the swapping mechanism is unclear.

Split processing and memory onto sepeate cores

$
0
0
Hi,
I'm currently developing a medium large application using the TC275 starterkit. I've been developing the application in separate parts. Now that I want to combine these parts I find that I'm running out of memory. How do I assign variables to different sections of the memory associated with CPU0, CPU1...?

I'm using free entry tool chain and the BIFACES framework.

XMC4500 + FreeRTOS + SystemView

$
0
0
Hi All,

I'm having trouble getting SystemView up and running.

I'm running FreeRTOS V10.1.1, i used the Dave app to pull in all the source code and have a very simple application running one task for the time being until i get Systemview integrated and try and use it on my main project. I have pulled in all the Systemview source code and the project compiles and runs fine.

However i'm struggling to get SystemView to display live streaming data. I have tried using the auto address search for the RTT block and also used a fixed address as found in the FREERTOS.map file defined under_SEGGER_RTT.

As soon as i try and run SystemView while running in debug in DAVE the application just halts at this section of the code.

Attachment 4345

I had exactly the same issue when trying to use Tracelyzer as well.

I'm unsure what im doing wrong and havent found anything of help online so far. Has anyone been able to get SystemView up and running on an XMC device running FreeRTOS? Someone maybe have an example project etc?

Any help would be greatly appreciated, I'm burning way too much time trying to get it running.

Kind Regards,
Ryan
?????

Simulink embedded coder for TC234

$
0
0
Hi,

I am using TC234 to develop PMSM drive with Simulink.

But, I can't find any package for TC234 just like "Embedded Coder Library for XMC MCUs".

Can any one help me?

Or, is there another way to do it without the package?

Thanks a lot.

Semihosting in Dave 4.4.2

$
0
0
Hi guys,

I'm trying to set up semihosting for my XMC-4400 in Dave 4.4.2. I followed already several guides here from the forum (also this one), but nothing seems to work.
I always get a build error: make: *** No rule to make target '--specs=rdimon.specs', needed by 'test.elf'. Stop.
Does anyone has and idea whats wrong?

Many thanks in advance!

200 Volt to 160 Volt buck smps.

$
0
0
Ok, I am making some progress, for my negative regulated 160 Volt rail, I need to use a 6n137 optoisolator and a bias power board for the gate driver and optoisolator, no problem.
The low side N-MOSFET driver to be a 1ED8550 & a non-synchronous inductor freewheel diode up to GND, possibly a silicon carbide Schottky diode.

I am having trouble simulating the 1ED8550 with PSpice because the GND is at to -200 Volts. Please see attachment.
The transient analysis simulation fails to converge.

Can someone make me a 1ED8550 model that works?

Thanks
Attachment 4348
Gary

IRS2007/2008 -- drive with DC control input?

$
0
0
Hello,

Can half-bridge gate drivers like the IRS2007 and IRS2008 be controlled by DC voltages at the IN pin, or is there a minimum input frequency? The datasheet doesn't specify this. We are not using PWM, but rather just want to turn on either the high-side or the low-side driver for long periods of time.

Thanks,
Scott

Issue with V/F-FOC transition screeching and stopping

$
0
0
Hi all,

I have my motor running under V/F. It runs with a very high current, and so gets a bit hot, but it is fundamentally running, which means the PWM, SVM, wiring, programming...etc... is working. The current waveforms comming out of the opamps and into the chip look pretty good. Credible, square pulses.

The issue is that when it reaches the end of the V/F ramp up, or if I try starting in FOC mode, it goes screeeeegreeeeecreeeeeeee and loses synch.

The current through the FETs becomes very high, tripping the current limit on my PSU, and has burnt a 16A MOSFET. Now replaced and spinning again under V/F.

I am using a custom board (see pics) with XMC4100 64 pin 128k. I have PWM U,V,W allocated to CCU8 on P0.5,4,3 and ADC U,V,W on 14.5,4,3 respectively. The Us Vs and Ws for the ADC/PWM match up on my board.

Currently bolted to a motor with a fan load, which I can actually keep at my desk... going in something else eventually.

Changing the parameters doesn;t seem to obviously help. I can get it to swap to FOC at a higher speed, but no help.

Using Dave Version: 4.4.2. PMSM FOC library 4.2.12

Any help much appreciated.

https://youtu.be/GFgws0zCkco


Attachment 4350


Attachment 4349

Is CPU watchdog and Safety watchdog the same for Aurix TC23x MCU?

$
0
0
Hello Support,
So for devices like TC297,
Can one core write to Safety Watchdog Register address space while another core writes to it's own CPU Watchdog without any Peripheral Address Semaphore?
If Semaphore is not used, then because it is in the same Peripheral Address Block I suppose, will there be any race condition while performing simultaneous write access?
Thank you.
Regards
Pashan

How to implement NOLOAD section attribute for Tasking LSL

Change execution time of the function process app XMC4800 in DAVE and 500 frames/s

$
0
0
I've a new question that I think you could solve it. I'm trying to modify the time of ejecution cycle of the function process app instead of 2 ms by default to for example: 250us. I don't know where I can change it. Maybe in DAVE code of the example EtherCAT_XMC4800 or in TwinCAT? Besides, it is possible to change the number 500 frames/s to other number in TwinCAT?

Thank you very much for everything beforehand.

A greeting.

SafeTLib TC275 Input Output Monitor (IOM) Test

$
0
0
The SafeTLib (535) has been configured and built for proprietary TC275 based hardware.

There are 56 tests in total, distributed over all three cores. The only test not run is Lockstep on core 1, as it's not currently enabled (Not my decision, don't ask).

All tests are passing, apart from the Input Output Monitor (IOM) Test, which reports a 0x221502 (IOMTST_ALARMNOTSETERR).

I have:
  • Read the SafeTLib User Manual IOM test section at least five times.
  • Ensured that the AoU are met (22K pull-down).
  • Debugged the test and checked that the pin read back state toggles.
  • Removed the 22K pull down.
  • Tried the test on all three cores.
  • Tried different pins.
  • Tried different LAMs.
  • Checked the Release Notes.
  • Checked the Addendum.
  • Compared with existing projects.

I can't get this one test to pass, does anyone have any idea what I'm doing wrong?

BTM7750G versus BTM7710G

$
0
0
any application notes available how to calculate thermal parameters for custom pcb layout?

[Position2Go] Frame interval vs time measured through ComLib interface

$
0
0
ADC output is the data that is fetched by extract_raw_data.c. The ADC is the Analog to Digital Converter, since the mixed signal is measured analog. If you plot the raw data, you'll see a waveform as produced by the mixer on the board.
Viewing all 9892 articles
Browse latest View live


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