Other Parts Discussed in Thread: C2000WARE
hello my friends....
my project is LAUNCHXL-F28379D example sci_echoback_cpu01 in the control sute
but this project is not working
this project scia setting
GPIO_SetupPinMux(28, GPIO_MUX_CPU1, 1);
GPIO_SetupPinOptions(28, GPIO_INPUT, GPIO_PUSHPULL);
GPIO_SetupPinMux(29, GPIO_MUX_CPU1, 1);
GPIO_SetupPinOptions(29, GPIO_OUTPUT, GPIO_ASYNC);
i use scib and i change this code
GPIO_SetupPinMux(19, GPIO_MUX_CPU1, 2);
GPIO_SetupPinOptions(19, GPIO_INPUT, GPIO_PUSHPULL);
GPIO_SetupPinMux(18, GPIO_MUX_CPU1, 2);
GPIO_SetupPinOptions(18, GPIO_OUTPUT, GPIO_ASYNC);
I just changed this part and I did not change the rest.
I checked the transmission data through the serial communication program and the characters are broken.
I did not receive it and checked it in debugging mode.
// Wait for inc character
while(SciaRegs.SCIFFRX.bit.RXFFST == 0) { } // wait for XRDY =1 for empty state
There was an infinite wait here.
I do not know what the problem is. Please ask if anyone knows about this problem.