-
公开(公告)号:WO2021244934A1
公开(公告)日:2021-12-09
申请号:PCT/EP2021/064181
申请日:2021-05-27
Inventor: GORBOLD, Jeremy , COSGRAVE, Gavin , LAKKUR, Gautham
Abstract: A serial interface, such as a serial peripheral interface (SPI), with improved diagnostic coverage is disclosed. The serial interface includes a data verification module that selects an error detection value in response to a mode signal indicating if the transmitting device is in user mode or test mode. For example, the data verification module computes a cyclic redundancy check (CRC) value and selects either the computed CRC value or its inverse based on the mode. The receiving device can determine the mode of the transmitting device based on the error detection value used. The serial interface further includes a read detector for clearing the transmit data buffer after data is read out. The serial interface may further include a loopback circuit for verifying that the data output from an output pin matches the data from the transmit data buffer.