Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

ORSPI4 Datasheet(PDF) 59 Page - Lattice Semiconductor

Part # ORSPI4
Description  Dual SPI4 Interface and High-Speed SERDES FPSC
PDF  263 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  LATTICE [Lattice Semiconductor]
Direct Link  http://www.latticesemi.com
Logo LATTICE - Lattice Semiconductor

ORSPI4 Datasheet(HTML) 59 Page - Lattice Semiconductor

Back Button ORSPI4 Datasheet HTML 55Page - Lattice Semiconductor ORSPI4 Datasheet HTML 56Page - Lattice Semiconductor ORSPI4 Datasheet HTML 57Page - Lattice Semiconductor ORSPI4 Datasheet HTML 58Page - Lattice Semiconductor ORSPI4 Datasheet HTML 59Page - Lattice Semiconductor ORSPI4 Datasheet HTML 60Page - Lattice Semiconductor ORSPI4 Datasheet HTML 61Page - Lattice Semiconductor ORSPI4 Datasheet HTML 62Page - Lattice Semiconductor ORSPI4 Datasheet HTML 63Page - Lattice Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 59 / 263 page
background image
Lattice Semiconductor
ORCA ORSPI4 Data Sheet
59
2. It is recommended that BURST_VAL for all ports be set to the same value equal to (data_burst_value/16). For
example, for a data burst requirement of 64 bytes, all port BURST_VAL should be set to 4. For a data burst require-
ment of 128 bytes, all port BURST_VAL should be set to 8. A maximum BURST_VAL of 15 will support a data burst
of 240 bytes. Having a common BURST_VAL for all ports simplifies design of the sequencer needed to keep all
transmit ports filled sufficiently at all times for data bursts. With all port BURST_VAL the same, relative port band-
width can be set by loading the Transmit Calendar appropriately.
3. Set TX_FIFO_THRESHOLD_L (address 30945, bits [0:2] for SPIA, address 30A45, bits [0:2] for SPIB) to [inte-
ger(BURST_VAL/4) + 1]. For example, if BURST_VAL = 10, TX_FIFO_THRESHOLD_L should be set to 3.
4. Set MAXBURST1 and MAXBURST2 to integer multiples of BURST_VAL that are at least 2 times BURST_VAL.
For example, if BURST_VAL = 4, then MAXBURST1 could be set to 12 and MAXBURST2 could be set to 8. To
optimize a port for minimum bursts it is best to set MAXBURST1 and MAXBURST2 to as high a value as possible.
The reason for this is as follows.
Whenever the transmitter detects a SATIFIED status condition when polling a port, that port’s credit field (stored in
the Port Descriptor Memory) is automatically decremented by BURST_VAL. If the credit field ever drops below
BURST_VAL, the port poll will terminate, reducing the available time to fill the transmit FIFOs for data bursts.
Therefore, it is recommended that the SPI[A,B]_k_STAT signal from the core be monitored and writing be sus-
pended to any port whose receive FIFO is SATISFIED. Writing to that port can commence once HUNGRY or
STARVING appears at the SPI[A,B]_k_STAT because this will guarantee that the credit field for the port has been
updated to a value greater than BURST_VAL. Maximizing the values of MAXBURST1 and MAXBURST2 gives the
greatest time between credit update and potential decrement below BURST_VAL (which will eventually happen if
enough SATISFIED status conditions occur). This in turn simplifies the design of a transmit FIFO data write state
machine.
5. In order to ensure that a full BURST_VAL block of data is always available when a port is serviced, it is neces-
sary to synchronize the writing of data to each port’s transmit FIFO to the transmitter’s FIFO read sequence. This
can be done by monitoring the PORT_ID of the currently serviced SPI4 port (SPI[A,B]_k_PORT_ID). Figure 21,
Figure 22, and Figure 23 show write sequencing that would result in sufficiently full transmit FIFOs for full data
bursts at all times (except for end-of-packet) for 32-bit, 64-bit, and 128-bit aggregation modes respectively. The fig-
ures illustrate the most stringent polling sequencing that would still allow consistently full data bursts. For example,
the minimum required gap between polls of the same port is determined by the aggregation mode chosen. Longer
gaps between epeated port polling will result in more flexibility in timing the transmit FIFO writes. The examples in
Figure 21, Figure 22, and Figure 23 illustrate a BURST_VAL of 4, but are extendable to BURST_VAL values from 2
to 15. Note that BURST_VAL for each port is available on SPI[A,B]_k_BURST_VAL. This may be useful in cases
where BURST_VAL has not been set to the same value for each port.



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