DAVE™ Forum Discussions
DAVE™
A FREERTOS APP has been published on the dave server as contributed DAVE APP. Contributed DAVE APPs are not developed, tested and released according ...
Show More
A FREERTOS APP has been published on the dave server as contributed DAVE APP. Contributed DAVE APPs are not developed, tested and released according to the official Infineon software development process. Contributed APPs are developed by third parties, Infineon personnel or other individuals.
The FREERTOS APP can be installed as follows:
Open DAVE version 4 and press “Help”, -> Install DAVE APP/ Examples/ Device Library
Then press “Add” and copy the following link in the location field:
http://dave.infineon.com/Libraries/DAVE_Libs/Contributed/v4.0.0/
Then select the FREERTOS APP and follow the further instructions.
In the meantime there are also a couple of example projects published that can be downloaded within DAVE v4.
Instructions to download the DAVE v4 example projects:
Open DAVE version 4 and press “Help”, -> Install DAVE APP/ Examples/ Device Library
Then select “DAVE Project Library Manager” in the combo box and select the required example libray window where the examples are organized in categories. Selection is also supported by a key word filter.
In total there are currently 37 examples available, including examples for the FREERTOS APP and an example to demo how the examples from the XMC Lib package can be used.
Here a list of all current available example projects:
XMC11\FREERTOS_XMC11
XMC12\DISPLAY_7SEG_EXAMPLE_XMC12
XMC12\LED_MATRIX_EXAMPLE_XMC12
XMC12\UART_XMC_Lib_XMC12.xml
XMC13\COUNTER_EXAMPLE_XMC13
XMC13\CRC_SW_EXAMPLE_XMC13
XMC13\CRYPTO_AES_EXAMPLE_XMC13
XMC13\E_EEPROM_XMC1_EXAMPLE_XMC13
XMC13\PWM_CCU4_EXAMPLE_XMC13
XMC13\PWM_CCU8_EXAMPLE_XMC13
XMC13\PWM_EXAMPLE_XMC13
XMC13\RTC_EXAMPLE_XMC13
XMC13\TIMER_EXAMPLE_XMC13
XMC13\WATCHDOG_EXAMPLE_XMC13
XMC45\ADC_MEASUREMENT_EXAMPLE_XMC45
XMC45\CAN_EXAMPLE_XMC45
XMC45\COUNTER_EXAMPLE_XMC45
XMC45\CRC_SW_EXAMPLE_XMC45
XMC45\CRYPTO_AES_EXAMPLE_XMC45
XMC45\DAC_EXAMPLE_XMC45
XMC45\DAC_LUT_EXAMPLE_XMC45
XMC45\DMA_FCE_XMC45
XMC45\DMA_FLASH_SRAM_XMC45
XMC45\External_Interrupt_XMC45
XMC45\FREERTOS_XMC45
XMC45\GUI_SEGGERLIBRARY_EXAMPLE_XMC45
XMC45\I2C_EXAMPLE_XMC45
XMC45\PWM_CCU4_EXAMPLE_XMC45
XMC45\PWM_CCU8_EXAMPLE_XMC45
XMC45\PWM_EXAMPLE_XMC45
XMC45\QSPI_EXAMPLE_XMC45
XMC45\RTC_EXAMPLE_XMC45
XMC45\SPI_EXAMPLE_XMC45
XMC45\SYSTIMER_XMC45
XMC45\TIMER_EXAMPLE_XMC45
XMC45\UART_EXAMPLE_XMC45
XMC45\WATCHDOG_EXAMPLE_XMC45 Show Less
The FREERTOS APP can be installed as follows:
Open DAVE version 4 and press “Help”, -> Install DAVE APP/ Examples/ Device Library
Then press “Add” and copy the following link in the location field:
http://dave.infineon.com/Libraries/DAVE_Libs/Contributed/v4.0.0/
Then select the FREERTOS APP and follow the further instructions.
In the meantime there are also a couple of example projects published that can be downloaded within DAVE v4.
Instructions to download the DAVE v4 example projects:
Open DAVE version 4 and press “Help”, -> Install DAVE APP/ Examples/ Device Library
Then select “DAVE Project Library Manager” in the combo box and select the required example libray window where the examples are organized in categories. Selection is also supported by a key word filter.
In total there are currently 37 examples available, including examples for the FREERTOS APP and an example to demo how the examples from the XMC Lib package can be used.
Here a list of all current available example projects:
XMC11\FREERTOS_XMC11
XMC12\DISPLAY_7SEG_EXAMPLE_XMC12
XMC12\LED_MATRIX_EXAMPLE_XMC12
XMC12\UART_XMC_Lib_XMC12.xml
XMC13\COUNTER_EXAMPLE_XMC13
XMC13\CRC_SW_EXAMPLE_XMC13
XMC13\CRYPTO_AES_EXAMPLE_XMC13
XMC13\E_EEPROM_XMC1_EXAMPLE_XMC13
XMC13\PWM_CCU4_EXAMPLE_XMC13
XMC13\PWM_CCU8_EXAMPLE_XMC13
XMC13\PWM_EXAMPLE_XMC13
XMC13\RTC_EXAMPLE_XMC13
XMC13\TIMER_EXAMPLE_XMC13
XMC13\WATCHDOG_EXAMPLE_XMC13
XMC45\ADC_MEASUREMENT_EXAMPLE_XMC45
XMC45\CAN_EXAMPLE_XMC45
XMC45\COUNTER_EXAMPLE_XMC45
XMC45\CRC_SW_EXAMPLE_XMC45
XMC45\CRYPTO_AES_EXAMPLE_XMC45
XMC45\DAC_EXAMPLE_XMC45
XMC45\DAC_LUT_EXAMPLE_XMC45
XMC45\DMA_FCE_XMC45
XMC45\DMA_FLASH_SRAM_XMC45
XMC45\External_Interrupt_XMC45
XMC45\FREERTOS_XMC45
XMC45\GUI_SEGGERLIBRARY_EXAMPLE_XMC45
XMC45\I2C_EXAMPLE_XMC45
XMC45\PWM_CCU4_EXAMPLE_XMC45
XMC45\PWM_CCU8_EXAMPLE_XMC45
XMC45\PWM_EXAMPLE_XMC45
XMC45\QSPI_EXAMPLE_XMC45
XMC45\RTC_EXAMPLE_XMC45
XMC45\SPI_EXAMPLE_XMC45
XMC45\SYSTIMER_XMC45
XMC45\TIMER_EXAMPLE_XMC45
XMC45\UART_EXAMPLE_XMC45
XMC45\WATCHDOG_EXAMPLE_XMC45 Show Less
DAVE™
Hi all,I want to transfer ADC003 Results with DMA002 to the memory (dstbuffer). If I want to do this with just one ADC-Group there is no problem, beca...
Show More
Hi all,
I want to transfer ADC003 Results with DMA002 to the memory (dstbuffer). If I want to do this with just one ADC-Group there is no problem, because it is just a simple transfer between two arrays. Now I want to do this with just one DMA002 - App and and mutiple ADC-Groups (I configured three ADC003-Apps). I tried to solve this "problem" with Linked list multi-block transfer with auto-reload SAR. Is it possible to use Linked lists with peripherals and to create such a list with source adresses of all configured channels, also if multiple ADC-groups are used? Maybe someone could attach a minimal example for the configuration!
Thank you!
Petzi Show Less
I want to transfer ADC003 Results with DMA002 to the memory (dstbuffer). If I want to do this with just one ADC-Group there is no problem, because it is just a simple transfer between two arrays. Now I want to do this with just one DMA002 - App and and mutiple ADC-Groups (I configured three ADC003-Apps). I tried to solve this "problem" with Linked list multi-block transfer with auto-reload SAR. Is it possible to use Linked lists with peripherals and to create such a list with source adresses of all configured channels, also if multiple ADC-groups are used? Maybe someone could attach a minimal example for the configuration!
Thank you!
Petzi Show Less
DAVE™
Hi,I have just started with the implementation of a MODBUS RTU slave according to DAVE3 app MODBUS001_Example. By using the callback function " MyHold...
Show More
Hi,
I have just started with the implementation of a MODBUS RTU slave according to DAVE3 app MODBUS001_Example.
By using the callback function " MyHoldingCB" in the Example2, I always receive with the variable "usAddress" with a value bigger by 1 as my adjusted address.
Here the declaration of this function:
eMBErrorCode MyHoldingCB( UCHAR * pucRegBuffer, USHORT usAddress, USHORT usNRegs, eMBRegisterMode eMode );
Has some one recognised the same behavior or can explain the reason for that?
Thanks, Show Less
I have just started with the implementation of a MODBUS RTU slave according to DAVE3 app MODBUS001_Example.
By using the callback function " MyHoldingCB" in the Example2, I always receive with the variable "usAddress" with a value bigger by 1 as my adjusted address.
Here the declaration of this function:
eMBErrorCode MyHoldingCB( UCHAR * pucRegBuffer, USHORT usAddress, USHORT usNRegs, eMBRegisterMode eMode );
Has some one recognised the same behavior or can explain the reason for that?
Thanks, Show Less
DAVE™
Hi,I found problem with PWMSP002 app. I tried to use high resolution (8.3333ns) low frequency (500Hz) PWM with dithering. PWM outputs looks bad (it lo...
Show More
Hi,
I found problem with PWMSP002 app. I tried to use high resolution (8.3333ns) low frequency (500Hz) PWM with dithering. PWM outputs looks bad (it looks like output period was randomly changed with large step).
When I turned off dithering - everything was OK.
I think there is a bug in PWMSP002. I think this app sets dithering on both timers (higher timer and lower timer). I think is incorrect - only lower timer should use dithering.
Is it bug? Or I'm doing something wrong? Show Less
I found problem with PWMSP002 app. I tried to use high resolution (8.3333ns) low frequency (500Hz) PWM with dithering. PWM outputs looks bad (it looks like output period was randomly changed with large step).
When I turned off dithering - everything was OK.
I think there is a bug in PWMSP002. I think this app sets dithering on both timers (higher timer and lower timer). I think is incorrect - only lower timer should use dithering.
Is it bug? Or I'm doing something wrong? Show Less
DAVE™
Bonsoir,in the moment its neither possible to migrate an older project for the XMC4400 Step AA to the last version of DAVE 3 nor to use Apps in a new ...
Show More
Bonsoir,
in the moment its neither possible to migrate an older project for the XMC4400 Step AA to the last version of DAVE 3 nor to use Apps in a new CE-project for this MCU.
All i got was a java null point exception and sometimes another error message . I tried in many ways, to get the Apps into the programm - no success.
The prog is attached.
Marc E. Show Less
in the moment its neither possible to migrate an older project for the XMC4400 Step AA to the last version of DAVE 3 nor to use Apps in a new CE-project for this MCU.
All i got was a java null point exception and sometimes another error message . I tried in many ways, to get the Apps into the programm - no success.
The prog is attached.
Marc E. Show Less
DAVE™
Hello(XMC4500 Relax Kit)I tried to change the CS of 2 SPI001 Controlls. Basically it works but I get the Problem that when I change the CS with the fo...
Show More
Hello
(XMC4500 Relax Kit)
I tried to change the CS of 2 SPI001 Controlls. Basically it works but I get the Problem that when I change the CS with the following commands both CS go to zero at the same time for a moment. (Including MTRS)
Is there anything I'm doing wrong? This behavior is very evil for may SPI devices.
best regards,
Michael Grassl Show Less
(XMC4500 Relax Kit)
I tried to change the CS of 2 SPI001 Controlls. Basically it works but I get the Problem that when I change the CS with the following commands both CS go to zero at the same time for a moment. (Including MTRS)
SPI001_Handle0.Config->CESelected = CE_B;
SPI001_Configure(&SPI001_Handle0,SPI001_Handle0.Config);
SPI001_Handle1.Config->CESelected = CE_B;
SPI001_Configure(&SPI001_Handle1,SPI001_Handle0.Config);
Is there anything I'm doing wrong? This behavior is very evil for may SPI devices.
best regards,
Michael Grassl Show Less
DAVE™
Hi all,I'm trying to make a program where I use SPI001 [1.0.24]. I want to manually manage the ChipSelect pin. Is that possible to do that with IO004[...
Show More
Hi all,
I'm trying to make a program where I use SPI001 [1.0.24]. I want to manually manage the ChipSelect pin. Is that possible to do that with IO004[1.0.22]? If so, can you tell me how? Because I can't manual select a pint 0.2 in SPI001 AND IO004.
Thanks in advice Show Less
I'm trying to make a program where I use SPI001 [1.0.24]. I want to manually manage the ChipSelect pin. Is that possible to do that with IO004[1.0.22]? If so, can you tell me how? Because I can't manual select a pint 0.2 in SPI001 AND IO004.
Thanks in advice Show Less
DAVE™
Hello,I need for me projekt a periodic microsecond timer (32 bit) to get the time between two calls or to generate a delay.Is there a app which provid...
Show More
Hello,
I need for me projekt a periodic microsecond timer (32 bit) to get the time between two calls or to generate a delay.
Is there a app which provide this function?
According to the datasheet for the XMC4500 the module CCU4 and CCU8 should do this.
But there is no app which provide only the function from this modules to generate a periodic timer.
What can i do now ?
Best regards,
Max_Rock Show Less
I need for me projekt a periodic microsecond timer (32 bit) to get the time between two calls or to generate a delay.
Is there a app which provide this function?
According to the datasheet for the XMC4500 the module CCU4 and CCU8 should do this.
But there is no app which provide only the function from this modules to generate a periodic timer.
What can i do now ?
Best regards,
Max_Rock Show Less
DAVE™
Hi,When trying to run the USBD_MS_Example1 I encountered the followin problem.Startup the debugger for the first time and the SD card is properly show...
Show More
Hi,
When trying to run the USBD_MS_Example1 I encountered the followin problem.
Startup the debugger for the first time and the SD card is properly showing in the windows explore, when disconnecting and reconnecting the USB cable the SD card isn't shown anymore. The only way to resolve the problem is to reset the project then the SD card will re-appear.
Something I've seen also is that when disconnecting the device the event EVENT_USB_Device_Disconnect is never triggered (Is this the problem?), I've tried executing the Disconnect code just before the Connect event but did didn't also resolve my problem.
Can somebody help me with this issue?
Regards Show Less
When trying to run the USBD_MS_Example1 I encountered the followin problem.
Startup the debugger for the first time and the SD card is properly showing in the windows explore, when disconnecting and reconnecting the USB cable the SD card isn't shown anymore. The only way to resolve the problem is to reset the project then the SD card will re-appear.
Something I've seen also is that when disconnecting the device the event EVENT_USB_Device_Disconnect is never triggered (Is this the problem?), I've tried executing the Disconnect code just before the Connect event but did didn't also resolve my problem.
Can somebody help me with this issue?
Regards Show Less