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

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

$
0
0
Did you tried using Dave I2C APP? (DAVE4 or 3)?

If you share your project folder I can take a look. I used this board + sensor some months ago.

Locked Aurix 23x

$
0
0
Hello,

I tried to set BMHD0 and BMHD1 of Aurix TC23x. For this purpose I wrote Lauterbach Trace32 script

; Set BMHD0
Data.Set 0xA0000000++0x17 %Long 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
Data.SUM 0xA0000000++0x17 /Long /ByteSWAP /CRC32
Data.Set 0xA0000018 %Long Data.SUM()
Data.Set 0xA000001C %Long ~Data.SUM()

; Set BMHD1
Data.Set 0xA0020000++0x17 %Long 0xA0080900 0xB3590160 0x00000000 0x00000000 0x00000000 0x00000000
Data.SUM 0xA0020000++0x17 /Long /ByteSWAP /CRC32
Data.Set 0xA0020018 %Long Data.SUM()
Data.Set 0xA002001C %Long ~Data.SUM()

My goal was to clear BMHD0 and set BMHD1 to start executing software from 0xA0080900. Unfortunately after this procedure I have no communication with the CPU.

What's wrong? Can it be undone?

problem include fftw3.h

$
0
0
Hello,
I'm new in C dave developement.
I'm working on the xmc1302-t038x0200 from infinéon
I have to do an FFT on a doppler radar signal

