Microbee Technology FTM-3SE

Similar documents
Quick Start Guide. TWR-LCDC-EPSON Epson Display Controller Module TOWER SYSTEM

Quick Start Guide. TWR-K70F120M High-Performance MCUs with Graphics LCD, Connectivity and Security TOWER SYSTEM

TWR-K53N512 Quick Start Guide

Quick Start Guide. TWR-K70F120M High-Performance MCUs with Graphics LCD, Connectivity and Security TOWER SYSTEM

TWR-K70F120M Quick Start Guide

TWR-K60F120M Quick Start Guide

Quick Start Guide. TWR-K60D100M Low-Power MCU with USB, Ethernet and Encryption TOWER SYSTEM

Quick Start Guide for TWR-S08LL64 TOWER SYSTEM MC9S08LL64. S08 ultra-low-power LCD segment MCU

Quick Start Guide. TWR-VF65GS10 For Vybrid Controller Solutions Based on ARM Cortex -A5 and Cortex-M4 Processors with the DS-5 Toolchain TOWER SYSTEM

Quick Start Guide. TWR-S12G128 Scalable platform for automotive applications TOWER SYSTEM

TWR-K21F120MA Quick Start Guide

User's Manual Rev. 1. Freescale Semiconductor Inc. TWRS08UNIVUM

Quick Start Guide TRK-KEA. Kinetis EA Series MCUs for Automotive Electronics Applications. StarterTRAK

Quick Start Guide TWR-PXR bit Power Architecture MCU for High-Performance Real-Time Applications TOWER SYSTEM

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

CEIBO FE-51RD2 Development System

Quick Start Guide. TWR-P1025 QorIQ Processor with Networking and Industrial Connectivity and Protocol Offload Engine TOWER SYSTEM

TWR-LS1021A Getting Started

Quick Start Guide TWR-S08PT60. 5-Volt S08P Family of 8-bit MCUs for Industrial and Appliance Applications TOWER SYSTEM

Purchase Agreement. P&E Microcomputer Systems, Inc. 98 Galen St. Watertown, MA

TWR-KM34Z50MV3 Quick Start Guide

Melon S3 FPGA Development Board Product Datasheet

Freescale Semiconductor Inc. TWR-MCF51CN User Manual Rev. 1.2

Quick Start Guide. MED-SPO2 Pulse Oximetry Plug-in Board TOWER SYSTEM

Quick Start Guide for TWR-S08MM128-KIT TOWER SYSTEM MC9S08MM128. The industry s most complete solution for portable medical applications

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

Lab Tutorial for TWR-S08GW64 TOWER SYSTEM. MC9S08GW64 LCD segment MCU for flow meters and energy metering applications

TWR-KE18F. Quick Start Guide. 32-bit Kinetis MCU based on ARM Cortex -M4 provides up to 168 MHz CPU performance, up to 512 KB flash with 64 KB SRAM

Quick Start Guide. MED-SPI Spirometry Plug-in Board TOWER SYSTEM

Quick Start Guide for TWR-MC56F8257 TOWER SYSTEM MC56F8257. For power conversion and motor control applications

TWR-KE18F User's Guide

ECE3120: Computer Systems Hardware & Software Development Tools

Quick Start Guide TWR-S08DC-PT60. Tower System Daughter Card for the 5-Volt 8-bit MC9S08P Family TOWER SYSTEM

Quick Start Guide TWR-PXS bit Dual-Core Power Architecture MCU for Industrial Control and Safety Applications TOWER SYSTEM

Quick Start Guide. TWR-MPC8309 PowerQUICC Processor with Industrial Connectivity and Protocol Off-Load Engine TOWER SYSTEM

Intel Galileo gen 2 Board

Quick Start Guide TWR-56F8400. The Ultimate Solution in Performance and Precision for Energy-Efficient Innovation TOWER SYSTEM

EB-51 Low-Cost Emulator

Quick Start Guide for TWR-MCF5225X TOWER SYSTEM. MCF5225X ColdFire connectivity MCUs

Quick Start Guide for TWR-SER2 TOWER SYSTEM. TWR-SER2 Enhanced serial module

MQX -celeration RTOS-integrated solutions

Quick Start Guide. S12VR64EVB S12 MagniV Mixed-Signal MCUs. S12 MagniV

Nios Embedded Processor Development Board

A brief intro to MQX Lite. Real work: hands-on labs. Overview, Main features and Code Size

