| Electronic Components Datasheet Search |
|
BQ76PL455APFCT Datasheet(PDF) 55 Page - Texas Instruments |
|
|
|
|||||||||||||||||||||||||||||
BQ76PL455APFCT Datasheet(HTML) 55 Page - Texas Instruments |
|
55 / 125 page ![]() 55 bq76PL455A www.ti.com SLUSCL0A – SEPTEMBER 2016 – REVISED OCTOBER 2016 Product Folder Links: bq76PL455A Submit Documentation Feedback Copyright © 2016, Texas Instruments Incorporated Table 6. Command, Channel Selection, and Averaging Selection Example (continued) 7 6 5 4 3 2 1 0 Data (Channel Select LSB) 00 Data (Averaging Select) 7B CRC (MSB) 3D CRC (LSB) 86 Notice that the DATA_SIZE field in the Frame Initialization byte is 6 (b'110). This means this Command Frame contains six data bytes. The first data byte contains the Command for the Command Register (in this case 00). The second through fifth data bytes contain the channel selection data, which the bq76PL455A device writes to the Channel Select Register as part of this command. The sixth data byte contains the averaging configuration data, which the device writes to the Averaging Register as part of this command. For more details on register usage, refer to Register Details for details. The expected response frame to this example command frame would contain 43 bytes: one Frame Initialization byte, 40 data bytes (two bytes for each of the twenty selected channels), and two CRC bytes. The content of the Channel Select Register and the Averaging Register will change. Resulting register content will be as follows: 1. Content of Channel Select Register after command: FFFF0F00 2. Content of Averaging Register after command: 7B 7.5.3.1.2 Single Device Write with Response to Register(s) Other than Command Register The value of the DATA_SIZE field in the Framing Initialization byte for this case is typically 001 (1 byte). The interpretation of this value will be as the number of expected data bytes in the response frame minus one. For instance, if the expectation were to be to read the four bytes contained in the Channel Select Register, the data byte would contain 03 (four minus one). Two examples follow. All examples in this section target the device at Device Address 00, which is typically the address of a single device or the address of the lowest device in a stack of devices. 7.5.3.1.2.1 Requesting Four Bytes of Data from a Single Register This command example requests four bytes of data, all from a single register. In the case of this example, the four bytes will come from the Channel Select Register at address 3–6. The most-significant byte of the four-byte register will be the first data byte in the response frame. 7 6 5 4 3 2 1 0 Command Frame Init 1 000 (binary) 0 001 (binary) Device Address 00 Register Address 03 Data (Desired Number of Bytes – 1) 03 CRC (MSB) 68 CRC (LSB) CD Notice that the DATA_SIZE field in the Frame Initialization byte is 001. This means this Command Frame contains one data byte. This data byte contains the desired number of response bytes minus one. The response frame will contain seven bytes: one Frame Initialization byte, four data bytes, and two CRC bytes. 7.5.3.1.2.2 Requesting Multiple Bytes across Register Boundaries It is possible to request data from multiple registers across register boundaries. When performing this type of read, Reserved Register Addresses can also be in the block of registers being read. Reads of Reserved Register Addresses will always return zero and one must count these bytes in the requested number of data bytes. In this example, the request is for the data from three registers [the Channel Select Register (address 3–6), Averaging Register (address 7), and Device Address Register (address 10)]. These registers contain six bytes of data; however, two Reserved Register Addresses (addresses 8 and 9) lie between the Averaging Register (address 7) and the Device Address Register (address 10), so the request must be for eight bytes of data. |
|
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 |