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

Old package code rule (semiconductor package)

$
0
0
I would like to have an old package code rule for discrete semidoconductor product by predecessor of Infineon, namely Siemens semiconductor.
Please let me know where and how I can get a copy of the old rule.

I have current Infineon nomenclature Guide as follows:
http://www.infineon.com/dgdl/Infineo...4fd5ebec524b64

However, I would like to have an old version by Siemens Semiconductor.
More precisely, a predecessor version of current page 7 (Traceability and production date code IGBT/Diode) is necessary.

A product in interest is IGBT "SGP15N60" manufactured by Siemens semiconductor. Products of the same name are also manufactured by Infineon.

In the face of the package of the product, it says "AA851". If we apply the current rule, "AA" is "Lot #1", "851" is "51"-th week of the year 199"8". However, I am not sure whether this package code rule is also used in the Siemens Semiconductor.

Thank you for your help.

XMC4400 Spurious SPI Interrupts?

$
0
0
Upon request, the finish_transfer function.
Code:

static void spi_finish_transfer(spi_interface_t* spif) {
    spi_transfer_t* _transfer;

    tbuf_push(51);
    XMC_GPIO_SetOutputHigh(
            SPI_Channel[spif->transfer->channel].cs->port,
            SPI_Channel[spif->transfer->channel].cs->pin);
    _transfer = spif->transfer;
    spif->transfer = NULL;
    mutex_unlock(&spif->mtx);

    _transfer->complete((void *)_transfer->context);
}

Problem with PMSMFOCSL01 control (program generated in DAVE3) on XMC1300

$
0
0
Hello stefannn,

Have you checked if the "Transition Speed" from V/f to FOC is 100 rpm? Otherwise maybe the Offset or increasing voltage of V/f is too low.

Another Option is that the FOC target at handover is much higher than the end of the V/f.
You could find this by chancing the Transition Speed.

Have you tested the Motor with the load?
Motors without load are very dynamic.

Regards
Eric

Emulated EEPROM

$
0
0
I haven't tried EEPROM on XMC4 yet.
But latest Flasher works fine & saves EEPROM contents.

RGB LED Lighting Shield with XMC1202 - XMC source code

$
0
0
Hello, I have one question regarding the shield: Does anyone know why it is not possible to set WALKTIME lower than 15?


This code:

I2CWRITE2BYTES (ADDRESS, WALKTIME, 25);

works fine, while this code:

I2CWRITE2BYTES (ADDRESS, WALKTIME, 5)

sets the walktime to 15.

Is there any chance to switch of walktime entirely?

Thanks a lot!

Advice set up a continuous repeating PWM signal different freq/duty over 2 time slots

$
0
0
Hello.

I have a PWM working with a set frequency and duty cycle using CCU4, slice 0. I have functions that set the duty cycle and frequency of the slice.
But I am driving an external speaker alarm and it needs two different PWM frequency and duty cycles over two time periods to work properly.

Sounds confusing but it's really not. What I need is the following:

PWM Freq of 2.149 kHz and Duty at 58% for 200ms and then
PWM Freq of 1.517 kHz and Duty at 59% for 810ms.

Now I was going to do something simple like set up a timer to interrupt at 200ms and then reconfigure it.
Inside the ISR after I reconfigure the timer(to 200ms or 810ms), I was going to change the PWM as well.

Reading all the forums and the docs about CCU4 or CCU8, I think there is a much less CPU intensive way of doing this, but I just can't get my head around how this is done. I am working in Keil and not DAVE.

Can anyone enlighten me on how to do this? If I figure it out, I'll be back to answer my own question, but surely someone out here can help me out. :)

Thanks.
-stv

XMC4500: how to force CCU slices to their passive levels?

$
0
0
Hi,

I am working on a motor control application where I am using one of the CCU8 units in the XMC4500 as follows:

- Slice 0-2: complementary PWM outputs
- Slice 3: ADC and interrupt (field-oriented controller) trigger

Sometimes it's a good idea to initiate freewheeling, e.g., when the controller measures unreasonably high phase currents or any other unrecoverable errors. Freewheeling is a simple way to stop the motor in a safe way. Currently, the only way I can freewheel is by the PWM outputs themselves; by setting all of them to their passive levels, i.e., I don't have a separate GPIO signal that can force the gates open. The question is, how do I do this by the CCU module? What I would _not_ like to do:

- Change the alternative function of the IO's (to input), since it feels a bit hacky. Also, this method can't synchronously set the PWM's to a passive level.
- Generate TRAP by S/W (if possible), since I want to be able to differentiate from a true trap.

I can't seem to find a good way to do this. Any suggestions? Note that I want slice 3 to remain unaffected, since it's triggering various things.

Changing walktime in XMC1202 on the Arduino shield to low values

$
0
0
Hello, I have one question regarding the Infineon Arduino Shield shield with an XMC1202, KITLEDXMC1202AS01TOBO1

Does anyone know why it is not possible to set WALKTIME lower than 15?

This code:

I2CWRITE2BYTES (ADDRESS, WALKTIME, 25);
works fine, while this code:

I2CWRITE2BYTES (ADDRESS, WALKTIME, 5)
sets the walktime to 15.

I suppose there is some coding in the XMC1202 itself?
I need to switch off the walktime entirely, so any help would be appreciated very much.

Thanks a lot!

Request for schematic and/or other info about KIT_AURIX_TC297_TFT

$
0
0
Hello,

I've currently big difficulty to login to the old myinfineon site.
The newer site is not ready yet ; I really cannot find the information I'm looking for.
Already a list of board pin-out would be nice to have.
The hightec toolset is now installed and I'm abel to run and debug the delivered examples on the board.