TWR-KV10Z32 Sample Code Guide for CodeWarrior Board configuration, software, and development tools

)8-,768'HY.LW 2YHUYLHZ. )XMLWVX0LNURHOHNWURQLN*PE+ Am Siebenstein Dreieich-Buchschlag, Germany

CEIBO FE-5111 Development System

Freescale MQX RTOS TWR-K64F120M Release Notes

Component validity and internal error checking functionality to ensure reliable operation

Purchase Agreement. P&E Microcomputer Systems, Inc. 98 Galen St. Watertown, MA

CMS-8GP32. A Motorola MC68HC908GP32 Microcontroller Board. xiom anufacturing

Quick Start Guide TRK S12ZVFP64. S12 MagniV MCU for Automotive Heating, Ventilation and Air Conditioning (HVAC) Applications

Programming in the MAXQ environment

TWR-KL28Z User s Guide

TWR-LS1021A Getting Started

Spartan-II Demo Board User s Guide

EVBQE128. Evaluation Board for Freescale Flexis QE128. User s Manual

TWR-K80F150M Quick Start Guide

Purchase Agreement. P&E Microcomputer Systems, Inc. P.O. Box 2044 Woburn, MA Manual version 1.

Introduction to the 16-bit Tower Boards Using the MC9S12GN32

TWR-KL25Z Tower Module

HVP-56F82748 Quick Start Guide

DEVBOARD3 DATASHEET. 10Mbits Ethernet & SD card Development Board PIC18F67J60 MICROCHIP

CEIBO FE-W7 Development System

Freescale Semiconductor Inc. Microcontroller Solutions Group. TWR-MCF51CN User Manual Rev. 1.1

Developing a Camera Application with i.mx RT Series

TWR-KV58F220M Tower Module User's Guide

Objective: Additional project details: Code: PSEMBP 100 Category:STEM Level: High School/Community C.

Quick Start Guide for TRK-MPC5634M. Starter TRAK. TRK-MPC5634M Automotive powertrain and precision timed industrial applications

RX62N BOARD User Manual

EE4380 Microprocessor Design Project

TRK-S12ZVL Quick Start Guide. MagniV Mixed-signal MCUs for LIN Applications

Lab Guide Rev. 0 TWRWIFIG1011MILAB

TWR-KL43Z48M Quick Start Guide

TWR-K21F120MA Tower Module User s Manual Rev. 0

Lab Guide Rev. 1.1 TWRWIFIAR4100LAB

This manual provides information for the final user application developer on how to use SPC57S-Discovery microcontroller evaluation board.

Freescale Embedded Graphical User Interface for

SSD1963 EVK Rev3B User s Guide

Quick Start Guide. TWR 56F8200 Tower System Module for MC56F823xx and MC56F827xx. Digital Signal Controllers TOWER SYSTEM

DEMO9S08LG32 Up to 5V MCU with integrated LCD display driver

Freescale Semiconductor Inc. Microcontroller Solutions Group. FRDM-KL46Z User s Manual FRDM-KL46Z-UM Rev. 1.0

System-on-a-Programmable-Chip (SOPC) Development Board

S32K144 EVB QUICK START GUIDE REV4.2 APPLIES FOR: S32K144 EVB (SCH REV B) EXTERNAL USE

S32K118 EVB QUICK START GUIDE APPLIES FOR: S32K118 EVB (SCH_29945 REV B) EXTERNAL USE

TWR-KV10Z32 Sample Code Guide for IAR Board configuration, software, and development tools

Product Overview -A 16 bit Micro Experimenter for Solderless Breadboards

Trends in Prototyping Systems. ni logic Pvt. Ltd., Pune, India

Freescale Semiconductor Inc. TWRWIFIGS1500MLAB. TWR-WIFI-GS1500M Lab Guide Rev. 1

Design Considerations The ColdFire architectures' foundation in Freescale's architecture allows designers to take advantage of the established t

Embedded Development Platform Getting Started Guide for XC167 Command Module

Quick Start Guide. TWR-KV10Z32 Development Kit for Kinetis KV1x Family TOWER SYSTEM

Purchase Agreement. P&E Microcomputer Systems, Inc. P.O. Box 2044 Woburn, MA Manual version 1.

Emulating I2S bus on KE06

Quick Start Guide. TWR-IND-IO Industrial I/O Module TOWER SYSTEM

FRDM-KL03Z User s Guide

M54451EVB Development Board for Freescale MCF54451 MCU Hardware User Manual

Embedded Design without an OS. By Peter de Ruiter D&E September 21 st, Transfer BV

