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

TC299TX Memtool Failed to read target status

$
0
0
Hello,

if have a problem connecting the memtool to my Aurix TC299TX.

Connect fail always with the message:

Code:

Message from component 'IMTMemtool' :
Can't connect to Target

Message from component 'Controller0.Core0.Tc2CoreTargIntf' :
Can't connect target !

Message from component 'Controller0.Core0.Tc2CoreTargIntf' :
Can't connect JTAG target

Message from component 'Controller0.Core0.Tc2CoreTargIntf' :
Failed to read target state !

The selected controller seems to be right, because when I select an other controller I get the Error
Code:

Message from component 'Controller0.Core0.Tc2CoreTargIntf' :
That's the wrong target type !
Please check target configuration !

As JTAG device I use the miniWiggler from Infineon.

Only one POSIF unit mapped to XMC1400 with VQFN48 package

$
0
0
Hello Guys,

while creating schematic with the XMC1400 I experienced a problem with the VQFN48 package. In the datasheet on page 11 it tells me that the XMC1402-Q048 has got two POSIF units. BUT by comparing the Pinout on page 24 with the I/O mapping on page 34 and 36 one can see that POSIF1 is only mapped to P1.6/P1.7/P1.8 (for POSIF1A) or P4.1/P4.2/P4.3 (for POSIF1B). From all these ports only P1.6 is available with the VGFN48 package.

In the general documentation of the POSIF unit there is a MUX where POSIF1 A-D should be available. But lines C and D I cannot find in the documentation for XMC1400.

I hope i didn't get anything wrong. So is there any way of using this second POSIF unit (e.g. connecting two quadrature encoders) to the XMC1400 with the VQFN48 package or is there an Error in the documentation.

thanks in advance for your help

Jakob

ECAT Slave to Slave communication

$
0
0
Hi Lukas,
for detailed Information on how to setup the network with the EtherCAT master you are using, please get in contact with your provider.
For TwinCAT3 you can find a description inside the pdf attached to this post.

Kind Regards

Michael

XMC4500 CAN, listen only but activate and tx on special ID

$
0
0
Hi,

Does someone know if there is any way to use a XMC4500 as a listen only can node. And if I receive a special message I will activate my tx and answer with may definde message. I should ignore all the other traffic on the bus. So I tried the analyzer mode but this does not work because it is not guaranteed that there are more nodes on the bus.
So it´s like a Wake on CAN or so.

many thanks
mathias

Problems with erasing and programming PFlash on AURIX TriCore (tc0), TC277-DC

$
0
0
I've whittled the code down from Infineon to just this little bit:

static void FlashDemo(void)
{
uint16 endinitSfty_pw;
uint32 sector_addr = 0xaf008000;

endinitSfty_pw = IfxScuWdt_getSafetyWatchdogPassword();

/* erase program flash */
IfxScuWdt_clearSafetyEndinit(endinitSfty_pw);
IfxFlash_eraseSector(sector_addr);
IfxScuWdt_setSafetyEndinit(endinitSfty_pw);
}

If you change the sector address from a Data Flash sector (somewhere in the 0xaf00xxxx range) to a Program Flash sector (somewhere in the 0xa0000xxxx range) then the code executes until the call to IfxFlash_eraseSector() and then resets the core (or jumps to the reset vector), executes the user code again and on the second invocation of IfxFlash_eraseSector(), the cores halt and the "RESET LED" (D604) lights red.

If the Flash address is within the Data Flash range, the code works fine.

If I copy this code to the PSPR first and execute from there, there is no difference in behavior.

If I use inline versions of the Set/ClearSafetyEndinit functions, there is no difference in behavior.

It appears something *else* must be done before you can erase or write to the Program Flash. Any one know what that is?

Thank you,

-Rob

Direct FOC motor control

$
0
0
Hi! I'm using XMC1302 controller for controlling BLDC motor using FOC. The motor works fine with V/f Startup to FOC Speed control technique. However, I want to control with 'Direct FOC' technique.
Can someone please tell me what all parameters should I change in Dave app to achieve it??

AUIRS20302S and IRFS3607 for BLDC Motor application.

$
0
0
hi,

i am supporting a customer doing E-bike / E-scooter and hence we are promoting power devices eg. power mosfet and gate driver IC. This customer is interested in 36V system and using BLDC motor for E-bike.

i was looking at AUIRS20302S datasheet and noticed an application board is available using AUIRS20302S and IRFS3607 for BLDC Motor application. More detailed information is shown on AUIRS20302S datasheet on pg. 14-16.

Do you know how we could get this application board ?

Best Regards,
Felix

How to create One Shot Timer ?

$
0
0
Hi Richard,

I suggest to take a look at the CCU4_SLICE_CONFIG APP (Similar option is available in PWM APP also).
There you have an "Single-shot mode" option which should suit your needs perfectly. All it does is setting TC.TSSM bit field to "1". Explanation regarding single shot mode you can find in the accompanying chapter ("Single Shot Mode") in Reference Manual.

Best regards,
Deni

Xmc4800 - ieee1588

$
0
0
Hi Jesus and Loic,

We are thinking of implementing IEEE1588 on XMC4500/4700 platform, but are not sure if there is a way to share PTP system time with other XMC hardware without adding time uncertainty introduced with serving ISR.
Some questions that have to be solved:
- is there a way to coordinate PTP system time with other fast timers in XMC core
- how to control (set/reset) output signal with PTP system timer without active involvement of uC core?
- is there a way to train PTP system time with external PPS signal?

