| Electronic Components Datasheet Search |
|
STPM066S Datasheet(PDF) 26 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STPM066S Datasheet(HTML) 26 Page - STMicroelectronics |
|
26 / 67 page ![]() Figure 15. SPI diagram CSN shift sample data shifted out data updated CLK DO DI GAPG2306151214PS DO is sampled by the microcontroller on CLK falling edge, DI is sampled by STPM066S on CLK falling edge. In case of writing operation selected, internal register is updated at CSN rising edge. In the below figure SPI protocol is shown: • 1st Frame: Write Access on RW Register X → Register X is updated at the end of the frame. • After the update of register X, the data out shift register is updated too. • 2nd Frame: Read Access → Register X with data Y is shifted out on MISO. • Register X is not updated because the R/W bit is LOW. • The data out shift register is updated with the same data. Figure 16. SPI protocol diagram CSN R/W = 1 R/W = 0 register X updated with data Y Register X shifted out (data Y) Write register X, data Y Data out to be shifted out updated CLK DO DI GAPG2306151521PS CSN CLK DO DI To detect frame losses/non-refreshment, Bit21 of DI frame must have opposite values in sequential frames. If a static fault (stuck-at) or cross-talk occurs, the communication data received would not pass the CRC check and will be discarded: FAULT pin is asserted. If SPI communication has some errors (no matter to which register), the write in data is discarded. In the next SPI communication, DO will automatically read out 0x1D register address and data-in order to give details on SPI error. Table 9. Input CSN Symbol Parameter Test condition Min. Typ. Max. Unit VCSNLOW Input voltage low level Normal mode – – 1 V VCSNHIGH Input voltage high level Normal mode 2.3 – – V VCSNHYS VCSNHIGH - VCSNLOW Normal mode 0.2 0.4 – V ICSNPU Internal pull up resistor Normal mode – 800 – kΩ STPM066S SPI format and register mapping DS12976 - Rev 2 page 26/67 |
|
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 |