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

Sept 29, 2016 DAVE APP Patch Release

$
0
0
Today we published a patch release of 2 new DAVE APPs to fix recent identified issues:

E_EEPROM_XMC1:
When migrating a project that includes this APP to another device the memory size was not correctly given, this has been fixed.

MULTICAN_CONFIG:
Coded generation issue when using multiple message objects has been fixed, also the help document has been improved.

The updated DAVE APP release note contains more details.

How to install the updated APPs.
When starting DAVE an update notification will appear.
To start the update manually Press:
Help ->Check for DAVE APP Updates

An updated zip with all DAVE Apps to install/ update them offline can also be downloaded.


In the meantime also most of the DAVE Examples projects are updated to the latest DAVE APP releases plus a couple of new examples are released:
  • USB Host examples for mass storage or SW update
  • HSB Device Examples for SW update
  • EtherCAT Example for SW update
Further examples will be released next week.

Sept 29, 2016 DAVE APP Patch Release

$
0
0
Today we published a patch release of 2 new DAVE APPs to fix recent identified issues:

E_EEPROM_XMC1:
When migrating a project that includes this APP to another device the memory size was not correctly given, this has been fixed.

MULTICAN_CONFIG:
Coded generation issue when using multiple message objects has been fixed, also the help document has been improved.

The updated DAVE APP release note contains more details.

How to install the updated APPs.
When starting DAVE an update notification will appear.
To start the update manually Press:
Help ->Check for DAVE APP Updates

An updated zip with all DAVE Apps to install/ update them offline can also be downloaded.


In the meantime also most of the DAVE Example projects are updated to the latest DAVE APP releases plus a couple of new examples are released:
  • USB Host examples for mass storage or SW update
  • HSB Device Examples for SW update
  • EtherCAT Example for SW update
Further examples will be released next week.

EtherCAT Plug Fest

$
0
0
Hi,

I am working on an XMC4300 project with the intent of being ready for the 2016 Winter European EtherCAT Plug Fest on Dec 6th & 7th.

I was wondering if anyone on this forum has taken a product that used an XMC4x00 to a plug fest and had insights or pointers that might be useful to someone going to their first plug fest to test the interoperability of a slave device.

Thanks!

Dennis

VADC Standard Data Reduction Method Problem

$
0
0
Hi Ishaan,

I apologize for taking such a long time to reply. Here are a few notes on your comment and configuration file.

As for triggering, it's a somewhat separate topic. I am not sure if you are asking for suggestion regarding triggering, but the setup that you've described sounds good. As long as triggering occurs at intervals that you want it to occur, then any source is fine.

Now, result accumulation. The configuration looks good. When result accumulation is enabled - and you might have seen the diagram in the Reference Manual - new results are added to whatever is in the result register and the DRC gets decremented with each new value. When DRC reaches the value of 0, valid flag VF gets raised, which triggers the Service Request. Now the reason I am saying all this is because it seems like you've got all the necessary configuration for such behaviour.

Because I cannot test your code, could you please tell me the following:
(a) Does the ISR actually trigger? I.e. does VADC0_G0_IRQHandler( ) ever execute? If so, the values that you read out, are they still just single values (e.g. 4095)?
(b) You've mentioned that the ADC receives trigger signals via UART. I am assuming this module is working fine and a trigger pulse arrives periodically? You've never mentioned if you're just running the code and the result register read keeps returning 4095, or if that happens once and then you stop the program.

Best,

Andrey

Information on RTC clock in XMC4500

$
0
0
Hello !
Almost 3 years later, and with the same question :
Does someone know the stability of the internal RTC on a XMC4500 ?
And how it ages or drift with temperature?

I see nothing in datasheet, nor in user manual.
Regards,

Jorge

connecting xmc4500 development board and a rotary encoder

$
0
0
Hi I am new to this field of study.

I am using xmc4500 developement board, i.e., I have the hexagonal board and the extension unit.

I also have a rotary encoder (ERN 480 2048 1VPP).

As I connect the USB to the CPU Board, I am able to supply the encoder
with power by connecting the encoder to the extension unit through pin 1 and pin 43. The extension
unit is connected to ACT.

The encoder can generate signals (phase A, B and Z) and I am able to read these using an
oscilloscope (through the corresponding wires).

The question is how can I connect the wires to the development board so that this time
my microntroller can read it. My idea is to read them using uC-Probe

Which pins do i use? And how I do confogure the microcntroller?
I am using DAVE4. I also have the Simulink Embedded Coder Library.

