Electronic Components Datasheet Search
  English  ▼

X  

GRSPW Datasheet(PDF) 9 Page - Actel Corporation

Part # GRSPW
Description  SpaceWire CODEC with RMAP GRSPW / GRSPW-FT
PDF  48 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ACTEL [Actel Corporation]
Direct Link  http://www.actel.com
Logo ACTEL - Actel Corporation

GRSPW Datasheet(HTML) 9 Page - Actel Corporation

Back Button GRSPW Datasheet HTML 5Page - Actel Corporation GRSPW Datasheet HTML 6Page - Actel Corporation GRSPW Datasheet HTML 7Page - Actel Corporation GRSPW Datasheet HTML 8Page - Actel Corporation GRSPW Datasheet HTML 9Page - Actel Corporation GRSPW Datasheet HTML 10Page - Actel Corporation GRSPW Datasheet HTML 11Page - Actel Corporation GRSPW Datasheet HTML 12Page - Actel Corporation GRSPW Datasheet HTML 13Page - Actel Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 48 page
background image
9
GRSPW / GRSPW-FT
Copyright Aeroflex Gaisler AB
December 2008, Version 1.0.2
GAISLER
The control bits of the Time-code are always stored to the time-ctrl register when a Time-code is
received whose time-count is one more than the nodes current time-counter register. The time-ctrl reg-
ister can be read through the APB interface. The same register is used during time-code transmissions.
It is possible to have both the time-transmission and reception functions enabled at the same time.
2.4
Receiver DMA engine
The receiver DMA engine handles reception of data from the SpaceWire network to different DMA
channels. Currently there is only one receive DMA channel available but the core has been written so
that additional channels can be easily added if needed.
2.4.1
Basic functionality
The receiver DMA engine reads N-Chars from the N-Char FIFO and stores them to a DMA channel.
Reception is based on descriptors located in a consecutive area in memory that hold pointers to buff-
ers where packets should be stored. When a packet arrives at the core it reads a descriptor from mem-
ory and stores the packet to the memory area pointed to by the descriptor. Then it stores status to the
same descriptor and increments the descriptor pointer to the next one.
2.4.2
Setting up the core for reception
A few registers need to be initialized before reception can take place. First the link interface need to
be put in the run state before any data can be sent. The DMA channel has a maximum length register
which sets the maximum size of packet that can be received to this channel. Larger packets are trun-
cated and the excessive part is spilled. If this happens an indication will be given in the status field of
the descriptor. The minimum value for the receiver maximum length field is 4 and the value can only
be incremented in steps of four bytes. If the maximum length is set to zero the receiver will not func-
tion correctly.
The node address register needs to be set to hold the address of this SpaceWire node. Packets received
with the incorrect address are discarded. Finally, the descriptor table and control register must be ini-
tialized. This will be described in the two following sections.
2.4.3
Setting up the descriptor table address
The core reads descriptors from an area in memory pointed to by the receiver descriptor table address
register. The register consists of a base address and a descriptor selector. The base address points to
the beginning of the area and must start on a 1 kbytes aligned address. It is also limited to be 1 kbytes
in size which means the maximum number of descriptors is 128.
The descriptor selector points to individual descriptors and is increased by 1 when a descriptor has
been used. When the selector reaches the upper limit of the area it wraps to the beginning automati-
cally. It can also be set to wrap automatically by setting a bit in the descriptors. The idea is that the
selector should be initialized to 0 (start of the descriptor area) but it can also be written with another 8
bytes aligned value to start somewhere in the middle of the area. It will still wrap to the beginning of
the area.
If one wants to use a new descriptor table the receiver enable bit has to be cleared first. When the
rxactive bit for the channel is cleared it is safe to update the descriptor table register. When this is fin-
ished and descriptors are enabled the receiver enable bit can be set again.



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


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