When i try to include the fftw3.h i got error for all the function called from the fftw3.h. (C:\Users\Recherche\Desktop\FFTW\Debug/../main.c:36: undefined reference to `fftw_malloc')
I already past the file fftw3.h in my file directory.
Can someone help pls..
(sorry for my english)

TX and RX port impedance of BGT24LTR11N16 ?

$
0
0
Dear support:

What is the accurate TX and RX port impedance of BGT24LTR11N16 ?
In Table 4 of the LTR11 datasheet, the TX load impedance is 50 ohm, and in Table 5, RX input impedance is also 50 ohm.
In fact, the impedance should be a complex, e.g. in datasheet of BGT24MTR12, the two RFIN port impedance are15.9-j18.4 and 15.7-j18.9.
I need the port impedance of LTR11 because I've to design a specified microstrip structure.

Thanks in advance.

Best Regards,
Jhon

Infineon Distance2Go-module (XMC4200-256) questions

$
0
0
Hi and first of all thank you for willing to help out.

For my company, I am doing some research about 24GHz radar technology to detect objects (speed, velocity, motion).
For this, I have purchased the Infineon "Distance2Go" testkit, and the documentation for this can be found here (https://www.infineon.com/cms/en/prod...o-distance2go/)

I have followed the installguide, downloaded the XMC-flasher, the XMC-driver and the RadarGUI.

Then I have flashed the Distance2Go-board with the .hex-file that is also included in the packet so that the radar can do distance detection. Then opened the RadarGUI, connected the Distance2Go-board and it worked.

But, and here is the but, the radar is not accurate at all. It detects objects that are not there, detects objects not accurate and sometimes doesnt detect objects that are there.

This is my configuration with the RadarGUI:
Attachment 3464

Does anyone have any experience with this radar Distance2Go-testkit that could help me set up my testenvironment for accurate testing?

Thanks in advance
?????

XMC4300 quadrature encoders and more examples

$
0
0
Quote:

Originally Posted by Tobi View Post
IUNO... Have you come further with it. It solved it meanwhile. Shall I help?

I've experimented with counters and got some results, but I've not achieved to use POSIF that is what we need.

Have you solved it?? Could you share some example with me?

CCU4 timer phase shift

$
0
0
It seems that the solution is to set the timer value _after_ the call to XMC_CCU4_EnableClock().

read Amplitude shift keying signal xmc1100

$
0
0
Hello
I would like to read an ask signal with the help of a xmc1100
what would I need for apps?
ADC, interrupt, PWM?

Thank you

XMC1402 SPI clock rate will not update using Dave App

$
0
0
Hi,

can you please check the value of BRG and FDR register once the "XMC_USIC_CH_SetBaudrate" function is called? To check this by yourself, I recommend to set the breakpoint at line 170 inside of "xmc_usic.c" file and see what is written in BRG register.
Attachment 3472

and then see in the peripheral view mentioned registers:

Attachment 3473

Then, set some other value in GUI and regenerate code and do the same procedure and compare BRG and FDR register values. They should differ (BRG will most likely be the same but FDR should differ). Let me know how it went.

Best regards,
Deni
?????

UART with CTS/RTS flow control

$
0
0
Hi,
We are using the XMC4700 with a couple of UART apps. One of the parts we are communicating with is a Bluetooth module that requires CTS and RTS for flow control. It does not appear DAVE's UART app has support for this nor can I find any APIs. Has anyone coded this before and be willing to share some code snippets or ideas?

Thanks,
Paul

XMC4500 SPI Slave

$
0
0
Hi,

I suggest you first to check the SPI_SLAVE_EXAMPLE_XMC4500 that is exactly written for your board and uses DMA mode which is also exactly what your application uses. What I can tell by a quick look is that you have issue in your interrupt service routine where you should clear the flag from "XMC_SPI1_CH0" module not "XMC_SPI0_CH1". However, this is a small thing and I guess the problem is that you´re not receiving anything from master. Take a look at the example, I´m sure you will find it beneficial.

Regards,
Deni

No confirmation email for Dave download

$
0
0
Hello,

I had filled the form for the Dave download but received no email. I have tried two different email addresses and made sure they are valid. Please advise.

Conditional compile over Build-Configurations

$
0
0
Hi.

Is there a way to compile a project conditional?

I set up a new Build Configuration : TEST.
Only in this configuration, i want to compile the Uart modules to serve the XMC_ASSERT() to a uart output.

To implement this solution, i add a new Build Variables "TEST_ACTIVE" Type:String Val:"0" to the TEST configuration.
( -> Properties for My Project, -> C/C++ Build -> Build Variables; Configuration: TEST ).

Automatic Method Comment

$
0
0
Hello,
I am using DAVE3 Platform and I am not able to add automatic block comment( shown below in green) that one needs to add to functions.

/*
* author userid
*
* To change this generated comment edit the template variable "comment":
* Window > Preferences > C/C++ > Editor > Templates.
*/


I found the setting if this multiline comment under 'Window > Preferences > C/C++ > Editor > Templates.' But I didn't find any way to use it. Moreover, it doesnt add comment automatically when I add any C function in my source file.

Any help would be appreciated.

XMC4300 Ethercat Connection Problems

$
0
0
Hello,
we have also problems with EtherCat, no communication to TwinCat with XMC4300-Board.
Which part of the XMC4300 "Relax" Board was defective or wrong assembled?
Where do you ordered the revisioned Board. Our board has V1.1.
Can you help us??

Input Connections to DSADC of TC277

$
0
0
Hello All,

I am working with DSADC module of TC277. I have a question regarding the input connections to the Modulator for the channel 2.
According to user manual , channel 2 is multiplexed(2:1 analog multiplexer). The user manual also says each analog input can be used in single-ended mode.
Therefore can i use DS2PA and DS2NA as 2 different single ended inputs?
Is there any document that explains the input multiplexer in detail as to how it is connected to input channels?

When all BMHD in TC275 fail, can I still connect devices via Generic BSL mode?

$
0
0
I tested the Generic BSL mode of TC275 using PLS.
In my code, BMHD was configured as ABM, but wrong memory CRC was given,and the external pin was configured as the ABM boot mode (P10.5:1 P10.6:0).
According to the user manual, BMHD is invalid because ABM mode needs to detect CRC. The chip should go into Generic BSL mode but I failed to connect via CAN、JTAG、DAP.
On the contrary, when my external pin is directly configured as Generic BSL mode(P10.5:0 P10.6:0), I connected to the chip successfully via CAN.
I would like to know if I have a way to connect the chip when all the BMHDs on the TC275 have failed?Is it a brick when I use ABM but given wrong CRC?
Attachment 3476
?????

[Ethernet] iLLD driver issue on TC29x

$
0
0
Hi vitorroriz,


Yes- I found the same issue regarding the addressing on the descriptor.
I came up with a similar solution as you, I ended up just hard-coding the address to be 100% sure the address was correct.

However,
if you then remove the loopback mode, you might see that you're unable to send data out the Ethernet port (through the PHY)

I'm still trying to find the solution.... *Using TC297 TFT appkit.

[Request] Keil DMX512 or BCCU example code.

$
0
0
Hi, all.

I'm an engineer who want to develop LED lighting system using XMC1200.

So, I had test some example code of "Infineon-Simple_8bit_DMX512_receiving_device_XMC12-AE-v02_00-EN.zip" on the KIT_XMC1X_AK_LED_001 board.
It works well.

But, code is for DAVE, NOT Keil.
Unfortunately, I have no skill of DAVE.

So, I want same code above for Keil.
Any DMX512 or BCCU example code for Keil may help me.

OR

How can I convert DAVE code to Keil?

Anyone could help me?

Thanks,
CK Park

IDE tool for SP370 tire pressure sensor

$
0
0
Hi,
I have recently bought SP370 tire pressure sensor module from infineon. There is in-built 8051 compatible microcontroller which is fabricated inside the sensor module. I want to develop the embedded firmware code for the microcontroller.
May i know what is the software IDE tool required for programming the sensor module.

Regards,
Rajan.
Viewing all 9892 articles
Browse latest View live


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