FAQ for XMC4800 EtherCAT

$
0
0
Hello.
Because I'm used to using the MDK tools when I program some ARM microcontrollers,I copy the example code of official website provide to the latest MDK version(Keil V5.21).
I build the example project and make some changes for the MDK platform(e.g. change #include "malloc.h" into #include "stdlib.h").I finally get 0 erros and 0 warnings.
And then I downloaded the program to the XMC4800 relax kit.However,I found some problems.

The program will run out when I change the state machine of EtherCAT master by TwinCAT2.0.It almost occurred from INIT to PRE-OP.But the phenomenon is not happening every time when
I change the state machine.This is so strange.The same example code that is builded by DAVE is currect,and has no such phenomenon.

So I would like to ask you if you have tried to compile this code with MDK,and have you had this problem.

Thank you, looking forward to your reply.

Example code :XMC4800_Relax_EtherCat_Slave_SSC
Hardware: XMC4800_Relax_Kit and XMC_EtherCAT_Phy_Board-V1
ECAT master: TwinCAT2.0 in PC

Radar

$
0
0
Quote:

Originally Posted by jessica patel View Post
Radar is an object-detection system that uses radio waves to determine the range, angle, or velocity of objects. It can be used to detect aircraft, ships, spacecraft, ...

Fine. perfect definition

Debug Problem: Sense 2Go2 - 24 GHz Radar DEMO Kit

$
0
0
I'm using Dave (v 4.3.2) to program the Sense 2Go2 board with XMC Link. But when i try to debug my program i obtain:

No source available for "(gdb[0].proc[42000].threadGroup[i1],gdb[0].proc[42000].OSthread[1]).thread[1].frame[0]"

How can i solve the problem?

Best regards

Debug Problem: Sense 2Go2 - 24 GHz Radar DEMO Kit

$
0
0
I'm using Dave (v 4.3.2) to program the Sense 2Go2 board with XMC Link. But when i try to debug my program i obtain:

No source available for "(gdb[0].proc[42000].threadGroup[i1],gdb[0].proc[42000].OSthread[1]).thread[1].frame[0]"

How can i solve the problem?

Best regards

XMC SPI passive data lavel

$
0
0
Hi.
In the USIC interface module there is the SCTR.PDL register that set the passive level of the MOSI line but when a SPI frame ends the MOSI value is equal to the last bit sent.
Can i set the MOSI line equal to the PDL register value?
Thanks for your support.

Modbus TCP

$
0
0
Yes,
now I have looked in the apps and have seen, that the SYSTIMER-app is used. Is it like an interlock for the RTOS?

Best regards,
Oliver

XMC4800 Firmware update

$
0
0
On the example download page and inside DAVE you als find examples for firmware update via USB:

USB Firmware update XMC acting as device: USBD_MS_BOOTLOADER_IAP_XMC47

USB Firmware update XMC acting as host: USBH_MS_BOOTLOADER_IAP_XMC45

BR

Michael

TFTP Loader

About Ethernet based Webserver

$
0
0
Quote:

Originally Posted by jferreira View Post
Hi,

You can have a look to HTTP_SERVER APP in DAVE4.

Regards,
Jesus

any other option plz??

XC2200 Sleep / Wakeup

$
0
0
Hi,

I want to put the ECU in power save mode and wake up via LIN.

I have implemented fllowing code, the ECU is able to go into power save mode but is NOT able to wake up. Any idea if some nessesary setting is missed?

#define SCU_ESRCFG_VALUE \
(((l_u16)(((l_u16)2U) <<0U))| /* PC Port Input/Output Control for ESR pin \
* 2: Input not inverted, pull-up device */ \
((l_u16)(((l_u16)0U) <<4U)) | /* DFEN Digital Filter Enable \
* 0: Filter is bypassed, 1: Filter is used */ \
((l_u16)(((l_u16)2U) <<7U)) | /* SEDCON Synchronous Edge Detection Control \
* (AEDCON = 0) 0: No action, 1: rising, \
* 2: falling, 3: both edge(s) */ \
((l_u16)(((l_u16)0U) <<9U))) /* AEDCON Asynchronous Edge Detection Control \
* (SEDCON = 0) 0: No action, 1: rising, \
* 2: falling, 3: both edge(s) */

#define SCU_ESREXCON1_VALUE \
(((l_u16)(((l_u16)1U) <<0U))| /* ESR1 Pin Enable */ \
((l_u16)(((l_u16)1U) <<3U))) /* ESR1 Input 2 Enable (P10.0) Rx pin */ \


static void gotoSleep(void)
{

/* Configure wake up via ESR (external service request) */
/* Configure ESR1 */
SCU_ESRCFG1 = SCU_ESRCFG_VALUE;

/* configure additional ESR1 input P10.0 (Rx pin) */
SCU_ESREXCON1 = SCU_ESREXCON1_VALUE;

/* clear DMP_M ESR1 trap request flag
* from now on, trigger events will be handled by the SCU driver */
SCU_DMPMITCLR = 0x1000U;

/* Goto Sleep */
SCU_PLLCON0_VCOPWD = 1u;

}

Motor Control Ramp Generator

$
0
0
Dear community,

I'm using Dave App ACIM_FREQ_CTRL for simple spin a motor.

I'm using Ramp Generator 1 for generate a simple speed ramp.

The following question seems trivial but in reality it isn't:
what is the measurement unit of the parameter Slew rate?

Thank you.

Attachment 2610
Attached Images

Spektrum Satteliten Auslesen

$
0
0
Hallo,

der Code von Infineon der den Satelliten ausliest ist sehr Statisch ...

ich habe die Funktion RemoteControl_RX_ISR im Ordner "_Quad .../RCReceive" etwas adaptiert:
void RemoteControl_RX_ISR(){
int throttleRaw;
int rudderRaw;
int elevatorRaw;
int aileronRaw;
int AUX1Raw;
int AUX2Raw;
int start = 0; //Index of start byte (contains 0x30)
int i = 0; //Index of start byte (contains 0x30)
int j; // For index
uint8_t ReadBufRC[32]; //Readbuffer
uint8_t channels[32];
int values[6];
uint8_t WriteBufRC[32];

for(j = 0; j < 32; j++){
channels[j] = 254;
}

//Read data from UART buffer
UART_ReadDataBytes(&RemoteControl_Handle, ReadBufRC, 32);



//Search for start byte
while (ReadBufRC[start] != 0x00 && ReadBufRC[start + 1] != 0xa2) //0x12 oder 0xa2 oder 0xb2 je nach verwendeter Funke!
{
start++;
if (start > 16)
{
//Communication check bytes not in buffer
return;
}
}

//search for channel ID
i = start + 2;
while(i < 32){
if(ReadBufRC[i] != 0x00 && ReadBufRC[i] != 0xa2){ //0x12 oder 0xa2 oder 0xb2 je nach verwendeter Funke!
channels[i] = ((ReadBufRC[i] & 0x78) >> 3);
}
i = i + 2;
}

//write RAW values to Array
for(j = 0; j < 32; j++){
if (channels[j] != 254){
values[channels[j]] = mergeBytes(ReadBufRC[j], ReadBufRC[j + 1]) & 0x07FF;
}
}



//remap raw values to control values */
PWMDuty = (uint32_t) map(values[0], 340, 1955, 0, 10000);



PWM_CCU4_SetDutyCycle(&LED_PWM, PWMDuty);

g_joystick_values.throttle = map(values[0], 0, 2048, 903, 2097);
g_joystick_values.aileron = map(values[1], 0, 2048, 903, 2097);
g_joystick_values.elevator = map(values[2], 0, 2048, 903, 2097);
g_joystick_values.rudder = map(values[3], 0, 2048, 903, 2097);
g_joystick_values.AUX1 = map(values[4], 0, 2048, 903, 2097);
g_joystick_values.AUX2 = map(values[5], 0, 2048, 903, 2097);
//Set values for RC Timeout check
RCTimeOut = 0;
connected = 1;
RCCount++;
}

XMC4400 PMSM FOC Sensored

$
0
0
I'am looking for example of PMSM FOC Sensored (Resolver or Encoder feedback) compatible with Dave 4.

Where I can download this ?

Somebody can help me ?

Thanks

Regards
Marco

TLS850F0TAV33 Linear Regulator with Watchdog

$
0
0
The output voltage is supervised via the Reset characteristic, which include Undervoltage Reset,behind schedule Reset at strength-On and an adjustable decrease Reset.I'm working in write my essay carrier and do your paper work on time in spite of the persistent time lack. Right here you can also discover a expert to do thesis papers for me on time and supply with the alternative writing solutions in case you need a few. Writing, enhancing, and formatting troubles can be easily resolved with the help of the unique on-line writing team from this is the service you positive gonna like as it offers the writers
Viewing all 9892 articles
Browse latest View live


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