| 전자부품 데이터시트 검색엔진 |
|
AMC131M01DFMR 데이터시트(PDF) 44 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
AMC131M01DFMR 데이터시트(HTML) 44 Page - Texas Instruments |
|
44 / 81 page ![]() 8.5.3.8 WREG (011a aaaa annn nnnn) The WREG command allows writing an arbitrary number of contiguous device registers. The binary format of the command word is 011a aaaa annn nnnn, where a aaaa a is the binary address of the register to begin writing and nnn nnnn is the unsigned binary number of consecutive registers to write minus one. Send the data to be written immediately following the command word. Write the intended contents of each register into individual words, MSB aligned. If the input CRC is enabled, write this CRC after the register data. The registers are written to the device as they are shifted into DIN. Therefore, a CRC error does not prevent an erroneous value from being written to a register. An input CRC error during a WREG command sets the CRC_ERR bit in the STATUS register. The device ignores writes to read-only registers or to out-of-bounds addresses. Gaps in the register map address space are still included in the parameter nnn nnnn, but are not writeable so no change is made to them. The response to the WREG command that occurs in the following frame appears as 010a aaaa ammm mmmm, where mmm mmmm is the number of registers actually written minus one. This number can be checked by the host against nnn nnnn to make sure the expected number of registers are written. Figure 8-24 shows a typical WREG sequence. In this example, the number of registers to write is larger than one and, therefore, the frame is extended beyond the ADC data word and output CRC word. Make sure all ADC data and output CRC are shifted out during each transaction where new data are available. DRDY CS SCLK DIN DOUT Channel 0 Data CRC Response Hi-Z Don’t Care Channel 0 Data Response WREG 1 st register’s data Command CRC 2 nd register’s data 3 rd register’s data 4 th register’s data 5 th register’s data N-1 th register’s data N th register’s data CRC Hi-Z Figure 8-24. Writing Registers 8.5.4 ADC Output Buffer and FIFO Buffer As shown in Figure 8-25, the AMC131M01 has two internal data buffers holding conversion data: an ADC output buffer and a FIFO buffer. Each buffer can only hold one conversion result at a time. The data output on DOUT is always from the FIFO buffer. ADC Output Buffer ADC Data ADC FIFO Buffer ADC Data ADC Data DRDYx To SPI Figure 8-25. ADC Data Output Buffer Structure Whenever the ADC generates new conversion data, the ADC output buffer is updated immediately with the new data. However, updating the FIFO buffer depends on the previous conversion data retrieval by the host. There are three scenarios: • If conversion data (N) stored in the FIFO buffer has already been read by the host at the time that new conversion data (N+1) become available, then the FIFO buffer is updated with the new conversion data (N+1). In this case, data in both the ADC output buffer and the FIFO buffer are updated at the same time (that is, both buffers now hold the same conversion data N+1). AMC131M01 SBASA57 – SEPTEMBER 2023 www.ti.com 44 Submit Document Feedback Copyright © 2023 Texas Instruments Incorporated Product Folder Links: AMC131M01 |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |