microcontrollers supported Many on-board modules Easy-add extra boards Two connectors for each port Fast USB 2.
To our valued customers Providing our users the ability to easily switch between architectures on the same development board has always been an engineering challenge for us. But we have mastered this technology during the past decade and now we present you the revolutionary board that combines support for three different microcontroller families: Microchip's dsPIC33®, PIC24® and PIC32®. EasyPIC Fusion™ v7 is the ultimate board for all of your 16-bit and 32-bit PIC projects. You made the right choice.
Table of contents Introduction Communication Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 04 USB-UART A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 It's good to know . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 05 USB-UART B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 USB host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
introduction Introduction EasyPIC Fusion™ v7 is the first board of it's kind to combine support for three popular Microchip® low-power microcontroller architectures in one place. We wanted to put as many peripherals on the board as possible, to cover many internal modules. We have gone through a process of fine tuning the board performance, and used 4-layer PCB to achieve maximum efficiency. Finally, it had met all of our expectations, and even exceeded in some.
introduction It's good to know System Specifications power supply 7–12V AC or 9–15V DC or via USB cable (5V DC) power consumption ~143mA (all modules are disconnected) weight ~460g (1.014 lbs) board dimensions 266 x 220mm (10.47 x 8.
power supply Power supply Board contains switching power supply that creates stable voltage and current levels necessary for powering each part of the board. Power supply section contains specialized MC33269DT3.3 power regu lator which creates VCC-3.3V power supply, thus making the board capable of supporting 3.3V microcontrollers.
Board power supply creates stable 3.3V necessary for operation of the microcontroller and all on-board modules. Power capacity: power supply Power supply: via DC connector or screw terminals (7V to 12V AC or 9V to 15V DC), or via USB cable (5V DC) up to 500mA with USB, and up to 1500mA with external power supply How to power the board? 1. With USB cable 1 2 3 4 5 6 Set J9 jumper to USB position To power the board with USB cable, place jumper J9 in USB position.
supported MCUs MCU cards Microcontrollers are supported using specialized MCU cards containing 104 pins, which are placed into the on-board female MCU socket. There are several types of cards which cover PIC24x, dsPIC33x, PIC32MX4xx, PIC32MX7xx microcontroller families in 100-pin TQFP packages. One of the MCU cards is shown on Figure 4-1. It contains PIC32MX795F512L microcontroller with on-chip peripherals and is a great choice for both beginners and professionals.
C2 100nF C3 100nF VCC C4 100nF VCC VCC C5 100nF C6 100nF RC4 RC2 RE7 RE5 VCC VCC supported MCUs C1 100nF VCC VCC RB0 RB2 RB4 RE9 RA0 MCLR# VCC 103 101 99 97 95 93 91 89 87 85 83 81 79 VCC C7 100nF VCC RG15 RG9_ETH MCLR# RG8_ETH RG7_RST# RG6 RC4 RC3 RC2 RC1 RE7 RE6 RE5 RB0 RB1 RB2 RB3 RB4 RB5 RE9 RE8 RA0 GND RB1 RB3 RB5 RE8 RG6 RC3 RC1 RE6 RG15 GND 104 102 100 98 96 94 92 90 88 86 84 82 80 HD3 VCC VCC E2 10uF 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 E1 10u
supported MCUs How to properly place your MCU card into the socket? Before you plug the microcontroller card into the socket, make sure that the power supply is turned off. Images below show how to correctly plug the MCU card. First make sure that MCU card orientation matches the silkscreen outline on the 1 Figure 4-3: On-board MCU socket has silkscreen markings which will help you to correctly orient the MCU card before inserting. page 10 EasyPIC Fusion™ v7 board MCU socket.
supported MCUs Other supported MCU cards MikroElektronika currently offers total of five populated MCU cards with different microcontrollers. You can also purchase empty PCB cards that you can populate on your own and solder any supported microcontroller you need in your development. There are total of five empty PCB cards available. This way your EasyPIC Fusion™ v7 board becomes truly flexible and reliable tool for almost any of your PIC24®, dsPIC33® and PIC32® projects.
programming On-board programmer What is mikroProg™? mikroProg™ is a fast USB 2.0 programmer with mikroICD™ hardware In-Circuit Debugger. Smart engineering allows mikroProg™ to support all PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC30/33, PIC32 MCU families in a single programmer! It supports over 570 microcontrollers from Microchip®. Outstanding performance and easy operation are among it's top features.
programming VCC-3.3V LINK ACTIVE VCC-3.3V DATA VCC-3.3V LD64 VCC-5V VCC-USB CN20 VCC-5V LD65 FP1 USBDN-CON LD66 USBDP-CON R2 2K2 R59 4K7 C5 100nF R61 6K8 LED-DATA LED-ACT LED-USB MCLR# RB6 RB7 VCC-3.3V C35 100nF MCU-VPP MCU-PGC MCU-PGD VCC-3.3V R45 10K T68 1 D- 2 D+ 3 GND 4 USB VCC-3.
programming Installing programmer drivers On-board mikroProg™ requires drivers in order to work. Drivers can be found on the link below: www.mikroe.com/eng/downloads/get/1202/ mikroprog_for_pic_drivers_v200.zip When you locate the drivers, please extract files from the ZIP archive. Folder with extracted files contains sub folders with drivers for different operating systems. Depending on which operating system you use, choose adequate folder and open it.
mikroProg Suite™ for PIC® On-board mikroProg™ programmer requires special programming software called mikroProg Suite™ for PIC®. This software is used for programming all of Microchip® microcontroller families, including PIC10, PIC12, PIC16, PIC18, dsPIC30/33, PIC24 and PIC32. Software has intuitive interface and SingleClick™ programming technology. To begin, first locate the installation archive on our website: programming Programming software Installation wizard - 6 simple steps http://www.mikroe.
programming mikroICD - In Circuit Debugger ™ What is Debugging? Every developer comes to a point where he has to monitor the code execution in order to find errors in the code, or simply to see if everything is going as planed. This hunt for bugs or errors in the code is called debugging.
Here is a short overview of which debugging commands are supported in MikroElektronika compilers. You can see what each command does, and what are their shortcuts when you are in debugging mode. It will give you some general picture of what your debugger can do. Toolbar Icon Command Name Shortcut Description Start Debugger [F9] Starts Debugger. Run/Pause Debugger [F6] Run/Pause Debugger. Stop Debugger [Ctrl + F2] Stops Debugger. Step Into [F7] Executes the current program line, then halts.
connectivity Input/Output Group One of the most distinctive features of EasyPIC Fusion™ v7 are it’s Input/Output PORT groups. They add so much to the connectivity potential of the board. Everything is grouped together Figure 6-1: I/O group contains PORT header, tri-state pull PORT headers, PORT buttons and PORT LEDs next to each other and grouped up/down DIP switch, buttons and LEDs all in one place together. It makes development easier, and the entire EasyPIC Fusion™ v7 cleaner and well organized.
connectivity Headers Buttons LEDs With enhanced connectivity as one of the key features of EasyPIC Fusion™ v7, we have provided two connection headers for each PORT. I/O PORT group contains one male IDC10 header (like CN13 Figure 6-3). There is one more IDC10 header available on the right side of the board, next to DIP switches (like CN16 on Figure 6-3). These headers can be used to connect accessory boards with IDC10 female sockets.
connectivity mikroBUS sockets ™ Easier connectivity and simple configuration are imperative in modern electronic devices. Success of the USB standard comes from it’s simplicity of usage and high and reliable data transfer rates. As we in MikroElektronika see it, Plug-and-Play devices with minimum settings are the future in embedded world too.
connectivity Opto click™ BEE click™ BlueTooth click™ WiFi PLUS click™ GPS click™ Click Boards are plug-n-play! ™ MikroElektronika portfolio of over 200 accessory boards is now enriched by an additional set of mikroBUS™ compatible Click Boards™. Almost each month several new Click boards™ are released.
The UART (universal asynchronous receiver/trans mitter) is one of the most common ways of exchanging data between the MCU and peripheral components. It is a serial protocol with separate transmit and receive lines, and can be used for full-duplex communication. Both sides must be initialized with the same baud rate, otherwise the data will not be received correctly. Enabling USB-UART A Modern PC computers, laptops and notebooks are no longer equipped with RS-232 connectors and UART controllers.
communication USB-UART B If you need to use more than one USB-UART in your application, you have another USB-UART B connector available on the board too. Both available USB-UART modules can operate at the same time, because they are routed to separate microcontroller pins. Enabling USB-UART B USB-UART B communication is being done through a FT232RL controller, USB connector (CN23) and microcontroller UART module.
communication USB HOST USB is the acronym for Universal Serial Bus. This is a very popular industry standard that defines cables, connectors and protocols used for communication and power supply between computers and other devices. EasyPIC Fusion™ v7 contains USB HOST connector (CN24) for USB Standard Type A plug, which enables microcontrollers that support USB communication to establish a connection with the target device (eg. USB Keyboard, USB Mouse, etc).
communication USB device US B DEV ICE CONNECTOR EasyPIC Fusion™ v7 also contains USB DEVICE connector (CN26) which enables microcontrollers that support USB communication to establish a connection with the target host (eg. PC, Laptop, etc). It lets you build a slave USB device (HID, Composite, Generic, etc.). Connector supports USB Standard Type B plug. Detection whether USB device is connected to HOST can be done through VBUS line. This line is connected directly to microcontroller pin.
communication Ethernet communication R63 10K R44 LED2 1K LD75 LED2 VCC-3.
communication CAN communication VCC-3.3V R57 10 TX-CAN RX-CAN 1 2 3 4 U7 D GND Vdd R Rs CANH CANL Vref 8 7 6 5 VCC-3.3V CANH C34 100nF CANL CN28 N O SN65HVD230 1 2 DATA BUS 3 4 5 Figure 13-1: CAN connection schematic 6 7 RG1 RG0 8 SW12 v7 Controller Area Network (CAN or CAN bus) is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other within a vehicle without a host computer.
multimedia Audio I/O It's hard to imagine modern multimedia devices without high quality audio reproduction modules. Sounds and music are almost as important as graphical user interfaces. Along with other multimedia modules, EasyPIC Fusion™ v7 contains high-end stereo VS1053 audio codec. It features Ogg Vorbis/MP3/AAC/WMA/FLAC/WAV/MIDI audio decoder, as well as an PCM/IMA ADPCM/Ogg Vorbis encoder on a single chip. Board also contains two stereo audio connectors for interfacing with standard 3.
multimedia microSD card slot VCC-MMC VCC-3.3V PH_SCK PH_MISO PH_MOSI 3 FERRITE E13 10uF SCK MISO MOSI 4 5 6 C30 100nF 2 FP2 N O Enabling microSD 1 VCC-MMC 7 8 RD12 RD13 PH_MISO SD-CD# 6 GND R56 27 SD-CS# SD-CD# 5 microS D CA RD S LOT PH_SCK 4 7 CD 1 2 4 5 6 7 3 CS Din +3.3V SCK GND Dout R51 10K SD-CS# PH_MOSI 2 MICROSD 8 In order to access microSD card, you must enable SPI communication lines using SW13.1 – SW13.
multimedia TFT display 320x240 pixels One of the most powerful ways of presenting data and interacting with users is through color displays and touch panel inputs. This is a crucial element of any multimedia device. EasyPIC Fusion™ v7 features TFT color 320x240 pixel display. It is a 2.83" display with LED back-light, featuring HX8347D controller.
Touch panel is a glass panel whose surface is covered with two layers of resistive material. When the screen is pressed, the outer layer is pushed onto the inner layer and appropriate controllers can measure that pressure and pinpoint its location. This is how touch panels can be used as an input devices. EasyPIC Fusion™ v7 is multimedia Touch Panel controller equipped with touch panel controller and connector for 4-wire resistive touch panels.
When working with multi media applications it is far more intuitive to use a single joystick than several different push buttons that are more far apart. This is more natural for users and they can browse through on-screen menus, or even play games much easier. EasyPIC Fusion™ v7 features navigation switch with five different positions: Up, Down, Left, Right and Center. Each of those acts as a button, and is connected to one of the following microcontrollers pins: RA4, RA5, RA6, RA7, RA1 (respectively).
Piezoelectricity is the charge which accumulates in certain solid materials in response to mechanical pressure, but also providing the charge to the piezo electric material causes it to physically deform. One of the most widely used applications of piezoelectricity is the production of sound generators, called piezo buzzers. Piezo buzzer is an electric component that comes in different shapes and sizes, which can be used to create sound waves when provided with analog electrical signal.
other modules DS1820 - Digital Temperature Sensor DS1820 is a digital temperature sensor that uses 1-wire® interface for it’s operation. It is capable of measuring temperatures within the range of -55 to 128°C, and provides ±0.5°C accuracy for temperatures within the range of -10 to 85°C. It requires 3V to 5.5V power supply for stable operation. It takes maximum of 750ms for the DS1820 to calculate temperature with 9-bit resolution.
The LM35 is a low-cost precision integrated-circuit temperature sensor, whose output voltage is linearly proportional to the Celsius (Centigrade) temperature. The LM35 thus has an advantage over linear temperature sensors calibrated in ° Kelvin, as the user is not required to subtract a large constant voltage from its output to obtain convenient Centigrade scaling. It has a linear +10.0 mV/°C scale factor and less than 60 μA current drain.
other modules Serial Flash Memory Flash memory is a non-volatile storage chip that can be electrically erased and reprogrammed. It was developed from EEPROM (electrically erasable programmable read-only memory) and must be erased in fairly large blocks before these can be rewritten with new data. The high density NAND type must also be programmed and read in (smaller) blocks, or pages, while the NOR type allows a single machine word (byte) to be written or read independently.
I C EEPROM EEPROM is short for Electrically Erasable Programmable Read Only Memory. It is usually a secondary storage memory in devices containing data that is retained even if the device looses power supply. EEPROMs come with parallel or serial interface to the master device. Because of the ability to alter single bytes of data, EEPROM devices are used to store personal preference and configuration data in a wide spectrum of consumer, automotive, telecommunication, medical, industrial, and PC applications.
other modules ADC inputs Digital signals have two discrete states, which are decoded as high and low, and interpreted as logic 1 and logic 0. Analog signals, on the other hand, are continuous, and can have any value within defined range. A/D converters are specialized circuits which can convert analog signals (voltages) into a digital representation, usually in form of an integer number. The value of this number is linearly dependent on the input voltage value.
EasyPIC Fusion™ v7 contains GND pins located in different sections of the board, which allow you to easily connect oscilloscope GND reference when you monitor signals on microcontroller pins, or signals of on-board modules. 1 1 GND is located just below power supply section. 2 GND is located below the micro SD section. 3 GND is located just above PORTG/L Input/Output Group.
What’s Next? You have now completed the journey through each and every feature of EasyPIC Fusion™ v7 board. You got to know it’s modules, organization, supported microcontrollers, programmer and debugger. Now you are ready to start using your new board. We are suggesting several steps which are probably the best way to begin. We invite you to join thousands of users of EasyPIC™ brand. You will find very useful projects and tutorials and can get help from a large ecosystem of users.
notes v7 page 41
notes page 42 v7
DISCLAIMER All the products owned by MikroElektronika are protected by copyright law and international copyright treaty. Therefore, this manual is to be treated as any other copyright material. No part of this manual, including product and software described herein, must be reproduced, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika.
If you want to learn more about our products, please visit our website at www.mikroe.com If you are experiencing some problems with any of our products or just need additional information, please place your ticket at www.mikroe.com/support/ If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.com EasyPIC FUSION v7 Manual ver. 1.