The application discloses a kind of based on the multi-functional
interaction control method of security
chip of UART communication, it belongs to
chip interaction control technical field, mainboard obtains the
security service to be executed, and based on the
security service to be executed from
instruction set matching corresponding command code, based on command code construction request frame, subsequently according to UART
service protocol, request frame is sent to security
chip by UART
serial port, mainboard obtains the response frame transmitted by security chip, and using buffer area is checked to response frame, if check passes, extract complete message in response frame, service analysis is carried out to complete message, and the corresponding service data is obtained.The application is communicated by UART
service protocol, and hardware wiring is simplified, corresponding command code is matched using
instruction set, to avoid the situation that
packet loss or analysis error occurs, ensure the stability of security operation, without specific security chip
signal, and a variety of mainstream security chip models can be adapted by UART
service protocol.