| Electronic Components Datasheet Search |
|
33970 Datasheet(PDF) 13 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
33970 Datasheet(HTML) 13 Page - Freescale Semiconductor, Inc |
|
13 / 36 page ![]() Analog Integrated Circuit Device Data Freescale Semiconductor 13 33970 FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS DATA INPUT The Input Shift register captures data at the falling edge of the SCLK clock. The SCLK clock pulses exactly 16 times only inside the transmission windows (CS in a logic [0] state). By the time the CS signal goes to logic [1] again, the contents of the Input Shift register are transferred to the appropriate internal register, to the address contained in bits 15:13. The minimum time CS should be kept high depends on the internal clock speed. That data is specified in the SPI INTERFACE TIMING section of the Static Electrical Characteristics, which is found on page 7. It must be long enough so the internal clock is able to capture the data from the Input Shift register and transfer it to the internal registers. DATA OUTPUT At the first rising edge of the SCLK clock, with the CS at logic [0], the contents of the selected Status Word register are transferred to the Output Shift register. The first 16 bits clocked out are the status bits. If data continues to clock in before the CS transitions to a logic [1], the device begins to shift out the data previously clocked in FIFO after the CS first transitioned to logic [0]. COMMUNICATION MEMORY MAPS AND REGISTER DESCRIPTIONS The 33970 device is capable of interfacing directly with a microcontroller via the 16-bit SPI protocol described and specified below. The device is controlled by the microprocessor and reports back status information via the SPI. This section provides a detailed description of all registers accessible via serial interface. The various registers control the behavior of this device. A message is transmitted by the master beginning with the MSB (D15) and ending with the LSB (D0). Multiple messages can be transmitted in succession to accommodate those applications where daisy chaining is desirable, or to confirm transmitted data, as long as the messages are all multiples of 16 bits. Data is transferred through daisy-chained devices, as illustrated in Figure 7, page 12. If an attempt is made to latch in a message smaller than 16 bits wide, it is ignored. The 33970 uses six registers to configure the device, control the state of the four H-bridge outputs, and determine the type of status information that is clocked back to the master. The registers are addressed via D15:D13 of the incoming SPI word (refer to Table 6). MODULE MEMORY MAP Various registers of the 33970 SPI module are addressed by the three MSBs of the 16-bit word received serially. Functions to be controlled include: • Individual gauge drive enabling • Power-up/down • Internal clock calibration • Gauge pointer position and velocity • Gauge pointer zeroing • Air core motor movement emulation • Status information Status reporting includes: • Individual gauge overtemperature condition • Battery overvoltage • Battery undervoltage • Pointer zeroing status • Internal clock status • Confirmation of coil output changes that should result in pointer movement • Real time pointer position information • Real time pointer velocity step information • Pointer movement direction • Command pointer position status • RTZ accumulator value Table 6 provides the registers available to control the above functions. REGISTER DESCRIPTIONS The following section describes the registers, their addresses, and their impact on device operation. Address 000—Power, Enable, Calibration, and Configuration Register (PECCR) The Power, Enable, Calibration, and Configuration Register is illustrated in Table 7, page 14. A write to the 33970 using this register allows the master to (1) independently enable or disable the output drivers of the two-gauge controllers, (2) calibrate the internal clock, (3) disable the air core emulation, (4) select the direction of the pointer movement during pointer positioning and zeroing, (5) configure the device for the desired status information to be clocked out into the SO pin, or (6) send a null command for the purpose of reading the status bits. This register is also used to place the 33970 into a low current consumption mode. Each of the gauge drivers can be enabled by writing a logic [1] to their assigned address bits, PE0 and PE1 respectively. This feature could be used to disable a driver if Table 6. Module Memory Map Address [15:13] Register Name See Page 000 Power, Enable, Calibration, and Configuration Register PECCR Page 13 001 Maximum Velocity Register VELR Page 15 010 Gauge 0 Position Register POS0R Page 15 011 Gauge 1 Position Register POS1R Page 15 100 Gauge Return to 0 Register RTZR Page 16 101 Gauge Return to 0 Configuration Register RTZCR Page 17 110 Not Used – – 111 Reserved for Test – – |
|
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 |