AS5050
Datasheet - Detailed Description
CLEAR ERROR FLAG Command. The CLEAR ERROR FLAG command is implemented as READ command. This command clears the
ERROR FLAG which is contained in every READ frame. The READ data are 0x0000, which indicates a successful clear command.
Figure 7. CLEAR ERROR FLAG Command
TCOM
MSB
LSB
MSB
LSB
MOSI
MISO
CLEAR ERROR
FLAG
Next command
Response-1
0x 0000
MSB
LSB
MSB
LSB
Transmission N
Transmission N +1
The package necessary to perform a CLEAR ERROR FLAG is built up as follows.
Table 10. CLEAR ERROR FLAG Command
Bit
MSB
14
13
12
11
10
9
8
7
6
5
4
3
2
1
LSB
PAR
PAR
1
1
1
0
0
1
1
1
0
0
0
0
0
0
0
CLEAR ERROR FLAG command
Possible conditions which force the ERROR FLAG to be set:
Wrong parity
Wrong command
Wrong number of clocks (no full transmission cycle or too many clocks)
Note: If the error flag is set to high because of a communication problem the flag remains set until it will be cleared by an external command.
www.ams.com/AS5050
Revision 1.16
11 - 25