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

GUI for DEMS DK kit

$
0
0
Your only hope is turning to your sales for support. Infineon will not put such stuff at a place could be accessed from public.

SAL-TC222-16F133N Power consumption sheet

$
0
0
Datasheet will tell you the exact number.

Tc1793 dflash pmu0

$
0
0
hello

I'm trying to use DFLASH in PMU0 for storing some parameter data.

and I want to write and read and clear data in Dflash memory when the user send command.

Can you provide some examples or solutions about using Dflash memory something like writing and reading in code ?

please reply. thank you for your reading.

Build error while using UART_CONFIG and UART together

$
0
0
Hi,

I am using UART_CONFIG APP and UART APP in my DAVE CE XMC4700 project.

The following error is thrown,
.
xxxx/Dave/Generated/UART_CONFIG/uart_config.h:134:16: error: redefinition of 'struct UART_CONFIG'
.
.
xxxx/Dave/Generated/UART_CONFIG/uart_config.h:138:3: error: conflicting types for 'UART_CONFIG_t'

I understand, both UART and the Config APP declares the config struct with the same name the creates this error.

I manually change the struct name in UART_CONFIG every time I generate code, but this is taking lot of time.

Is there a bugfix for this? or anyother way I can resolve it.

Regards,
Sridhar

Reentrant interrupt handler

$
0
0
Quote:

Originally Posted by Jorge66 View Post
I found an article from ARM explaining how to achieve this in asembly language:

The XMC4500 has a Cortex-M core. But the link given by you refers to another core that is not compatible with Cortex-M by the interrupt system.
You'd better use any RTOS than make your own scheduler.
If you still need your scheduler, then first of all study the existing schedulers (included in existing RTOSs). And you can not makes own scheduler without knowing the architecture of the core of your CPU and not knowing its assembler.

XMC4400 VADC FIR FIlter

$
0
0
I am trying to set up a simple FIR filter on ADC on an XMC4400.
Every time I click FIR filter in post processing on ADC_MEASUREMENT_ADV, I get an
"DAVE is not able to grant your last hardware resource request".

I have selected the ADC_SCAN_APP at 8 bit conversion mode in DAVE 4.3.2
Only upto 4 FIFO configurations are generated. Anything beyond that gives the above error.
Also other than subtract and accumulate, selecting any of the filtering coefficients brings the above error
?????

XMC4400 ADC Post processing and Boundary Check

$
0
0
I am using an XMC 4400 chip. In the application an ADC input signal set a boundary flag on the ADC_MEASUREMENT_ADV app.
The issue is that the analog signal input seems to be noisy.

Is there a mechanism to do post processing on the ADC and then use the output of this signal as an input to the boundary check (maybe a signal input to another instance of ADC_MEASUREMENT_ADV module)?

The bottleneck now is that we can either choose the ADC output to set a boundary flag or filter the ADC output to get a signal prone to less noise.

Any suggestions regarding this would be highly appreciated.

DAVE Tip of the day: CMSIS RTOS API Overview


Aurix TC3XX enable memory

$
0
0
Hello Forum members,

I would like to understand how can we enable the memory on the Aurix TC3XX family boards? i want to increase the memory of the EMEM. I dont have much documentation on this series. Could anyone help me here please.

DAVE4 Tool Chain Editor Question

$
0
0
Hello, I am fairly new to DAVE and there is something that I can´t seem to figure.

When I go to the project properties in C/C++ Build the ARM-GCC C++ Compiler and Linker doesn't show up despite appearing in the used tools on the Tool Chain editor. This also happens on C/C++ General in the paths and symbols where I can only see GNU C and s,S.
This only happens when I create a project because when I use one of the examples the ARM-GCC C++ Compiler and Linker are there.
Can someone please guide me on how to make the C++ compiler and liker appear on the C/C++ Build.

Thank you in advance.

Best Regards,

Pedro.

XMC4800 EtherCAT Phy ICs

$
0
0
I saw that the only the Ethernet port can handle RMII, not EtherCAT. So I have to use a Phy with MII.

AURIX TC23x Standby Mode

$
0
0
Hello,