A couple months ago I contacted Infineon support, case number 3551550, but the response was of no use.
I quote my inquiry.
...
We found many inconsistencies and the lack of the information in XMC4500 and XMC4[78]00 data sheets, user manual and application notes that cover Ethernet module, especial “system time” and “PPS output” functionality.
For example, in XMC4700 reference manual (pg. 1219/2892), register PPS_CONTROL is referenced but not defined.
Abovementioned register in explained in XMC4500 reference manual (pg. 1181/2675), but the output functionality signals that are controlled with PPS_CONTROL register, namely ptp_pps_o[0] to ptp_pps_o[3] are not specified in any document available on Infineon XMC controllers.
Another non documented function is “external timestamp input”, rm XMC4500, pg. 1174/2675 and ETH0_TIMESTAMP_STATUS pg. 1178/2675.

I kindly ask you for a document that describes behavior of abovementioned Ethernet MAC module on XMC4500 and XMC4700.
....

Your suggestions will be highly appreciated. Thank you in advance.
Best regards,
Dalibor

Emulating I2S with SPI

$
0
0
Hi,

New to this forum and also to the Aurix family. I am considering a TC233 device for a project where we need to emulate I2S (mono, so no frame clock) using the SPI controller in this device. I am about to read all details in the documentation to find out if this is possible or not. But I thought I would jump-start a bit by posting this thread. The key thing when emulating I2S is to be able to generate a continuous data stream (and clock) from the SPI peripheral (the Aurix would act as a master) without any inter-byte/word interruptions. I have done this before with other micro-controllers, but my experience is that it is not at all "standard" that all SPI-controllers can manage a continuous data stream.

Does anyone know if this is possible using this family of devices? Maybe someone in here have done this already or know the details about the SPI controller to guide me in the right direction here. I know posting this thread is to start a bit ahead, I will dig through the documentation later today as soon as I get access to the documentation links on the website.

Thanks!

FAQ for XMC4800 EtherCAT

$
0
0
Hi all,

I'm working on XMC4800 EtherCAT with SSC tool. I've enabled EoE for my application, and I've given a IP address for the XMC. Now, how do I check the communication ? I mean, how do I check the Ethernet packages sent ?

Thanks in advance,
Vinay

XMC4800 EoE

$
0
0
Hi all,

I'm working on XMC4800 EtherCAT with SSC tool. I've enabled EoE for my application, and I've given a IP address for the XMC. Now, how do I check the communication ? I mean, how do I check the Ethernet packages sent ?

Thanks in advance,
Vinay

Flash read protection - cannot connect anymore

$
0
0
Quote:

Originally Posted by SashaBelykh View Post
To connect to your device you can use ASC BOOT Loader.
The shortest way is to use any kind of COM Port (usually USB-UART device) to lines P1.4 P1.5 and connect to it by Infineon Memory Tool.
Note that lines TMS and TCK must be grounded at reset, which forces ASC BOOT mode in the device.
At least you can disable FLASH protection and unbrick you device for further development.

Hi SashaBelykh,

I have similar problem in AURIX TC234 platform. Could you please share how to disable FLASH read protection with me?

What is the acronym description for DAM in TC297

$
0
0
The Default Application Memory is an SRI peripheral providing access to volatile memory resources.

Eth_lwip 4.0.16

$
0
0
Hi all,

Solution found:

Jesus has informed that in 4.0.16, Infineon had overlooked the ticking of 'Accept broadcast frames' by default, on the Network Interface tab. And in 4.0.10, the behaviour of that checkbox was wrong, as broadcast frames were accepted even if the box was unticked. That unticked setting was inherited from the DAVE example project for Modbus TCP.

With 4.0.16, I have now ticked the box, and normal service is resumed :-)

To let the Forum know, in case anyone encountering same / similar issues..

Best regards,

David

Detect that device has been disconnected from PC USB Host

$
0
0
Scenario: The XMC45 is connected to a PC using a USB cable. The cable is then removed. I want to detect this event, but how?. I've seen several similar questions on the forum, but no satisfactory answer.

I'm OK with a workaround solution.

I've tested with polling for the SOF interrupt, but it is generated even if Host is removed, which I find a bit odd.

Datasheet EUPEC FM35R12KE3ENG

Only one POSIF unit mapped to XMC1400 with VQFN48 package

$
0
0
Thanks for the quick answer, that's really helpful!

Workspace folder

$
0
0
Hi,

While DAVE was not open, I renamed my workspace folder, due request from management. When I reopen my project, everything builds and works fine. But, I find that building causes my old workspace folder, to be re-created. When I drill into that folder, it contains just one file, 5 folders deep, within ...metadata\.plugins\org.eclipse.cdt.ui\, the file being named 'Project.build.log'. I've looked everywhere within my workspace, for a reference to the old workspace name. I've also grepped all workspace files, for a reference to the old workspace folder. But can't find it, anywhere. Anyone have any ideas, where the old workspace folder reference(s), might be, so I can change ?

Best regards,

David

Math Cordic Square root API

$
0
0
The function names say all.

Q15 and Q31 format.
Viewing all 9892 articles
Browse latest View live


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