S32K118 EVB QUICK START GUIDE APPLIES FOR: S32K118 EVB (SCH_29945 REV B) EXTERNAL USE

Using PE to quickly use common communication interfaces on Kinetis

Transcription:

Microbee Technology FTM-3SE Freescale Tower System Compatible Field Programmable Gate Array Module TWR-K70 Demo Quick Start Guide The flexibility that programmable logic brings to hardware design has now arrived for the Freescale Tower System. Now you can get even closer to your end product design through rapid prototyping by including FPGA design along with your choice of processor and other system building blocks. In this Demo / Quick Start Guide we demonstrate the use of the FTM-3SE FPGA board along with the TWR-K70 Kinetis processor board, the TWR-SER serial comms board & the TWR-LCD-RGB. The purpose of this demonstration is to show the basics of loading a pre-compiled Xilinx logic design into the FPGA and how to work with the K70 s Flexbus interface to access the registers within the Xilinx Logic design. To do this, the demonstration code that runs on the K70 processor takes the following steps: Initialise internal peripherals, DRAM controller, LCD controller, I/O pin control, pull-ups, drive strength Log the SDcard and test to see if the Xilinx logic configuration file exists on the card Start the initialisation sequence for the Xilinx FPGA (strobe N_PROG) Load blocks of 128 bytes from the file on the SDcard (FTM3SECI.BIN) into the FPGA until end of file Test DONE signal from the Xilinx FPGA is HIGH (signifying configuration complete) Test the memory on the FTM-3SE board via the Flexbus via the internal signal routing in the FPGA Toggle the I/O pins on the FTM-3SE board via the registers within the logic design loaded into the FPGA Configuring your Freescale Tower System The configuration for the TWR-K70 board is the same as in the quick start guide for that board all configuration jumpers remain as initially set to work with the TWR-SER module in the tower. Note that as per the K70 quick start guide, the 50Mhz Oscillator clock is generated by the TWR-SER board. The configuration for the TWR-LCD-RGB display is unmodified as well all jumpers on this board are set as per the standard configuration. Configuring the FTM-3SE module Check that the jumpers on the FTM-3SE module are set as follows: Jumper JP27 (Config Mode) 1-2 on, 3-4 off (Slave parallel configuration) Jumper JP4 (Power Enable) 1-2 on (closest to JP4 label) N_PROG & DONE signal allocation: JP2 jumper pins 5 & 6 JP3 jumper pins 3 & 4 LINK JP2 pin 1 to JP3 pin 2 FlexBus Chip select select CS0 JP1 jumper pins 1 & 2

Assemble the Tower System, ensuring that the Primary Side of each module is plugged into the Primary elevator board. The TWR-LCD-RGB elevator is the Secondary side elevator in this stack. [A] Insert the Power (Barrel type) connector for the FTM-3SE module and turn on the power. Note that the FTM-3SE does not power up until power is detected from the rest of the Tower system this mode is set by Jumper JP4. Please ensure that power is applied via the Barrel connector prior to powering the rest of the tower, otherwise some bus contention may occur. [B] Insert the Mini-USB cable into the TWR-K70 s power / debug connector, but leave the computer end of the cable out of the computer for now (unpowered). [C] Insert a Micro-SD card into the TWR-K70 board with the FTM3SECI.BIN file on it. This is the file that contains the Xilinx Logic design that gets loaded into the FPGA. Demonstration code Requirements: CodeWarrior Eclipse Version 10.5. If you have not already installed CodeWarrior, install this now, along with the drivers for the OSJTAG flash / debug interface. Import the fb_xil_demo project into your workspace:

Connect the Tower System to the computer the USB cable connected to the TWR-K70 is now connected ready for programming the K70 Microcontroller. At this point the power lights on the Tower, the K70 & FTM-3SE modules should light up, and the display backlight should also come on. Press the debug button within CodeWarrior (the little green BUG symbol) and the project should compile and attempt to program the K70 controller. If this is the first time downloading to the K70 within this session of CodeWarrior the attempt will fail because of an error in the MK70FN1M0.mem memory definition file and you will get an error like this: Select the MK70FN1M0.mem file within CodeWarrior and change the following line From this: reserved 0x20010000 0x5FFFFFFF To this: reserved 0x20010000 0x3FFFFFFF and save the file. Now you can press the debug button again & all should go well. You should see the status indicating that the K70 is being programmed and the debugger will be ready to execute the code. Press the green Play button to run the code. Start the code running by pressing the green PLAY button.

