XMC™ Forum Discussions
Hi,
I use the XMC4300 development board, DAC_Sina_Wave this routine, I let it output the simplest sine wave, DAC channel one configuration and writing is exactly the same as DAC channel zero, why the output on the oscilloscope is not the same?
Best Regards
Show Less
Hi,
I'd like to use one clock Output from the XMC4800 to connect 4 Modulators for 4 DS channels.
How can I configure DS_ADC_DEMOD to be sure all Demodulators are triggered by the same clock ?
Or is it required to feedback this clock output to the clock input pins of the other 3 Demodulators ?
Thank you in advance!
Hello Community,
The download link for the BME280 Sensor library for DAVE is broken.
https://www.infineon.com/dgm/Infineon-BME280-Sensor-Library-for-DAVE-IDE-SW-IM00513399/
Can someone please share the DAVE sensor library for BME280? Google search for a github site is not yielding results.
I am working with the XMC1302
Thanks
Show Less
Hi,
I use the xmc7200 development board and use the IO port to simulate the SPI driver screen. Why does my screen have no reaction? Is there something wrong with my writing?
Best Regards
Show LessFirst 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_ptr[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_EVENT_ALERT);
} Show Less
Hello
I am new to XMC world. I am using XMC4400 Platform2Go for Arduino.
Per my understanding, there are 4 VADC modules in this device.
I tried to add ADC_MEASUREMENT App using APP tree to assign 4 analog pins to 4 individual module so that these signals cannot sample at same time instance instead of in sequence.
First adding the app, it is ok. However, I added a second app. Dave prompts an error message, its meaning that I cannot add more than one app. I can couple of question as below.
1. How to configure ADC_MEASUREMENT app use which VADC modules?
2. How to add the app more than one?
3. If #2 is impossible, any suggestion to start these four analog sample at same time instance.
Thanks
Show LessI have KIT_XMC11_BOOT_001 and try I2C using temperature sensor.
At first I would like to check I2C application's method is working correctly.
But it doesn't work, i mean when probe SDA, SCL there is no signal output.
and fall in loop line 44.
what i missed?
Show Less
/*
* main.c
*
* Created on: 2021 Sep 29 14:27:58
* Author: A
*/
#include//Declarations from DAVE Code Generation (includes SFR declaration)
/**
* @brief main() - Application entry point
*
* Details of function
* This routine is the application entry point. It is invoked by the device startup code. It is responsible for
* invoking the APP initialization dispatcher routine - DAVE_Init() and hosting the place-holder for user application
* code.
*/
uint8_t buffer[1] = {0x0B};
int main(void)
{
DAVE_STATUS_t status;
status = DAVE_Init(); /* Initialization of DAVE APPs */
if(status != DAVE_STATUS_SUCCESS)
{
/* Placeholder for error handler code. The while loop below can be replaced with an user error handler. */
XMC_DEBUG("DAVE APPs initialization failed\n");
while(1U)
{
}
}
/* Placeholder for user application code. The while loop below can be replaced with user application code. */
while(1U)
{
I2C_MASTER_Transmit(&I2C_MASTER_0, true, 0x90, buffer, 1, true);
while(I2C_MASTER_IsTxBusy(&I2C_MASTER_0)) {};
}
}
Hello,
I am having an issue with the USIC0 SRAM Parity checker.
I enable the USIC0 SRAM Parity error reset at startup with the following command:
Hello all!
I have an XMC7000 dev kit and I am trying to get the CAN bus up and running.
I have a PEAK Can dongle and I am trying to snoop the traffic from some of the CAN examples.
I am wondering if someone can help me understand the mtb-example-pdl-xmc7000-canfd example?
I can't seem to figure out where the baud rate is set.
Show LessHi,
When ADC collects data through multiple channels, the data collected by one channel is 4095, and the data collected by the next channel will also increase. Why?
Best Regards
Show Less