| Electronic Components Datasheet Search |
|
AN2512 Datasheet(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2512 Datasheet(HTML) 13 Page - STMicroelectronics |
|
13 / 38 page ![]() AN2512 Power calculation algorithm 13/38 3 Power calculation algorithm 3.1 STPM01 SPI Interface The STPM01 SPI interface supports a simple serial protocol, which is implemented in order to enable communication between a host system (microcontroller or PC) and the device. Three tasks can be performed with this interface: ● Remote resetting the device ● Reading data records ● Writing the Mode bits and the configuration bits (temporarily or permanently). Four pins of the device are dedicated to this purpose: SCS, SYN, SCL, and SDA. SCS, SYN and SCL are all input pins while SDA can be input or output according to whether the SPI is in write or read mode. The condition under which SCS, SYN and SCL inputs are set to high level determines the idle state of the SPI interface and no data transfer occurs. ● SCS: enables SPI operation when low. The microcontroller uses this pin to multiplex the reading of the three devices. ● SYN: when SCS is low, the SYN pin status selects whether the SPI is in read (SYN=1) or write mode (SYN=0). When SCS is high and SYN is also high, the results of the input or output data are transferred to the transmission latches. ● SCL: is the clock pin of the SPI interface. This pin function is also controlled by the SCS status. If SCS is low, SCL is the input of serial bit synchronization clock signal. When SCS is high, SCL is also high determining the idle state of the SPI. ● SDA: is the Data pin. If SCS is low, the operation of SDA is dependent on the status of SYN pin. If SYN is high, SDA is the output of serial bit data (read mode). If SYN is low, SDA is the input of serial bit data signal (write mode). If SCS is high, SDA is idle. Table 3. J1 connector pin description Pin no. Pin name Functional description 1. VOTP Power supply Input of +15.0 V during permanent write to OTP cells 2. --- NC 3. GND Signal reference level 0V and power supply return 4. SDA SPI Interface Data Signal 5. SCS SPI Enable Signal 6. SCL SPI Interface Clock Signal 7. --- NC 8. SYN SPI Interface Signal 9. --- NC 10. VDD Power Out of +3.3 V Up to 100 mA can be drawn from this pin |
|
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 |