| 数据搜索系统,热门电子元器件搜索 |
|
STPM10 数据表(PDF) 33 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STPM10 数据表(HTML) 33 Page - STMicroelectronics |
|
33 / 47 page ![]() STPM10 Theory of operation DocID17728 Rev 5 33/47 All time intervals must be longer than 30 ns. t7 → t8 is the reset time; this interval must be longer than 30 ns as well. 7.21 Reading data records A microcontroller is able to read all measurement results and all system signals (configuration, calibration, status, mode). As already written above, the time step can be as short as 30 ns. There are two phases of reading, called latching and shifting. Latching is used to sample results into transmission latches. The transmission latches are the flip-flops that hold the data in the SPI interface. This happens with the active pulse on SYN when SCS is idle. The length of the pulse on SYN must be longer than 2 periods of the measurement clock, i.e. more than 500 ns at 4 MHz. The shifting starts when SCS becomes active. At the beginning of this phase, another pulse, much shorter, (30 ns), should be applied on SYN so to ensure that an internal transmission serial clock counter is reset to zero. An alternative way is to extend the pulse on SYN into the second phase of reading. After this reset, a 32 serial clock-per-data record should be applied. It is possible to read up to 8 data records in this way. This procedure can be aborted at any time through deactivation of SCS (see Figure 24: "Timing for data record reading" ). The first read-out byte of the data record is the least significant byte (LSB) of the data value and, of course, the fourth byte is the most significant byte (MSB) of the data value. Each byte can be further divided into a pair of 4-bit nibbles, referred to the most and the least significant nibble ( MSN, LSN). This division makes sense with the MSB of the data value because its MSN holds the parity code rather than useful data. The sequence of the data record during the read operation is fixed. Normally, an application reads the 1st through the 6th data record; the 7th and 8th data record are read only when it needs to fetch the configuration data. However, an application may apply a pre-charge command (see Table 12: "Mode signal description") prior to the reading phase. This command forces the device to respond with the sequence 5th - 8th, 1st - 4th. Such a change of sequence can be used to skip the first four data records. The timing diagram of the reading operation is shown in Figure 24: "Timing for data record reading". User can see the latching and beginning of the shifting phase of the first byte (0x5F) of the first data record, and the end of reading. Also, both of alternatives to reset the internal transmission serial clock counter are shown in signal SYN. Figure 23: Data record reconstruction |
|
链接网址 |
| 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 |