SpaceWire Remote Terminal Controller Torbjrn Hult 20 July 2005 - - PowerPoint PPT Presentation

spacewire remote terminal controller
SMART_READER_LITE
LIVE PREVIEW

SpaceWire Remote Terminal Controller Torbjrn Hult 20 July 2005 - - PowerPoint PPT Presentation

SpaceWire Remote Terminal Controller Torbjrn Hult 20 July 2005 This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; 1 b) be copied or reproduced in


slide-1
SLIDE 1

This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.

1

SpaceWire Remote Terminal Controller

Torbjörn Hult

20 July 2005

slide-2
SLIDE 2

This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.

2

SpaceWire RTC contract

  • ESA study
  • Prime Contractor: Saab Ericsson Space
  • Subcontractor: Gaisler Research
  • Foundry: ATMEL, ATC18RT 0,18µ process,

multi-project wafer run

slide-3
SLIDE 3

This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.

3

SpaceWire RTC overview

LEON2 SPARC V8 Integer Unit I-Cache D-Cache AHB master Debug Support Unit Debug Serial Link UART Memory Controller AHB / APB bridge ADC / DAC Interface General Purpose I/O FIFO Interface On-Chip Memory 32-bit TIMERs AHB master AHB slave AHB Arbiter / Decoder UARTs TIMERs GPIO IRQ AHB slave AHB master AMBA AHB bus AMBA APB bus HurriCANe Controller AHB master Dundee SpaceWire AHB master CTRL/DMA CTRL/DMA GRLIB LEON2-FT ESA New

slide-4
SLIDE 4

This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.

4

Processor and Memory

  • LEON-2 FT VHDL model
  • Cache sizing:

– 4 kbyte instruction, 4 kbyte data

  • On-chip memory sizing:

– 64 kbyte EDAC protected

  • External memory sizing:

– 4 Mbyte PROM (8-bit wide, EDAC) – 8 Mbyte SRAM (8, 16 or 32 bit, EDAC) – 2 Mbyte IO

slide-5
SLIDE 5

This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.

5

FIFO Interface

  • Interface:

9-bit / 18-bit data, read & write strobes, full, half-full, empty, programmable wait states

  • Function:

stand-alone FIFO interface with active control of external FIFO devices

  • On-chip:

AMBA AHB master with DMA

slide-6
SLIDE 6

This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.

6

SpaceWire Functions

  • SPW CODEC IP used
  • RMAP support (Read & Write block)
  • Rx and Tx Channels, separate from RMAP
  • Time Code, Receive and transmit
  • 200 Mbit/s capability, @ 100MHz SPWClock, i.e. DDR only
  • I/F to AMBA bus
  • Local CPU Support for:
  • Packet handling (multiple packet, buffer limits, alignment, debug)
  • Sending RMAP commands (separating header and data, CRC generation, ..)
  • Transparent reception of Transfer protocols not supported in HW.
slide-7
SLIDE 7

This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.

7

SpaceWire block diagram

CODEC AHB master Reg If

RMAP Protocol Rx FIFO Tx FIFO

AHB master

Arbiter

RMAP Response

TX

AMBA AHB bus

RX

SpaceWire link

AMBA APB bus

On-Chip Memory AHB slave

slide-8
SLIDE 8

This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.

8

Rx Functions

  • Two Rx Channels, Rx(0) reserved for RMAP, (each separated by unique

DLA)

  • RMAP: protocol identification, Command interpreter and Error handling,
  • MemoryBuffer structure, individual buffers for each Rx Channel.

RMAP uses its buffer only for Responses and unsupported Commands.

  • CRC8 Checker in HW, for RMAP packets only
  • AHB Master (Write only)
  • High speed, over clock region transfers

>200MBit/s Data transfer rate using 64bit blocks @ 30MHz BusClk and 100MHz TxClk.

slide-9
SLIDE 9

This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.

9

Rx Functions (block diagram)

CODEC

Rx FIFO RxDMA Fifo AHB Master(Write)

RMAP Response (32Byte) DLA, RMAP TransferReq

RxClk to BusClk (64 bit) SPW Region FSM

(8*4Byte)

Bus Region FSM

TransferRdy SPWClk BusClk

RxDma Addr, Count, Conf

Interrupt RxChannel Registers,

  • ne set for each DLA

(RMAP uses one of the sets)

CRC8 check

RMAP Read Addr, Size SpaceWire link

slide-10
SLIDE 10

This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.

10

Tx Functions

  • Two Tx Channels, Tx(0) reserved for RMAP)
  • Arbiter, RMAP TxChannel has highest priority
  • Send list memory structure, up to 255 entries for each

Tx Channel sendlist structure allows separate handling of header and raw data.

  • CRC8 Generation in HW, for RMAP packets only
  • AHB Master (Read only)
  • High speed, over clock region transfers

>200MBit Data transfer rate using 64bit blocks @ 30MHz BusClk and 100MHz TxClk

slide-11
SLIDE 11

This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.

11

Tx Functions (block diagram)

CODEC

Tx FIFO TxDMA Fifo AHB Master(Read)

RMAP Response (32Byte) RMAP Read Addr Size Transfer Req

BusClk to TxClk (64 bit) SPW Region FSM

(TBD Byte)

Bus Region FSM

Transfer Rdy SPWClk BusClk

TxDma SendList & Counters

Interrupt TxChannel Registers,

  • ne set for each DLA

(RMAP uses one of the sets)

CRC8 Gen Tx DMA Chan. Tx Arbiter

RMAP Req SpaceWire link

slide-12
SLIDE 12

This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.

12

TimeCode

CODEC Reg If

AMBA APB bus

Tx Time Reg TxTime CtrlReg Time Code Equal Check

TimeTick +1 TimeTick (Qualified) TimeCtrl(2 bits)

RxTime Cnt RxTime CtrlReg

+1 TimeCtrl (2 bits) TimeTick TimeTick TimeCtrl( 2 bits) TimeCtrl (2 bits) SpaceWire link