I’m working with the system power modes of the TC234 AURIX microcontroller.
I’m trying to get the system into Standby mode, following the steps specified at the user manual. (Chapter 8.3.2.4 – “Entering Standby Mode (ESR1 / Pin or WUT Wake-up configuration).
The problem is that most of these steps aren't as specific as they should and there are a lot of uncertainties.

Has anyone already managed to take the system to standby mode?

Here are some doubts I have about:
- There is one step that mentions the PMSWCR0.SCRCLKSEL register’s field and following the reference manual, there isn’t any field named SCRCLKSEL in PMSWCR0 register.
- “CPU frequency reduction in steps compliant to load jump constraints.” -> what “load jump constraints” means? Where could I follow those "constraints"?
- “CPU code execution is switched from Flash to PSPR RAM”. -> I’ve been reading the manual in order to find how to switch code execution from Flash to PSPR RAM and I could not find anything related with it.
- "Select the Standby RAM block via PMSWCR0.STBYRAMSEL bits” -> I haven’t found this field on the reference manual.
- “Configure pad state via PMSWCR0.TRISTREQ bit” -> -> I haven’t found this field on the reference manual.

Hope someone has same scenario as I have.
Thanks in advance,

Alejandro.

Missing HW Signal Connections

$
0
0
Hello
I have a Problem with DAVE 4

I Used to setup a Timerfunction. I have read the manual and there is written i need to use the ISR together with the Timer (CCU4).
And this way i need to couple those Signals to trigger a Interrupt when the timer has finished its job. (All things according to the Manual)
I done it stepp by step but now im stuck--> The HW Signal Connection cant be set and i dont know how to fix that.

Here is a Picture of the HW Signal Connections
Attachment 3190

Can Someone Help me?

Using Dave 3 with custom HW

$
0
0
Hi guys,
1 im novice & hobbist
2 taken exagon kit_xmc45_ae1-002 installed dave 4.3.2 upgraded no errors
3 foollowed to build easystart project in 64bit version
4 had not response by target in debug session
5 the reason is that is not a SEGGER license j-link in my chip emulator s/n591006237
in other treads i had read that in every kit there is one that cant be moved .
Pheraps it was lost in upgrading xmc4200 ?
How i can do ?
tanks in advance

Voltage Reference Question

$
0
0
i see your diagram and i think you can use XDL20-6-100 easily .

Inquiry about EtherCAT implementation using KIT_XMC45_AE1.

$
0
0
Hello all,

As the title suggests, I left this thread to ask if I could implement EtherCAT using KIT_XMC45_AE1.
I also have a COM board and can I create and test an EtherCAT project using SSC?

Regards,
Rocky

UCB_DFlash read and write protection

CAN bus respond to remote request

$
0
0
Hi All,

First time use XMC4400 and CAN communication. as I cannot find much sample about external CAN communication, so i post here if someone can help me.

It is working fine when I use sample code as loop-back mode on XMC4400 demo board, but it always send back 2 message when i connect it with COM_ETH_V1 kit with external CAN communication.

It is use DAVE 4, and CAN TX address is 0x355.

Another question i have is how can i load different data other than data set by APP?

Thanks
Ed

Here is code i use to respond to remote request, is it right way?


status3 = CAN_NODE_MO_GetStatus((void*)CAN_NODE_1.lmobj_ptr[1]);

// Check receive pending status

if ( status3 & XMC_CAN_MO_STATUS_RX_PENDING)

{

// Clear flag status

CAN_NODE_MO_ClearStatus((void*)CAN_NODE_1.lmobj_pt r[1],XMC_CAN_MO_RESET_STATUS_RX_PENDING);


CAN_NODE_MO_Transmit((void*)CAN_NODE_1.lmobj_ptr[1]); //Send data back
}

status3 = CAN_NODE_GetStatus(&CAN_NODE_1);

if (status3 & XMC_CAN_NODE_STATUS_ALERT_WARNING)

{

// Clear the flag

CAN_NODE_DisableEvent(&CAN_NODE_1,XMC_CAN_NODE_EVE NT_ALERT);

}

DMA usage

$
0
0
Hello,

I have two questions regarding DMA use on XMC4xxx:

1. Is it allowed to read peripheral register USIC0->RBUF by DMA with source width configured as 8bit?

2. Is it correct to expect when reading USIC0->RBUS by DMA with source width 32bit and destination width configured as 8bit that only lower 8bits of RBUF are transferred to destination memory?

thank you

rum

Wrap text?

Viewing all 9892 articles
Browse latest View live