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

Performance Counters Results and clocks / operation

$
0
0
Hello,
I found the Perf_Counters example in the AURIX Github examples.
For my curiosity I run some basic operations and then checked the perf counters values:
float division = 71 clocks
float multiplication = 67 clocks
uint division = 68 clocks
uint multiplication = 66 clocks
Do there result depend also on the compiler, or they are only processor dependent?
I am quite amazed that the float operations take almost same as the integer, this means that for precision calculation float could be used without problems.
Is there something that is escaping me?

Performance Comparison Between int and float for TC297

$
0
0
Hello,
I just posted a new topic with the same thematic.
Could you join it here?
Also is there some drawback in using floats for precision calculation instead of int?
As the performance is almost the same, probably by using directly float instead of some integer with LSB and offset, probably even more time could be spared.
Does the TC277 have a separate FPU that operates separately from the integer unit?
Can they operate in parallel also?

Performance Comparison between single-float and double

$
0
0
Could you share your result for floating point and double?

How to test SMU SRAM errors by injectiing ECC errors

$
0
0
Hello,

I am using TC23xx microcontroller and would like to test the SafeTLib SMU for the following SM1 SRAM errors.
  1. SM1[HW].SRAM:ECC
  2. SM1[HW].SRAM:EDC
  3. SM1[HW].SRAM:ADDRMON

How can I enable and inject ECC errors to test the above SRAM errors ?

Thanks.

PWM\CCU8 Pin Allocation Issues

$
0
0
Hi,

For which product and package?

Regards,
Jesus

DAVE 4.4.2 and DALI code

$
0
0
Hi,

Did you use the DAVE Import function to import the zip file?

Regards,
Jesus

extract_raw_data.c "The device didn't send any message." after ~1hour of listening

$
0
0
Thanks agallenSMX for that suggestion. That is the error message I got: "Device didn't send any message". I checked the temperature and it is ~66C-67C while reading the data and around the time it stops. Did you make any progress with this problem?

QSPI transmission problem

$
0
0
Hi,


I am trying to program flash memory using QSPI, each time when I increase data size QSPI transmission get fails.

Fail uploading hex file using SP37 programmer

$
0
0
Hi Dear.
I am starting work with SP370 sensor.
Can you tell that which the programmer and Keil compiler version used for debugging?
thank you.

[Position2Go] Frame interval vs time measured through ComLib interface

$
0
0
I could run the comlib but what does the adc output means ?

UART in half-duplex mode loads line even though not actively transmitting? (XMC 1100)

$
0
0
Hi,

In my application a single line for reception and transmission is used for the UART. System voltage is 3.3V.
My UART App in DAVE is setup like this:
Operation Mode: Half Duplex
...
Transmit mode: Direct
Receive mode: Interrupt

Enable transmit FIFO to Size: 16
Disable receive FIFO

Enable data input inversion
Enable data output inversion
...
End of receive callback: BlaBla_Rec_IRQHandler
...
Enable advanced pin characteristics
Transmit Mode: Push Pull

The system I'm developing acts as a slave listening on the UART line.
If a special two byte message is received by my system where the second byte is the ID
of my system it answers with a sequence of bytes which are written to the FIFO
using UART_TransmitWord(...). After that the system again activates reception of
the next request by the master using UART_Receive(...)

My idea of "Half Duplex" using the Transmit Mode "Push Pull" is that the UART
automatically strongly drives '0's and '1's it sends out on the line beginning with the start bit,
but tristates the output buffer after the stop bit is transmitted.

Unfortunately this seems not to be the case. My oscilloscope shows that the
request messages sent onto the line by the master come in with high levels barely
rising to 2.1V (although the master uses 3.3V signaling levels).

When starting my system in the debugger at the beginning the high level sent by
the master reaches 3.3V. But as soon as the instruction DAVE_Init(); has executed
the high level is restricted to 2.1 V.

I also tried the Transmit Mode "Open Collector" which of course does not work in my system, because
there is no pull-up resistor. Even with this setting the 3.3V-to-2.1V high level downshift is there
right after DAVE_Init();

Since the master drives the UART line using a 74x1G126 (single gate tristate buffer) over a 50 Ohms
series resistor I suppose that the XMC UART seems to load the line using not only a pull-up or
pull-down, but actively holds the line on low level (inverted signaling is used).

