Echelon FTXL Hardware User Manual

Browse online or download User Manual for Hardware Echelon FTXL Hardware. Echelon FTXL Hardware User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 92
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - FTXL Hardware Guide

FTXL Hardware Guide078-0364-01A®

Page 2

2 FTXL Hardware Overview Overview Echelon’s Free Topology Smart Transceivers provide a well-tested and cost-effective

Page 3 - Related Documentation

FTXL Hardware Guide 3 The FTXL Developer’s Kit The FTXL Developer’s Kit is a development toolkit that contains the hardware designs, software

Page 4

4 FTXL Hardware Overview • RAM, read/write non-volatile memory (such as flash) to store configuration data, and non-

Page 5

FTXL Hardware Guide 5 • External memory (such as external RAM) for the FTXL application program • Non-volatile memory (such as flash memory

Page 6

6 FTXL Hardware Overview and functions with the LonTalk Compact API, so that it is possible to migrate a ShortStack™

Page 7 - Table of Contents

FTXL Hardware Guide 7 2 FTXL Developer’s Kit Hardware This chapter describes the three development boards that comprise the hardware for the

Page 8

8 FTXL Developer’s Kit Hardware Overview of the FTXL Developer’s Kit Hardware The FTXL Developer’s Kit requires the t

Page 9 - FTXL Hardware Overview

FTXL Hardware Guide 9 Table 3. Hardware Development Platform for the Nios II Processor devboards DBC2C20 Altera Cyclone II Development Board

Page 10 - Overview

10 FTXL Developer’s Kit Hardware Figure 1. Service Pin Button and LED on the DBC2C20 Development Board Table 4. FTXL

Page 11 - The FTXL Development Process

FTXL Hardware Guide 11 Jumper Settings The DBC2C20 development board includes three sets of jumpers (P10, P19, and P21). For the FTXL Develop

Page 12 - Hardware Design

Echelon, LONWORKS, LONMARK, LonTalk, Neuron, 3120, 3150, and the Echelon logo are trademarks of Echelon Corporation registered in the United States an

Page 13 - Software Design

12 FTXL Developer’s Kit Hardware FTXL Function DBC2C20 Function DBC2C20 Name Main power Power supply connector P11

Page 14 - FTXL User’s Guide

FTXL Hardware Guide 13 The FTXL Adapter Board The primary function of the FTXL Adapter Board is to provide the 5 V power to the FTXL Transceiv

Page 15

14 FTXL Developer’s Kit Hardware Table 7. FTXL Adapter Board Connectors and Headers FTXL Developer’s Kit Function F

Page 16 - Datasheet

FTXL Hardware Guide 15 L2MIP_IRQCTSHRDYRSTA0R/W-J1Hirose FX8C-120P-SV2135791113151719212325272931333537394143454749515355575961636567697173757

Page 17 - Buttons and LEDs

16 FTXL Developer’s Kit Hardware LEDs The FTXL Transceiver Board includes two LEDs (D11 and D14). These LEDs are act

Page 18

FTXL Hardware Guide 17 Figure 5 shows the connections for the J3 and J4 Hirose stacking headers; Figure 6 on page 18 shows the connections for

Page 19 - Connectors and Headers

18 FTXL Developer’s Kit Hardware J2Hirose FX8C-120S-SV513579111315171921232527293133353739414345474951535557596163656

Page 20 - P23 Header

FTXL Hardware Guide 19 3 FTXL Transceiver Hardware Interface This chapter describes the hardware interface for the FTXL Transceiver Chip, whi

Page 21 - The FTXL Adapter Board

20 FTXL Transceiver Hardware Interface Overview of the Hardware Interface The hardware interface for an FTXL Transce

Page 22

FTXL Hardware Guide 21 Pull-Up Resistors for Communications Lines For the parallel communications interface, you must add 10 kΩ pull-up resist

Page 23 - The FTXL Transceiver Board

FTXL Hardware Guide iii Welcome Echelon’s FTXL™ products enable any product that contains an Altera® Nios® II processor to quickly and inexpen

Page 24

22 FTXL Transceiver Hardware Interface FTXL Transceiver Pin Number FTXL Transceiver Pin Name Signal Name Direction

Page 25 - Header Header

FTXL Hardware Guide 23 Figure 7. The FTXL Transceiver Parallel Interface From the point of view of the host processor, the FTXL Transceiver a

Page 26 - Receptacle

24 FTXL Transceiver Hardware Interface The FTXL LonTalk protocol stack and the FTXL Transceiver pass the write token

Page 27 - Interface

FTXL Hardware Guide 25 Transceiver, this pin is not part of the communications port, and does not function as a sleep control pin, but acts as

Page 28 - Data Bus Isolation

26 FTXL Transceiver Hardware Interface • Program recovery If an application experiences unexpected behavior becaus

Page 29 - I/O object

FTXL Hardware Guide 27 Software Controlled Reset When the CPU watchdog timer expires, or a software command to reset occurs, the RESET~ pin is

Page 30

28 FTXL Transceiver Hardware Interface When an externally generated clock is used to drive the CLK1 CMOS input pin o

Page 31 - Transferring Data

FTXL Hardware Guide 29 FPGA Design Pin Name FPGA Pin Number Direction Edge Capture Corresponding FTXL Transceiver Pin FTXL_RESET G16 Bidirecti

Page 32 - IRQ Pin

30 FTXL Transceiver Hardware Interface and A0, and waits for the assertion of D0/HS, and then deasserts A0, asserts

Page 33 - Reset Function

FTXL Hardware Guide 31 Figure 10. Timing Diagram for Reading the Length Byte Figure 11 shows a detailed timing diagram for reading the data.

Page 34 - Power-Up Sequence

iv Networking Protocol, and provides a high-level introduction to LONWORKS networks and the tools and components that are used for developing, install

Page 35 - Transceiver Datasheet

32 FTXL Transceiver Hardware Interface Control Flow: Host Sending Data to the FTXL Transceiver When the host progra

Page 36

FTXL Hardware Guide 33 Read HandshakeHandshake (D0) readyA0 high -> D0 is handshakeR/W~ low -> readWrite length = 0x13R/W~high -> wr

Page 37 - Transceiver

34 FTXL Transceiver Hardware Interface Read Handshake(Ready)Write Data (0x12)Read Handshake (Busy)Read Handshake (Re

Page 38

FTXL Hardware Guide 35 D=0x00D=0x30D=0x80D=0x00D=0x7FD=0xD1D=0x04D=0xCDD=0xD3D=0x01D=0x9FD=0x00D=0xFFD=0xFFD=0x06D=0x0AD=0x00D=0x04D=0x11D=0x0

Page 40

FTXL Hardware Guide 37 4 FPGA Design for the FTXL Transceiver This chapter describes FPGA design considerations for an FTXL device.

Page 41 - Write length = 0x13

38 FPGA Design for the FTXL Transceiver Overview The hardware for an FTXL device consists primarily of an FTXL Trans

Page 42 - Write Remaining Data:

FTXL Hardware Guide 39 To develop a new FPGA design, you must use the Altera Quartus II software, version 7.2 or later (either the Web Edition

Page 43

40 FPGA Design for the FTXL Transceiver multipliers, embedded memory blocks, phase-locked loops (PLLs), and high-spe

Page 44

FTXL Hardware Guide 41 Figure 17. Quartus II Device and Pin Options Dialog See the Altera Configuration Handbook for more information about F

Page 45 - FPGA Design for the FTXL

FTXL Hardware Guide v Product Category Documentation Titles Cyclone® II and Cyclone III FPGA and device configuration Cyclone II Device Handb

Page 46 - Developing a New FPGA Design

42 FPGA Design for the FTXL Transceiver Component Name Class Name File Names Description FTXL Parallel I/O Transce

Page 47 - FPGA Device Requirements

FTXL Hardware Guide 43 • The A0 signal is delayed by two clock cycles. • The R/W~ signal is delayed by one clock cycle. Figure 19 shows th

Page 48 - FPGA Configuration Device

44 FPGA Design for the FTXL Transceiver Figure 20. Quartus II Component Editor Dialog for FTXL Parallel I/O Signals

Page 49 - FTXL Components

FTXL Hardware Guide 45 Figure 21. Quartus II Component Editor Dialog for FTXL Parallel I/O Interfaces (Part 1)

Page 50

46 FPGA Design for the FTXL Transceiver Figure 22. Quartus II Component Editor Dialog for FTXL Parallel I/O Interfa

Page 51 - Communications Interface

FTXL Hardware Guide 47 • chipselect: Select signal to enable access to the LED • write_n: Write-select signal to write to the LED • write

Page 52

48 FPGA Design for the FTXL Transceiver • chipselect: Select signal to enable access to the reset pin • write_n:

Page 53

FTXL Hardware Guide 49 • 8 MB CFI flash memory • 16 MB SDRAM These numbers correspond to the external memory provided by the DBC2C20 develop

Page 54 - FTXL Service LED

50 FPGA Design for the FTXL Transceiver Component Component Name Size (Bytes) SDRAM interface for the DBC2C20 devel

Page 55 - FTXL Transceiver Reset

FTXL Hardware Guide 51 Within the FTXL software, the FTXL HAL is defined in two files: FtxlHal.h and FtxlHal.c. Other Hardware Design Conside

Page 58

FTXL Hardware Guide 53 5 Working with the Altera Development Environments This chapter describes how to use the Altera Complete Design Sui

Page 59 - Cyclone III Device Handbook

54 Working with the Altera Development Environments Development Tools To develop your FTXL application, you use ver

Page 60

FTXL Hardware Guide 55 Using a Device Programmer for the FPGA Device To load your hardware design, software application, and the FTXL LonTalk

Page 61 - Development Environments

56 Working with the Altera Development Environments Setting Component Search Paths To work with an FPGA design that

Page 62 - Development Tools

FTXL Hardware Guide 57 To add FTXL components to the SOPC Builder library path: 1. Start the Quartus II software. 2. Open a Quartus II proje

Page 63 - User Guide

58 Working with the Altera Development Environments a. Expand the Bridges and Adapters folder. b. Expand the Memor

Page 64

FTXL Hardware Guide 59 e. If necessary, modify the assigned IRQ number for the component; see Addressing, Size, and IRQ Requirements on page

Page 65

60 Working with the Altera Development Environments Modifying the Quartus II Design Before you begin, ensure that th

Page 66

FTXL Hardware Guide 61 Figure 26. Connections for FTXL_PIO_Delay Component Finally, you need to add pins to the symbol blocks for the FTXL co

Page 67

FTXL Hardware Guide vii Table of Contents Welcome...

Page 68

62 Working with the Altera Development Environments 6. Load the modified hardware design for the Nios II processor

Page 69 - Component Search Paths

FTXL Hardware Guide 63 A Using the Bring-Up Application to Verify FTXL Hardware Design This chapter describes how to use the Bring-Up appli

Page 70 - Using a

64 Using the Bring-Up Application to Verify FTXL Hardware Design Overview This appendix describes the Bring-Up appl

Page 71 - Verify FTXL Hardware Design

FTXL Hardware Guide 65 The FtxlHal.c file defines the following functions to handle interrupts: • LonRegisterIsr() Initializes the interrupt

Page 72 - Application Framework

66 Using the Bring-Up Application to Verify FTXL Hardware Design LonDeassertTransceiverReset() functions write to th

Page 73 - Reset Signal

FTXL Hardware Guide 67 Signal Name FTXL Transceiver Pin Action D2 2 D3 43 D4 42 D5 36 D6 35 D7 32 When LonReadTransceiverDataRegister() read

Page 74 - Data Register

68 Using the Bring-Up Application to Verify FTXL Hardware Design To write each byte, the application must first wait

Page 75 - Token Passing and Handshaking

FTXL Hardware Guide 69 The application uses the functions described in Interrupt Functions from the FTXL HAL on page 64 to handle interrupts.

Page 76 - Interrupt

70 Using the Bring-Up Application to Verify FTXL Hardware Design Building the Application Image To build the softwar

Page 77 - Application

FTXL Hardware Guide 71 The output of each test lists the test name together with an indication of whether it passed or failed. For some of th

Page 78 - Running the Tests

viii FPGA Design for the FTXL Transceiver... 37 Overview ...

Page 79 - Status is

72 Using the Bring-Up Application to Verify FTXL Hardware Design Read Status (Busy)Host asserts resetHost deasserts

Page 80 - Host deasserts reset

FTXL Hardware Guide 73 Read HandshakeHandshake (D0) busyA0 high -> D0 is handshakeCS~ low -> transfer in progressRW~ high -> read

Page 81 - Token Passing Test

74 Using the Bring-Up Application to Verify FTXL Hardware Design Read HandshakeWrite length = 0Handshake (D0) busyHa

Page 82 - Write length = 0

FTXL Hardware Guide 75 The figure also shows the status being read after the token is passed. Read Status (Ready)Write Length 0Read Status (Bu

Page 83

76 Using the Bring-Up Application to Verify FTXL Hardware Design Read HandshakeRead length = 0Handshake (D0) busyHan

Page 84 - Data Passing Test

FTXL Hardware Guide 77 Figure 33 shows the signals while writing the downlink data. Read Status (Ready)Write Length (9)Read Status (Busy)Read

Page 85

78 Using the Bring-Up Application to Verify FTXL Hardware Design Figure 34. Reading the Uplink Data Interrupt Test

Page 86 - Interrupt Test

FTXL Hardware Guide 79 • outputDataStream – To write a frame to the host, the frame is first copied to this buffer (including the length byte

Page 87 - Service Pin and LED Test

80 Using the Bring-Up Application to Verify FTXL Hardware Design Designing Additional Tests The tests described in R

Page 88 - Designing Additional Tests

FTXL Hardware Guide 81 Index A A0 pin, 22 addressing requirements, 49 Altera Complete Design Suite, 54 application image building, 61 loading,

Page 89

FTXL Hardware Guide 1 1 FTXL Hardware Overview This chapter provides an overview of the FTXL Developer’s Kit and the development process for

Page 90 - 82 Index

82 Index headers, 16 jumpers, 16 LEDs, 16 overview, 15 H HAL, 50 handshaking, 23 hardware abstraction layer, 50 hard

Page 91

FTXL Hardware Guide 83 signals. See pins software-controlled reset, 27 SOPC Builder, 54 status signals, bring-up application, 66 T test data p

Page 92

www.echelon.com

Comments to this Manuals

No comments