| Electronic Components Datasheet Search |
|
AS5170 Datasheet(PDF) 17 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
AS5170 Datasheet(HTML) 17 Page - ams AG |
|
17 / 47 page ![]() ams Datasheet Page 17 [v1-01] 2016-Apr-11 Document Feedback AS5170 − Register Description UART Interface The AS5170 is equipped with a UART interface, which allows reading and writing the registers as well as permanently programming the non-volatile memory (OTP). By default (factory setting) the AS5170 is in the so-called Communication Mode and the UART is connected at the output pin (OUT). In this mode, it is possible to configure the register settings. In this mode, the device is in open-drain mode and therefore a pull-up resistor has to be connected on the output. The UART interface allows reading and writing two consecutive addresses. The standard UART sequence consists of four frames. Each frame begins with a start bit (START), which is followed by 8 data bits (D[0:7]), one parity bit (PAR), and a stop bit (STOP), as shown in Figure 19. Figure 19: UART Frame The PAR bit is even parity calculated over the data bits (D[0:7]). Each frame is transferred from LSB to MSB. The four frames are shown in Figure 20. Figure 20: UART Frame Sequence The first frame is the synchronization frame and consists of D[0:7] = 0x55 followed by the parity bit (PAR=0) and the stop bit. This frame synchronizes the baud rate between the AS5170 and the host microcontroller. The second frame contains the read/write command (D[7] = 0 Write, D[7] = 1 Read) and the address of the register (D[6:0] = ADDRESS). The content of the third and fourth frames (DATA1 and DATA2) will be written to or read from the location specified by ADDRESS and ADDRESS+1, respectively. Frame Number D[7] D[6] D[5] D[4] D[3] D[2] D[1] D[0] 1 0x55 2 R/W ADDRESS 3 DATA1 4 DATA2 START D[0]D[1]D[2] D[3] D[4]D[5]D[6] D[7] PAR STOP |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |