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

XMC4300 Onchip Temperature

$
0
0
Hello people of the Forum,
I need help once again. I want to read the Onchip Temperature of the XMC4300 Relax Board, but it doesnt work.
Infineon has an document for the XMC1000 descirbing this procedure

https://www.infineon.com/dgdl/Infine...531c6aadc94791

.... BUT: For XMC4300 it doesnt work.

I include "xmc_scu.h" in my Code but in this File there isnt a function called XMC_SCU_CalcTemperature().
In my Code I do XMC_SCU_StartTemperatureMeasurement() and after that I do XMC_SCU_GetTemperatureMeasurement(). But this only return 0.

--> How is the reading of the Temperature on XMC4300 working?? It couldnt be that hard and I cant be the only one, who has a problem with it.

Problem when debugging in GDB Segger J-link debugging using XMC4800

$
0
0
Is the Project building correctly? Try to delete the Segger Configuration, then Build the Project and then add the Segger configuration again.

const declaration missing of App Handle Structures

$
0
0
When generating an Application that runs in PSRAM, some initialization procedure did not execute.
I found out that e.s. for the Uart the UART_t declaration does not have the const prefix. Therefore the structure is allocated in the .bss section and not
as it should be in .rodata. After boot (not initialized) !!. The pointers declared inside point to nowhere and the programs crashes.

Relocating Start of Flash in XMC1400

$
0
0
Hello,

I am currently using an XMC1400 boot kit. I understand the concept of 'veneers'. The code at 0x00000000 is actually ROM and those entries have hard coded in them addresses to RAM which contain the actual
address of the interrupt handlers. The default linker script has the flash section starting at 0x10001000. I would like to reserve some space (maybe 64 bytes or so) ahead of this and start the flash area at 0x10001040. Changing the linker
script causes some sort of fault.

If this is achievable, what else am I missing?

Thanks

Reading TC1796 over JTAG

$
0
0
Hello, I'm trying to read TC1796 MCU with miniwiggler V3, and unsuccessful all the time. I connect vref / gnd / tdo / tdi / tck / tms / trst to MCU and I can not connect. I have Jtagulator,
which I use to search for JTAG test points and verify ID - everything is fine. I get device ID F000C003. Any ideas what am I missing with miniwiggler?

program problem for XMC4800

$
0
0
I have set Startup tab - run/restart command empty . I cannot debug in single-stepping mode. it says No source available for "0x0" . Debug print is attached.
Attachment 3455
?????

[Ethernet] iLLD driver issue on TC29x

$
0
0
Hello everbody,

I am trying to run the Eth demo application from iLLD on a TC297. The uC is getting stuck in the busy wait for the Transmission Completed Flag
Code:

while (IfxEth_isTxInterrupt(&g_Eth.drivers.eth) == FALSE)
.

By debugging I realized that the DMA never gets the chance to access the Tx Buffer, as it is always setting TU = 1 (TU stands for Transmit Buffer Unavailable) on the DMA Reg5 (Status Reg). This happens when the DMA accesses the Tx Descriptor and reads Own bit = 0, what means that the Host owns the Descriptor (and therefore the DMA does not own it).

I have already checked the Register TDESLA_32BIT that holds the Addr of the Descriptor list and it is holding the correct addr. I have also already verified that the Own bit is being correctly set to Own = 1 before the poll demand on the DMA, delivering the ownership of the descriptor to the DMA.

Has anybody faced this problem or has a hint on how to solve or to explore it better?

Thank you!

Kind regards,
Vitor

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

$
0
0
Hello,

I am also at this point, I suppose nobody is supporting the EVAL-M1-05F310?

Dave 4 pwm_svm app not updating angle and amplitude

$
0
0
Hi,

DAVE 4 provides an APP to obtain a PWM signal generated by a Space Vector Modulation (PWM_SVM). The APP Help mentions that it is suitable for XMC1302 but when implementing the example given in APP Help > Usage, there is no SV Modulation. After debugging there can be seen that the following function: void PWM_SVM_SVMUpdate ( PWM_SVM_t *const HandlePtr,uint16_t Amplitude,uint32_t Angle) there is no change in the entered amplitude and angle values.

Hope that anyone had the same problem and knows the solution.

