I need some help, I have spent 2 months trying to receive data with SCI.
I can send data with printf() redirecting to STDOUT, But I can't receive data using scanf() redirecting to STDIN
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I need some help, I have spent 2 months trying to receive data with SCI.
I can send data with printf() redirecting to STDOUT, But I can't receive data using scanf() redirecting to STDIN
I thought it only works with redirecting the stdout and stdin but I make it work with.
GPIO_SetupPinMux(85, GPIO_MUX_CPU1, 5);
GPIO_SetupPinOptions(85, GPIO_INPUT, GPIO_PUSHPULL);
GPIO_SetupPinMux(84, GPIO_MUX_CPU1, 5);
GPIO_SetupPinOptions(84, GPIO_OUTPUT, GPIO_ASYNC);