Does anyone have more information about this board ?

Gr.
Sander

FAQ for XMC4800 EtherCAT

$
0
0
Hi,

do I have to use both EtherCAT-Ports (i.E. do i have to map all the signals to pins in the pin mapping perspective in DAVE)? I only need one EtherCAT Port as the network topology will be a star network. Also I need the Pins unsed by the second EtherCAT-Port (p1) for other Signals.
My hope is that I can simply map all the Signals for EtherCar p0 to the corresponding hardware pins and leave the pin mapping for p1 blank.

Thank you for your answers in advance!

Send an SPI Sequence inside an interrupt in XMC4700

$
0
0
Hello,

I would like to send an SPI sequence to an another board in different time Intervalls.
To do that I'm using Dave 4.3.2, the Timer APP and the Interrupt APP.
I connected the time event to the interrupt and changed the SPI receiving and transmitting settings to direct.

I tried different possibilities. The timer without the SPI works. As soon as I add the SPI TRansmit it doesn't anymore.

Is it possible to start an SPI Transmit in an Interrupt?
Here are the seetings and the code :

Attachment 2703
Attachment 2704

the code for the timer interrupt:

Code:


void Time_Interval_Event(void)
{
  /* Acknowledge Period Match interrupt generated on TIMER_CCU_1 */
  TIMER_ClearEvent(&TIMER_0);
  /* When we Arrive at the end of the send values  we repeat*/
  if (index_count == NumValues){
          index_count = 0;
  }
  /* if the new time starts, send the signal */
  if (Timer_Tick_Count == 0){
        SPI_MASTER_TransmitWord(&SPI_MASTER_0,IArr[index_count]);// send the wanted current Value

            }

  Timer_Tick_Count++;

  /* when the current time step ends, reset the tick count, change the maximum tick count to the new value and move to the next current value */
  if (Timer_Tick_Count == Max_Tick_Count ){
          Timer_Tick_Count = 0;
          index_count++;
          Max_Tick_Count = idxMAXValues[index_count];
          //new Max_Tick_Count value
  }

/*disable CS to latch data */

  TIMER_Start(&TIMER_0);

}


I thought about not putting the SPI in the timer event ans trigger the SPI transmit every time the timer finishes. It is also a possibility. I would like though to understand why it is not working in this setting. I tried placing break points to see what
happens. But it is not going through the values


thanks for the Help.
?????

DAVE with XMC creating a library project

$
0
0
Lackluster response rate here. I thought this was an easy one.

Working with a local FAE, and digging through a weirdly layed out website, I found the link to the library zip file here:
http://www.infineon.com/cms/en/produ...a1bcd#ispnTab1

I place the contents of that zip file somewhere outside of my project. I then include that file path into my build variables. I link to this in all my projects to minimize the hassle of updating over multiple projects. Just the one spot on my C drive needs updating.

Implementing FMCW on XMC4400 microcontroller

$
0
0
Hi all,

Infineon is working on a FMCW SW for the BGT24RFB2412 with high priority. Currently there is only Doppler SW available. So, please stay tuned. As soon as development is done the SW will be available from the website.

Best regards,
Thomas

Raspberry PI XMC1000 compiler

$
0
0
Is there a compiler for XMC1000 that can work on the Raspberry PI? Thanks.

Raspberry PI XC800 compiler

$
0
0
Is there a compiler for XC800 that can work on the Raspberry PI? Thanks.

CCU80_CC81 Event 1 is detected erroneously when calling XMC_CCU8_EnableClock( )

$
0
0
Hi all,

Have any of you come across the following problem? I am setting up the external stop functionality on a timer slice CCU80_CC81 on XMC4400 evaluation board. The input event is connected to a Gpio pin 0.8 (I've tried 0.7 as well and it doesn't seem to affect anything). It is set up to be active on a rising edge. The pin is connected to a function generator that I am using to generate a square wave.

The problem is, however, that when I call the function XMC_CCU8_EnableClock( ), the moment it clears the idle bit by writing to GIDLC register, the event is detected. Interestingly enough, it does not seem to affect the timer which I start with SCU command XMC_SCU_SetCcuTriggerHigh( ) later on - it works fine until a rising edge on the square wave occurs and then the timer stops as it should. The only problem is that the event detection flag gets set whereas no actual event has occurred.

Right now I am left puzzled. It doesn't seem to matter whether I choose a different Gpio, or map the input to either Event 1 or Event 2 or whatever. What could be the cause of it? Thank you in advance.

Best regards,
Andrey

TLF35584 - SPI Write to Protected Registers

$
0
0
I have SPI communication to this SBC working.
I write these data to the SBC:

Unlock:
0x8756
0x87DE
0x86AD
0x8625

Disable watchdog and error pin:
0x8D27
0x8A01

Lock:
0x87BE
0x8668
0x877D
0x8795

After this I can read PROTSTAT register and it gives me 0xF0, i.e. all 4 keys are valid and unlocked.

BSDL-files for XC2000

$
0
0
Can you help me with BSDL-model for my board?
The infrastructure test is always failed. On this screen you can see it.
The D4 is SAK-XC2287M-104F80L. What you can say about it?
Attachment 2705
?????

DMA problem using two timers

$
0
0
HI Jesus,

can you please give me some further support on that topic?

Kind regards
Sandro

Low pass filter input counter ccu4

$
0
0
Hi,
is it possible to add a low pass filter to the input pin when you use a ccu4 with external count function?

Thanks

Filippo
Viewing all 9892 articles
Browse latest View live


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