xmc2go UART problem in Dave3

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

cross mob
User10473
Level 1
Level 1
Hi. I'm really glad to start dealing with xmc2go kit.
I'm following basic steps with some examples that is provided, to get used to it.
but in UART steps, I couldn't step up anymore.

I've followed with the very simple code:

#include
int main(void)
{
uint32_t status = 0;
uint8_t data[] = "H E L L O W O R L D";

DAVE_Init();
/* Send hello world to PC hyper terminal */
status = UART001_WriteDataMultiple(&UART001_Handle0, (uint16_t*)&data, (uint32_t)sizeof(data)/2);
if(status == 11)
{
/* data transmitted */

}
while(1);
return 0;
}

with dave 3( sorry it's not 4)

and I've corresponded the baud rate and all other things, and followed the steps in the manual.
But there's no any letters popping up in Teraterm.(I use Teraterm)

Please let me know what the problem is and if there's not enough information, please comment.
Thank you.
0 Likes
1 Reply
User10473
Level 1
Level 1
Sorry I made it.
I didn't set the TX pin to P2.1.
It was an easy and simple mistake but important.
I will not delete this post for someone who get in trouble with this same situation someday.
Thank you.
0 Likes