If I switch
Enable data output inversion
off, the behavior is mirrored. The low level is shifted up to about 1.2V and the inactive level
is high now (although held to low via 20k pull-down at the master device).


Best Regards,
Markus

Aurix Development Studion Github examples working only on TC29X Eval Board

$
0
0
On the Help tab in the AURIX Development Studio you will find a selection tab called getting started. If you open this it describes how to import a project from GitHub.

Triggering ADC from PWM CCU4 on "Compare match while counting up" and "Period match"

$
0
0
Hi,

Triggering the ADC conversion from the PWM CCU4 works fine for me as long as I trigger only on "Compare match while counting up". Since I want to trigger on start as well as the end of the active PWM cycle I tried this:

Attachment 4336
Attachment 4337

Now the ADC conversion will not trigger any more at all.

I had to introduce an additional Interrupt App which is triggered on the CCU4 "Period match". In the IRQ handler routine of that App the ADC conversion is then started. Not a beautiful workaround.

"Period Match" should trigger even if the duty cycle of the PWM_CCU4 is set to 0.00%, but "Compare match while counting up" will not trigger in that situation, right?

Markus
?????

Simulation Models for SiC MOSFETs

$
0
0
Dears, where can I find simulation models for infineon1200 V sic modules? thanks in advance!

application locationion

$
0
0
Hi thanks for answer,
where do i need to place #pragma section all "APPLICATION" ? in file with main or in every file in project ?

i tried to change to reset vector under 0x80018020
and application code at 0x80018000 (tc222L logic sector 6)

my lsl file looks like:
Code:

section_layout :vtc:linear
{
        group APPLICATION_CODE_AND_CONST ( ordered, contiguous, run_addr = 0x8018000 )
        {
                select ".text.app";
                select ".rodata.app";
        }
}

I also placed #pragma section all "app" in main.c

During compilation I'm getting following error:

ltc E112: cannot locate 1 section(s):
ltc I455: requirement: 0x2a bytes of ROM area in space mpe:vtc:linear
ltc I456: section type: absolute restriction - at address 0x8018000
ltc I457: .text.app (56) (0x2a bytes)

Driving CoolGaN with EiceDriver

$
0
0
Hello Vinc, thank you for your response.

You correctly identified the cause of the first problem. Using a 5V supply on the input side of the driver did solve the problem. - PROBLEM-1 SOLVED - USE 5V for VDDI WHEN SLDO IS GROUNDED.

What are the differences between an Infineon MC-ISAR product and iLLD?

$
0
0
The Infineon MCAL only includes the components defined by AUTOSAR. The iLLD includes code for nearly every AURIX peripheral.

I wouldn't attempt integrating MCAL and iLLD for the same peripheral (e.g., GTM PWM). Including an iLLD component is otherwise easy.

PWM\CCU8 Pin Allocation Issues

I want to know MC-ISAR release plan

$
0
0
Hi,
We are using MC-ISAR to develop our software.

We use 1.10.0 version.

But, there are more modules in 1.20.0-beta.

May I know 1.20.0 final will be released at what time?

Thanks a lot.

Coule we update EEPROM contents of XMC4800 with TwinCAT

$
0
0
Hello,

currently, I am developing a SW that has an EtherCAT connection using the EtherCAT APP on a custom made XMC 4800 board. While I finally got the basic functionality operational, I still have a huge problem with EEPROM updates via the EtherCAT master:
When I call the function E_EEPROM_XMC4_UpdateFlashContents() to write the contents of the EEPROM to FLASH, the next start of the program fails in DAVE_Init() with the error code of E_EEPROM_XMC4_STATUS_ERROR_OLD_DATA at the initializationn of the EtherCAT APP.

I have tried the demo program from the documentation of the EEPROM APP of DAVE. The program works as expected, if I compile it in the form it is given in the documentation (i.e. EEPROM Data Size 504 bytes). But the moment I change the APP configuration to the one used by the EtherCAT APP (i.e. EEPROM Data Size 2048bytes), I get the same behavior as with my own program.

Can anyone tell me, how to write the contents of the EEPROM emulation from RAM back to FLASH so that the next time the program starts the new data is used?
Viewing all 9892 articles
Browse latest View live


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