UART XMC 4500 problem

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi, I working with XMC 4500 Relax lite, i want to send ADC conversion from XMC 4500 to XMC 2Go.
But XMC 4500 only send first data, witch in my code is spare[0]=0xFF
data[chA] is my ADC result.

Can somebody help me?
i using Dave 3.1.8


UART001_WriteData(UART001_Handle1,spare[0]);
UART001_WriteData(UART001_Handle1,chA);

for(i=0;i<3;i++)
{
UART001_WriteData(UART001_Handle1,data[chA]);

}

UART001_WriteData(UART001_Handle1,spare[0]);
UART001_WriteData(UART001_Handle1,chB);

for(i=0;i<3;i++)
{
UART001_WriteData(UART001_Handle1,data[chB]);

}
0 Likes
1 Reply
lock attach
Attachments are accessible only for community members.
Travis
Employee
Employee
First solution authored Welcome! 500 replies posted
Hi Chepz,

First can you upgrade to DAVE4 and give this example a try?


Best Regards
Travis
0 Likes