At this point, the LCD screen should clear & you should see messages start appearing relating the progress of the code through its routines. You should see black text on a light blue background as per the screen shot below. If you watch carefully during the startup of the code, while the configuration file is being loaded from the SDcard, the orange LED in one of the touch sensor pads on the TWR-K70 board shows SDcard activity. Also, at the end of loading the configuration file into the Xilinx FPGA, the DONE LED on the FTM-3SE will light, indicating that the configuration has been successfully loaded into the FPGA. Now that the code is running if you were to attach LED s to the IO pins on the GPIO headers of the FTM-3SE board, you would see the LEDS going on and off in patterns as related on the last line of the LCD display. Demonstration complete. While this demonstration is not very complex (testing on board SRAM and toggling I/O pins) it gives details of the software & procedures required to load your own more complex FPGA designs into the FTM-3SE board & how to interface to your logic via the FlexBus on the K70 processor. Reference material: The schematic of the Xilinx Logic for this demonstration has been included at the end of this Quick Start guide and shows how to interface the K70 Flexbus in Multiplexed mode (8 bit data, latched address with ALE on CS1) and use registers within the Xilinx logic design. The schematic was put together with Altium Designer (free trial available at www.altium.com), but can also be duplicated on the free Xilinx Webpack tools (see www.xilinx.com and search for Webpack 14.7 download).

Here is the address map that is enabled within the sample Xilinx logic design: Flexbus base address (0x60000000) + offset Offset Read Access Write Access 0x0 SRAM 512K bank SRAM 512K bank 0x0007FFFF 0x0008XXX0 Pin Status GPIO-0 bits 0..7 Output register GPIO-0 bits 0..7 0x0008XXX1 Data direction GPIO-0 bits 0..7 Data direction GPIO-0 bits 0..7 0x0008XXX2 Pin Status GPIO-1 bits 0..7 Output register GPIO-1 bits 0..7 0x0008XXX3 Data direction GPIO-1 bits 0..7 Data direction GPIO-1 bits 0..7 0x0008XXX4 Pin Status GPIO-2 bits 0..7 Output register GPIO-2 bits 0..7 0x0008XXX5 Data direction GPIO-2 bits 0..7 Data direction GPIO-2 bits 0..7 0x0008XXX6 Pin Status GPIO-3 bits 0..7 Output register GPIO-3 bits 0..7 0x0008XXX7 Data direction GPIO-3 bits 0..7 Data direction GPIO-3 bits 0..7 0x0008XXX8 Pin Status GPIO-4 bits 0..7 Output register GPIO-4 bits 0..7 0x0008XXX9 Data direction GPIO-4 bits 0..7 Data direction GPIO-4 bits 0..7 0x0008XXXA Pin Status GPIO-5 bits 0..7 Output register GPIO-5 bits 0..7 0x0008XXXB Data direction GPIO-5 bits 0..7 Data direction GPIO-5 bits 0..7 0x0008XXXC Pin Status GPIO-6 bits 0..7 Output register GPIO-6 bits 0..7 0x0008XXXD Data direction GPIO-6 bits 0..7 Data direction GPIO-6 bits 0..7 0x0008XXXE Pin Status GPIO-7 bits 0..7 Output register GPIO-7 bits 0..7 0x0008XXXF Data direction GPIO-7 bits 0..7 Data direction GPIO-7 bits 0..7 These registers are mirrored through to offset 0x000BFFFF The bits in the Data Direction registers when set (=1) specify the relevant GPIO bit as an OUTPUT. 0x000CXXXX SRAM bank select SRAM bank select Bits 0 & 1 select which of 4 banks of 512K can be accessed at offset 0x0 by the Flexbus. 00 = Bank 0, 01 = Bank 1, 10 = Bank 2, and 11 = Bank 3. This register is mirrored throughout the rest of the 1Mbyte address space from 0x000C0000 to 0x000FFFFF. Freescale Semiconductor is a global leader in embedded processing solutions, providing industry leading products that are advancing the automotive, consumer, industrial and networking markets. From microprocessors and microcontrollers to sensors, analog integrated circuits and connectivity our technologies are the foundation for the innovations that make our world greener, safer, healthier and more connected. For more information : http://www.freescale.com/webapp/connect/displaypartnerprofile.sp?partnerid=7180 2014 Microbee Technology Pty Ltd. W: www.microbeetechnology.com.au E: info@microbeetechnology.com.au F: www.facebook.com/microbeetechnology