Hi all, I tried to send data to an low end MCU though UART, and added a UART thread and framework- connectivity- Communications Framework on sf_uart_comms for this thread on DK S7-G2 with SSP1.1.0 But when the program runs to g_sf_comms1.p_api- write function /**********************************************************************************************************************/ static uint8_t motor_control_cmd; ssp_err_t err; /* send command */ motor_control_cmd = 0x4A; err = g_sf_comms1.p_api- write(g_sf_comms1.p_ctrl,(uint8_t * const)&motor_control_cmd,1,TX_NO_WAIT); if (SSP_SUCCESS != err) { while(1); } /**********************************************************************************************************************/ the value of err is SSP_ERR_INTERNAL, what's the meaning for that and how to solve this problem? Or is there some thing wrong for my configuration? (below is my whole project as reference) Looking forward to your reply, thanks : ) (Please visit the site to view this file)
↧