Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

L9966 Datasheet(PDF) 51 Page - STMicroelectronics

Part # L9966
Description  FlexInput IC for automotive applications
PDF  122 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

L9966 Datasheet(HTML) 51 Page - STMicroelectronics

Back Button L9966 Datasheet HTML 47Page - STMicroelectronics L9966 Datasheet HTML 48Page - STMicroelectronics L9966 Datasheet HTML 49Page - STMicroelectronics L9966 Datasheet HTML 50Page - STMicroelectronics L9966 Datasheet HTML 51Page - STMicroelectronics L9966 Datasheet HTML 52Page - STMicroelectronics L9966 Datasheet HTML 53Page - STMicroelectronics L9966 Datasheet HTML 54Page - STMicroelectronics L9966 Datasheet HTML 55Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 51 / 122 page
background image
13
SPI interface
For SPI communication an in-frame protocol is used. This means the complete SPI transmission is finished within
one CS low phase. The requested data is transmitted to the master in the same SPI frame. Furthermore, the SPI
interface offers a burst feature for read and write commands.
The SPI interface is designed to work up to a clock frequency (SCLK) of 10 MHz
13.1
SPI interface characteristics
1.
During active reset conditions the SPI is driven into its default state. When reset becomes inactive, the state
machine enters into a wait state for the next instruction. During active reset conditions the output MISO is
high impedance (HiZ).
2.
If the signal at CS is inactive (high), the state machine is forced to enter the wait state waiting for
instructions. CS is kept inactive when RST is active low.
3.
During active (low) state of the CS, the falling edge of the serial clock signal SCLK is used to latch the input
data at MOSI (this corresponds to MCU SPI peripheral configuration CPOL=0; CPHA=1). Output data at
MISO is driven with the rising edge of SCLK. Further processing of the data according to the instruction (i.e.
modification of internal registers) is triggered by the rising edge of the CS signal.
4.
Chip address: In order to support two L9966 working on a fully shared SPI bus, each frame has to contain
the chip address, reported on the two MSB of each instruction byte. To avoid a bus conflict the output MISO
remains at HiZ during the addressing phase of the frame: if the chip address does not match, the frame is
ignored and MISO remains HiZ, even in case the instruction bit should match a valid instruction. A frame
with not matching chip address is ignored and does not generate any Transfer Failure Message.
5.
Check byte: Simultaneously to the receipt of an SPI instruction the FlexInput transmits a check byte via the
output MISO to the controller. This byte indicates regular or irregular operation of the SPI. It contains an
initial fixed bit pattern and a flag indicating an eventual invalid instruction of the previous access.
6.
On a read access the data bit at the SPI input MOSI are rejected/ignored, but parity check is always
performed.
7.
Invalid access. An access is invalid, if one of the following conditions are fulfilled:
–
An unused/invalid instruction code is detected. An instruction code is not valid when its address doesn’t
exist.
–
In case the previous transmission was not completed (CS went inactive too early)
–
The parity bit of either MOSI instruction (PAR_MOSI_INST) or MOSI data (PAR_MOSI_DATA) frame is
wrong.
If an invalid instruction is detected, no modifications on registers of the FlexInput will be performed. In case
an unused instruction code occurred, the expected answer is collected with PAR_MISO_DATA = ‘1’ and all
data bit at 1; the resulting word, transmitted after having sent the check byte, is then 0xFFFF.
8.
In order to guarantee SPI proper operation, CS signal must remain de-asserted for at least tSPICS-high in
between two consecutive SPI accesses. During this time, the eventual SPI configuration/command becomes
effective and the L9966 gets ready for a new SPI exchange.
A write access is internally suppressed (i.e. internal registers will not be affected) in all cases where the number of
falling edges of SCLK applied to the SPI input is not equal to 32 at the rising (inactive) edge of CS (respectively
16*(m+1) clock pulses in burst mode, where m indicates the burst packets sent).
For each of the invalid access types reported above, a Transfer Failure bit (TRANS_F) is set and can be read on
MISO at next SPI transaction. On top of all the cases reported above, de-assertion of RST with CS asserted (low)
determines the setting of TRANS_F bit in first SPI frame.
In Figure 26. Write access (32 bits frame) and Figure 27. Read access (32 bits frame) are reported SPI frame
examples:
L9966
SPI interface
DS12459 - Rev 10
page 51/122



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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