Regards,

Aitor

DAVE TIP of the day: How to build and include a static library?

$
0
0
Hallo,

I have problem give official library of Infineon webside to Dave Studio. if copy this folder to exist project. Compiler write errors. i need math function what are inside arm_math.

I am from this verry bad :( :(

please show me how i give inside libraries in picture

Ethernet Demo on TC3xx starter kit

$
0
0
I am facing the same issue using the TC297.

As I mentioned in my thread:

By debugging I realized that the DMA never gets the chance to access the Tx Buffer, as it is always setting TU = 1 (TU stands for Transmit Buffer Unavailable) on the DMA Reg5 (Status Reg). This happens when the DMA accesses the Tx Descriptor and reads Own bit = 0, what means that the Host owns the Descriptor (and therefore the DMA does not own it).

I have already checked the Register TDESLA_32BIT that holds the Addr of the Descriptor list and it is holding the correct addr. I have also already verified that the Own bit is being correctly set to Own = 1 before the poll demand on the DMA, delivering the ownership of the descriptor to the DMA.

How to interface with Infineon 3D Magnetic Sensor on the XMC1100 2Go board

$
0
0
I recently got the Infineon 3D Magnetic Sensor 2Go development board (based on the XMC1100 microcontroller) and I would like to know how to read input from the 3D Magnetic Sensor. I am new to the Infineon development system, so I do not know how to gather and process input from the sensor.


Here is what I know so far:

- The main microcontroller is an Infineon XMC1100-Q024F0064
- The 3D Magnetic Sensor is connected to the XMC1100 via I2C
- How to program and control the GPIO on the XMC1100
- How to use the supplied stand-alone applet to view data from the Sensor

I have the DAVE IDE, the APPs extension, and I am writing my code in C. I need to use DAVE to accomplish my desired end result, but I would be interested to know the Arduino method as well.

Thank you in advance for your help!

Mini Wiggler and TC1796

$
0
0
Hello, can anyone share few ideas about Mini Wiggler V3 and TriCore TC1796? I'm trying to read it via JTAG, using following pads - TDI / TDO / TCK / TMS / VREF / TRST.
I also connect PORST to PIN10 (reset) on miniwiggler. Also on JTAG pads there is BRKIN BRKOUT. I use DAS server - running UDAS server, DAS JDS miniwiggler V3.1 recognized.

I power up my target board, MCU has stable 3.3V . I check with oscilloscope TMS / TDO / TDI - high level, TCK and TRST - low level. Before opening MemTool I check on DAS Basic Client
if it sees my target - green light is blinking which indicates that Mini Wiggler is scanning for active devices, another green light is stable indicating that target device is powered.
Any ideas why my target is not communicating with mini wiggler?

On TC1796 I see HDRST, PORST, TSTRES. I use the one that is on JTAG pad - PORST.

XMC4500 multiCAN, getting MSGLST in a RXFIFO configuration

TLE987X NAC/NAD Value at NVM

$
0
0
Solved it.

I need unlock Code memory area, and this function is at bootrom.c file.

so when I using "program page" function, we can change NAC/NAD value.

Thanks.

Ethernet Demo - Outbound communication

$
0
0
Hello All,

Before reading this post, I also noticed the same issue posted in the link from vlylin.
However I still get absolutely nothing from the PHY. Has this issue been solved?

Ethernet problem solving on TC23x

$
0
0
I am still unable to do any communication with the PHY or, on the RJ45 cable.
Any Ideas on how to solve this issue?

Ethernet connection to External Host

$
0
0
I was still unable to communicate over Ethernet using this information in the link provided.
I also read the user manual and cross checked the Register Values.

Still, there is nothing from the PHY..

Any ideas on how to solve this? Is it working for you?

Ethernet issue with TC 279x (SMI/MDIO interface)

$
0
0
Hi, Were you able to get any progress on this?

Any ideas on how to solve this? Is it working for you?

DAVE TIP of the day: Things need to do when use math functions

$
0
0
Hi,


i need give infineon xmc DSP library to DAVE studio but i dont no how. Please send me a step-by-step guide to how to do it.

thansk Jiri
Viewing all 9892 articles
Browse latest View live


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