DAVE™ Forum Discussions
Hi everyone,
- I am running DAVE v4.3.2 and the 'ENCODER_POSIF' APP is missing.
- If I check for DAVE APP updates the 'ENCODER_POSIF' does not appear in the 'APPS Library Update Page' either.
- How can I obtain the 'ENCODER_POSIF' please ?
Thank you very much
Show LessHello.
How can i solve the problem with the SPI-MASTER App with a XMC4700 microcontroller.
I use the SPI_MASTER App and select "Enable advanved pin configuration" to set up the port pin driver strange on USIC2 Channel 0.
I want to use: Strong Driver Sharp Edge on MOSI and SCLK, but i can only select:
- Dont care
- Weak DRiver
- Medium Driver
- Strong Driver Soft Edge
- Strong Driver Slow Edge
If i want to select: Strong Driver Shart Edge, Dave4 shows a error:
DAVE is not able to grant your last hardware resources request.
That's not possible, because its only a available setting of a port pin, NOT a NEW hardware resource!
Look for example at xmc4_gpio.h:
#define XMC_GPIO_CHECK_OUTPUT_STRENGTH(strength) ((strength == XMC_GPIO_OUTPUT_STRENGTH_STRONG_SHARP_EDGE) ||\
(strength == XMC_GPIO_OUTPUT_STRENGTH_STRONG_MEDIUM_EDGE) ||\
(strength == XMC_GPIO_OUTPUT_STRENGTH_STRONG_SOFT_EDGE) ||\
(strength == XMC_GPIO_OUTPUT_STRENGTH_STRONG_SLOW_EDGE) ||\
(strength == XMC_GPIO_OUTPUT_STRENGTH_MEDIUM) ||\
(strength == XMC_GPIO_OUTPUT_STRENGTH_WEAK))
How can is solve this bug?
I can edit the created spi_master_conf.c and write
.output_strength = XMC_GPIO_OUTPUT_STRENGTH_STRONG_SHARP_EDGE
to the pin config, but with the next: DAVE->Generat Code , i lost my settings.
Please help.
Show Less
Hi,
DAVE App of EVENT_GENERATOR for ERU has only single "pattern" input, it has no "tout" output.
XMC1400 ERU has 4 inputs EXICONx.FL to detect pattern, and ERU_TOUT as "tout" without gating.
Why does not the ERU_GENERATOR of DAVE App have "tout" ?
Would you modify the ERU_GENERATOR to have "tout" ?
Best Regards,
Hayashi.K
Hi,
I have an IMU which uses I2C for configuration. The device uses only one byte writing, meaning that the master may transmit only one byte of data to the slave and then the stop condition must be sent by the master.
The slave's address is 0xA (and according to the app description, the value shall be left shifted by 1 bit to make room for the R/W bit, therefore the value of the address define is 0x14), the register address and the content to the written to it are defined in variables. I am also using the NACK received callback function. I am always receiving a NACK signal and am not sure why. Perhaps I am using the transmit function incorrectly? The relevant code is attached below.
Regarding HW problems: the IMU used is not dead, the electrical connection between the master and the slave is fine and the baudrate is also within the device's specification.
void NACK_Received(void)
{
I2C_MASTER_AbortTransmit(&I2C_MASTER_0);
I2C_MASTER_SendStop(&I2C_MASTER_0);
}
// configures the IMUs used for our project
static void configIMUs()
{
uint8_t config[2] = {ADDR_ACCEL_RANGE, 0b00000011};
I2C_MASTER_Transmit(&I2C_MASTER_0, true, IMU_ADDR, config, 2, true);
while(I2C_MASTER_IsTxBusy(&I2C_MASTER_0));
}
I have looked at the code example provided for the transmit function and I believe my implementation above does the same thing. Firstly, the start condition is sent, next the slave address, next the two bytes of data (first the register address and next the data to be written), and finally the stop condition.
Thanks in advance for any advice
Show LessI need two external interrupt in my project and want to use BUTTON1 (P1.14) and BUTTON2 (P1.15) on xmc4500 Relax Kit. I added PIN_INTERRUPT App to Dave CE 4 project. When I try to Manual Pin Allocator for it I see only BUTTON2 in the list. There is not BUTTON1. I checked user manual of xmc4500 and both pin (P1.14 and P1.15) has same Pad Type.
Thank you for your help.
Best regards,
Adem
Show Less
I know I'm not the only one who was having this issue; having to kill and re-launch DAVE to get it to load my project without locking up.
Recently the IT department changed my installed antivirus from Sophos to SentinelOne, and the freezing has gone away! Also my builds are faster.
Just putting it out there in case anyone is interested.
Show LessI have a SAK c167cs-32fm and use Memtool to read 256KB of flash program. However, I can not access eeprom flash. One thing I want to make sure about is that Memtool can read SAK micro's too, because in the target list there are only part numbers with SAB prefix and a suffix saying which STEP it is. Mine has no STEP and it is SAK. Can I still use Memtool 3?
I am very new to infineon MCU's and this one seems rather old. Sorry if my question sounds too simple.
Thank you. Show Less
Hello!
I encountered some problems.
I am trying to figure out how to transmit / receive data from/to a XMC2GO board through UART, using DMA Transmit Mode.I uploaded the UART DAVE APP and configured it as shown in the Usage section, then I tried changing the transmit mode to DMA, but I am not sure what I am supposed to change.
As you can see in the image attached, simply by modifying the UART App Settings you cannot change the transmit mode to DMA (you need to do it using GLOBAL_DMA app, as stated below).
I changed :
UART_0_config.transmit_mode = UART_TRANSFER_MODE_INTERRUPT,
UART_0_config.receive_mode = UART_TRANSFER_MODE_INTERRUPT,
However, I can see that I need to configure transmit_dma_config, receive_dma_config and GLOBAL_DMA_t * global_dma (structure definition that should be found in "GLOBAL_DMA/global_dma.h").
I don't have generated "GLOBAL_DMA/global_dma.h", so I tried to figure out what to do. I saw in the UART APP documentation that for DMA transmit mode I need to use the GLOBAL_DMA APP, but unfortunately it is not available for XMC2GO, although it has a XMC4200 integrated and the XMC4200 board has the GLOBAL_DMA APP available.
UART APP Documentation snippet :
If either transmit mode or receive mode is 'DMA', then the GLOBAL_DMA APP will be used for configuring the DMA interrupt node.
I succeded doing it using Interrupt Transmit Mode, but i need to do it using DMA.
Can you provide me an example for configuring UART DMA data transfer using an XMC2GO board?
Thank you so much!
I would like to change the MCU type of the DAVE project (created or imported).
If I open the project properties:
Menu->Project->Properties->C/C++ Build->MCU selection Page
all fields are deactivated and I can't change anything.
What is a problem or how can I solve it?
Thanks. Show Less
Using Dave Version: 4.5.0
In a previous discussion Cannot connect to http://download.eclipse.org/releases/neon/ Freanky asked about connecting to Eclipse Marketplace Client. To take the discussion a step further, I have tried the steps mentioned and can get the Marketplace client to appear on the menu. However, when I click that item I get the error detailed below. I have tried as many of the available remedies as I can, with no success. It appears that the marketplace client obtained from https://download.eclipse.org/releases/neon/201705151400/ requires a http connection while the eclipse site requires https and the two are incompatible. Is there a workaround, update, or anything that could get me access?
Extract of error log
eclipse.buildId=unknown
java.version=1.8.0_222
java.vendor=Amazon.com Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB
Framework arguments: -application com.ifx.davex.product.daveApplication -showlocation
Command-line arguments: -os win32 -ws win32 -arch x86_64 -application com.ifx.davex.product.daveApplication -showlocation
org.eclipse.epp.mpc.core
Error
Mon Nov 06 11:58:11 EET 2023
Cannot install remote marketplace locations: Cannot complete request to http://marketplace.eclipse.org/catalogs/api/p: HTTP Server Unknown HTTP Response Code (301):http://marketplace.eclipse.org/catalogs/api/p
...
Show Less