| 数据搜索系统,热门电子元器件搜索 |
|
AS3977 数据表(PDF) 21 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
AS3977 数据表(HTML) 21 Page - ams AG |
|
21 / 47 page ![]() www.austriamicrosystems.com/AS3977 Revision 3.6 21 - 47 AS3977 Data Sheet - A p p l i c a t i o n I n f o r m a t i o n 9.2.1 Configuration Diagram The interface has one clock signal for the external µC and the SDI input clock. As the MCCLK line can be used to clock the SDI Interface as well as must have a high impedance pin during the clocking phase of the microcontroller, the Pin must be bi-directional. The pad behavior is selected by configuration bits and by setting the SDI DATA-IO Line of the SDI interface when leaving PD. Possible configurations between the interface and the µC are done using 4 wires as shown in Figure 7. MCCLK is simply connected to the micro controller and can be used to clock a timer or interrupt logic. Figure 7. Configuration Diagram A connection using a set of three wires is required to implement the SDI protocol. ENABLE signal is used to activate the interface and to wake up the whole IC. In addition, the rising edge of the ENABLE after power down mode is used to set the starting point of the communication protocol. CLK represents the SDI clock and both edges can be used for data transfer, dependable on the configuration after wake-up. DATAIO is a bi-directional signal that goes from microcontroller to the Interface during write and transmit-commands, while it is in the other direction when the interface is sending data read from the micro controller. The interface supports the following functionality for the micro controller clock output (MCCLK). MCCLK can be inactive (MCCLK level not defined), always active after start-up (MCCLK is clocking) or clocking only during transmit. It is possible to configure and to maintain MCCLK settings (even when leaving PD). Maximum frequency is specified to fXOSC (by using the prescaler output with a division ratio of 1, PSC=0). Minimum frequency is fXOSC / 65280 (by using the baud rate generator output with prescaler division ratio of 128 and timer counter value of 255). The rising edge of ENABLE after a Power Down Mode selects the transfer edge of the SDI-CLK by sampling the SDI clock value itself. This configuration will be valid until the next PD. Each bit must be transferred and sampled according to the configured edges. For example, if at the first rising edge of SDI enable SDI clock is LOW, then each bit is transferred from the microcontroller on the rising edge of SDI clock and it is sampled from AS3977 on falling edge of the SDI clock. This is valid for read as well as for write commands. During the first byte of the WRITE command communication (command and address), the SDI master drives each new data bit on the transfer active edge and the SDI slave samples it on the next opposite edge. This protocol will be valid until the last data bit has been written to the external registers. Data’ are transferred to the registers byte by byte after sampling of the last bit. It is not necessary to enter the PD mode for reset the Interface. The rising edge of SDI-ENABLE signal starts the communication. When the command is READ, a direction change on the SDI data wire will be done. This change has to be performed synchronously on SDI master and slave side, however, the master always provide the SDI clock. After sampling the last addressed bit, the SDI slave pin becomes active on the following SDI clock edge and the first readable bit read is transferred from SDI slave to the master. In any case, the SDI master has to reset the SDI interface on the last bit of the data in order to stop the communication by applying an Enable LOW pulse (duration: min > 1 SDI CLK cycle, max: < 1/fcrystal * 2 16). MCCLK ENABLE CLK DATAIO µC AS3977 |
|
链接网址 |
| 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 |