| 전자부품 데이터시트 검색엔진 |
|
MAXQ3181-RAN+ 데이터시트(PDF) 22 Page - Maxim Integrated Products |
|
|
|||||||||||||||||||||||||||||
MAXQ3181-RAN+ 데이터시트(HTML) 22 Page - Maxim Integrated Products |
|
22 / 84 page ![]() Low-Power, Active Energy, Polyphase AFE 22 ______________________________________________________________________________________ The length of the transfer is defined by the first com- mand byte and the status of the CRCEN bit in the OPMODE1 register. There is no special synchronization mechanism provided in this simple protocol. Therefore, the master is responsible for sending/receiving the cor- rect number of bytes. If the master mistakenly sends more bytes than are required by the current command, the extra bytes are either ignored (if the MAXQ3181 is busy processing the previous command) or are inter- preted as the beginning of a new command. If the mas- ter sends fewer bytes than are required by the current command, the MAXQ3181 waits for SPI timeout, then drops the transaction and resets the communication channel. The duration of the timeout can be configured through the COM_TIMO register. Figures 5 and 6 show typical 2-byte reading and writing transfers (without CRC byte). Host Software Design Individual message bytes sent through the SPI are processed in a software routine contained in the ROM firmware. For this reason, it is necessary to provide a delay between successive bytes. This byte spacing must be no less than 400 system clocks to ensure that the MAXQ3181 has a chance to read and process the byte before the arrival of the next one. It is strongly rec- ommended that CRC be enabled for both read and write to achieve reliable communications. Register Set Data and device command and control information are located in internal registers. Registers range from 8 to 64 bits in length and are divided into RAM-based regis- ters and virtual registers. The RAM-based registers contain both operating parameters and measurement results. SSEL SCLK MOSI MISO READING DATA FROM MAXQ3181 THROUGH SPI INTERFACE 00 01 ADDRESS DUMMY DUMMY DUMMY DUMMY 0xC1 0xC2 NACK (0x4E) DATA LSB DATA MSB ACK (0x41) SSEL SCLK MOSI MISO 10 01 ADDRESS DUMMY DUMMY 0xC1 0xC2 ACK (0x41) NACK (0x4E) ACK (0x41) ACK (0x41) WRITING DATA TO MAXQ3181 THROUGH SPI INTERFACE DATA LSB DATA MSB Figure 6. Write SPI Transfer Figure 5. Read SPI Transfer |
|
링크 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 |