| Electronic Components Datasheet Search |
|
AN3254 Datasheet(PDF) 7 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3254 Datasheet(HTML) 7 Page - STMicroelectronics |
|
7 / 24 page ![]() AN3254 SPI operations Doc ID 17783 Rev 1 7/24 For example, to set the STPMC1 configuration bit 47 (part of the R-phase current channel calibrator) to 1, the decimal 47 must be converted to its 7-bit binary value: 0101111. The byte command is then composed as: 1 bit DATA value+7 bits address = 10101111 (0xAF) The same procedure should be applied for the mode signals, which also have their specific address. The LSB of the command is also called EXE bit because, instead of a data bit value, the corresponding serial clock pulse is used to generate the necessary latching signal. In this way, the writing mechanism does not need the measurement clock in order to operate, which makes the operation of the SPI module of the STPMC1 completely independent from the rest of the device logic, except from the signal POR. The writing procedure timing is shown in Figure 3. t1 →t2 (> 30 ns): SPI out of idle state t2 →t3 (> 30 ns): SPI enabled for write operation t3: data value is placed in SDA t4: SDA value is stable and shifted into the device t3 →t5 (> 10 µs): writing clock period t3 →t5: 1-bit data value t5 →t6: 6-bit address of the destination latch t6 →t7: 1-bit EXE command t8: end of SPI writing t9: SPI enters idle state Figure 3. Timing for writing configuration bits and mode signals t 2 t 1 t 4 t 3 t 6 t 5 t 8 t 7 t 9 SDA SCL SYN SCS |
|
|
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 |