Home

User manual - MikroElektronika

image

Contents

1. 2 COLORS a aAA Suse HOST r AO states at up to LOOMhz which translates to 310DMIPS Performance wise this places FT90x high above many MCUs with similar clock rates The high speed also made it possible to integrate a camera interface into FT90x 5 te es Taking advantage of that feature EasyFT9Ox is our first Easy boards that incorporates a camera along with all other modules and connectors EasyFT90x v7 development Team Supporting video Onboard camera EasyFT9Ox is the first of our development boards with a camera taking advantage of the camera interface of FT90x MCUs The board also boasts a multitude of other multimedia features page 6 Everything is already here mikroProg on board Powerful on board mikroProg programmer and In Circuit debugger supports all existing FT90x MCUs It features fast enhanced programming and rich set of debugging instructions Two connectors for each port Amazing connectivity EasyFT90x v7 is all about connectivity Having two different connectors for each port you can connect accessory boards sensors and your custom electronics easier then ever before o For easier connections mikroBUS support This innovative socket allows you to use dozens of click add on boards with almost no hardware adjustments Adding new functionality to your device was never so easy It s good to know FT900 default mi
2. Lea G _ i vr EMMA FFT FFLFG CMOS image sensor Many on board modules Sas A AAAF PP O Essy TFT O aaa lalala ca Wa PAR 2 39 san AN y Easy add extra boards a r 4 m o IES H y Y om 1 t s a UN z a eo s gt an gt M8 9 OO gt tp NS oO fo O o O DRI1 Z 0 NS ao uno 99 OO GPIO 40 47 SMS MSI MAMA MM oer UD 7 ha peat ves a ut CABLE 1 ROTECY L STE BUTTON PRESS LEVEL Lo DEVELOPMENT TOOLS COMPILERS I BOOKS GPIO 438 55 GPIO 56 63 GPIO 64 56 a AAA AN Two connectors for each port PO mae ALA DON A Fast USB 2 0 programmer and E sa z eS a TTT sae SAN GP As GPa NEO PIES CHA 3 y POP Si Gea eS Sesso SSA GPS PS Y SPS ns YO Sith wi Ng A PTOP A foes y SOS MIOS Noa Le aA SPS s S Gee Nao Cure Pc SP SPs Sek AS ASA To our valued customers EasyFT90x v7 is our first development board for FT90x a new and exciting 32 bit MCU architecture from FTDI Chip We put all our expertise into designing it Our team relied on tried and tested concepts that define our range of Easy boards but we also incorporated innovations that utilize some standout features specific to FT9Ox You made the right choice But the fun has only just begun Nebojsa Matic Owner and General Manager o
3. page 17 x D LL Programmer debugger T Input Output Group One of the most distinctive features Tri state pull up down DIP switches of EasyFT90x v7 for are its Input Output PORT groups They add so much to the Tri state DIP switches like SW11 on Figure 6 3 are used connectivity potential of the board to enable 4K7 pull up or pull down resistor on any desired port pin Each of these switches has three states eS A A eS 7 7 ges Se Everything is grouped together 1 middle position disables both pull up and pull down a ch E c Mb GPOSfi iif c o GP02 1 19 b GPO1 i i d ORC o GPO0 U 11 _ tri state pull up down DIP switch buttons and LEDs all in one place PORT headers PORT buttons and PORT LEDs are next to each feature from the PORT pin Figure 6 3 other and grouped together This layout givest the EasyFT90x a clean 2 up position connects the resistor in pull up state to Tri state DIP switch well organized look and it makes development easier We have also provided the selected pin on PORTOO 07 additional PORT headers on the right side of the board so you can access any pin 3 down position connects the resistor in pull down you want from that side of the board too state to the selected PORT pin gt 5 as D E gm E g Eli mc tiporni Figure 6 1 1 0 group 00 Button press level tri state DIP switch is used to determine which logic level will c ae poe ses 07
4. Licensor or we for use of driver software provided by the Licensor Software When you locate the drivers please extract the setup file from the ZIP archive You should be able to locate the driver setup file Double click the setup file to begin installation of the programmer drivers x D LL BY INSTALLING OR USING THIS SOFTWARE YOU AGREE TO THE 9 accept this agreement Save As Print C dont accept this agreement mikroprog_suite_for_ft90x_drivers zip WinRAR ZIP archive se step 1 Start Installation step 2 Select Destination CDM v2 12 00 WHOL Certified exe Type Application Welcome screen of the installation Just click on Next Click Change button to select new destination folder y button to proceed or use the suggested installation path A 3 fr eroon Se Da Me Sec Deaton Wi FTDI CDM Drivers A a a Completing the Device Driver Installation Wizard Programmer debugger Click Extract to unpack version 2 12 00 of FTDI s Windows driver package and launch the installer The drivers were successfully installed on this computer You can now connect your device to this computer If your device came with instructions please read them first to 3 Please wait while the drivers install This may take some time to complete Driver Name Status FTDI CDM Driver Packa Ready to use Y FTDI CDM Driver Packa Ready to use www ftdich
5. Communication USB UART The UART universal asynchronous receiver transmitter is one of the most common ways of exchanging data between the MCU and peripheral components lt is a serial protocol with separate transmit and receive lines that 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 Modern PC computers laptops and notebooks are no longer equipped with RS 232 connectors and UART controllers They are nowadays replaced with USB In order to use the USB UART module on EasyFT90x v7 you can be found on link below E www ftdichip com Drivers VCP htm FT232RL snd VLVd connectors and USB controllers Still certain technology enables UART communication to be done via USB connection Controllers such as FT232RL from FTDI convert UART signals to the appropriate USB standard USB UART A communication is being done through a FT232RL controller USB connector CN8 and microcontroller UART module To establish this connection you must connect TX and RX lines of the FT232RL to the appropriate pins of the microcontroller This selection is done using DIP switches SW2 2 and SW2 3 must first install FTDI drivers on your computer Drivers VCC 5V VCC 3 3V VCC 3 3V CN8 R93 R92 VCC 1 2K2 4K7 E E RX TX O L Y Lu FTDI RXD o a x E Y LD9 LD10 m2 RX LED1 R91 GND4 no CU 22 TX LED1 4K7 30 49
6. In addition to mikroProg I O EFUSE ee EFUSE_SS om EasyFT90x allows eFUSE pro E RA USB 2 0 programmer debugger cw gramming eFUSE permanently he Ee as PRG_GP39 SB 2 gz e EL ct E J23 EFUSE MISO O programs the chip disabling fur AMA on gt EO ther altercations eFUSE is chiefly jj EFUSE MOSI PROGRAMMER used es me Ea een oer is oen 7 E to be installed in a final device for Qs _lvcc 1 8v SS security reasons To enable this SS a COMPILERS i ee a method of programming switch GP37 m e RST ee pan E the four jumpers under the mi MSGID me ue cas T S kroPROG USB port into the de 5 y E A Figure 5 1 mikroProg block schematics EFUSE position L a page 13 Installing programmer drivers On board mikroProg requires drivers in order to work Device Driver Installation Wiza Device Driver Installation Wizard Drivers are located on the link below SS S Welcome to the Device Driver Installation Wizard G www mikroe com downloads get 2216 E sae eo ha aa To continue accept the following license agreement To read the entire agreement use the scroll bar or press the Page Down key mikroprog_suite_for_ft90x_drivers zip IMPORTANT NOTICE PLEASE READ CAREFULLY BEFORE a INSTALLING THE RELEVANT SOFTWARE ee ee ee 3 Licensee or you and Future Technology Devices Intemational United of 2 Seaward Place Centurion Business Park Glasgow G41 1HH Scotland UK Company Number SC 136640
7. PWM backlight both SW5 7 and 5 8 should be turned on Figure 18 2 GLCD 128x64 connection schematic Lr a mo E Display Enable line DO D7 Data lines RST Display reset line Vee Reference voltage for GLCD contrast potentiometer P3 LED Connection with the back light LED anode LED Connection with the back light LED cathode page 31 x z H LL Multimedia Onboard camera A jumper to help you stream video over WIFI One of the most distinguishing features of FT90x microcontrollers is the integrated Camera Parallel interface CPI To make full use of it and to allow you to develop multimedia applications that combine the camera and TFT The first upper left pin of the mikroBUS EasyFT90x incorporates a O0OVO7670 VL2A CMOS image sensor The sensor has GP 0 GP54 socket is usually reserved for an analog line but a resolution of up to 640x480px but keep in mind that the EasyTFT screen at AU RETO in some click boards that pin has a different E has 320x240px CPI is an 8 bit interface Camera control signals are VSYNC function For example WiFi3 click uses that pin rep HREF and PCLK Therefore to enable the camera activate DIP switches from 7 1 for a PWD line Since the camera on EasyFT90x T through 7 8 as well as SW5 1 through 5 6 SW2 4 and SW2 5 should also be on takes up all the the analog lines we added a jumper J85 that enables you to reroute Figure 19 1 the AN pin on the second mikroB
8. layer is pushed onto the inner layer The pressure at the specific spot is measured by appropriate controllers This is how touch panels can be used as an input devices EasyFT90x v7 is equipped with a touch panel controller and a connector for 4 wire resistive touch panels lt can very accurately register pressure at a specific point representing the touch coordinates in the form of analog voltages which can then be easily converted to X and Y values Touch panel comes as a part of TFT 320x240 display TOUCHPANEL CONTROLLER page 30 Enabling Touch panel Touch panel is enabled using SW6 1 SW6 2 SW6 3 and SW6 4 switches They connect BOTTOM and LEFT lines of the touch panel with GP1O and GP11 analog inputs and DRIVEA and DRIVEB with GP31 and GP43 digital outputs on microcontroller sockets Make sure to disconnect other peripherals LEDs and additional pull up or pull down resistors from the interface lines so they do not interfere with signal data integrity CN29 20 QUAN YLO O nm GLCD TFT SOCKET SD luF 100nF pH FF Figure 17 2 Turn on switches SW6 1 SW6 2 SW6 3 and SW6 4 to enable Touch panel controller VREF VCC 3 3V FP4 VREF Q3 R13 FERRITE peace K c56 C57 READ X READ Y DRIVEA DRIVEB Figure 17 1 Touch Panel controller and connection schematic DATA BUS ALLE Ly czne RX USB UART R90 R91 C20 E Q O we 2 ue lle El ON USB HOST 128xb4 Graphical Liquid C
9. several new click boards are released carrying all types of sensors and communication modules There are over a 100 click boards to choose from You ll be able to expand your EasyFT90x v7 board with additional functionality with literally zero hardware configuration Just plug and play Q c13 Erri co ci2 12 tt Par t 3341 NC NC NC NC IRSTI NC TR zR ReRe a a R4 ps MIA Ss Nan fei MEN BN BlueTooth click E SAS erm KEN co pa a hard Cd Saar 3 EN DIS Mea microSD click MPU 9DOF click For the complete list of available click boards please visit ES www mikroe com click AT 608670003100 OVW O8n ztl VINOSMPZI8N dIHIOYOIA IT ce 1 Rights Reserved blox AG 0 m2 SS oe oo NO reo OO r o LEA 6S 0 000 a Eo PS VIF GUE click WiFi PLUS click A5839 antenova l 1137 jE 5 nRF24L01 C3 Fs ca CS pane i f oF y Am oleae hd had e 28 Eg aie Mas 22 85 a ae a AZ VO Level es Py a 4 j UE nm m Eas a Ca yy ea Sa z CHA E ag 5V PWR nRF click Proximity click NRF C click Proximity click 356308040476969 Model GL865 QUAD FCC ID RI7GL865Q IC 5131A GL865Q Q lt g tO wW o 4 10 de 7 R CIA RO IMEI apoga E CINC i 33v SIV BV Hi i m GSM click o GNO A PHR SEL yg BUZZ zz click BUZZ click page 21 x D et LL Connectivity x D LL
10. y LL a D1 Qu LZ BAT43 BC846 GND4 cn z R81 R85 USB VBUS 230 i TE Ik a You can enable or disable power supply to USB device connected to HOST through microcontroller GPO2 pin In order to connect EN TPS2041B IC pin to microcontroller you must push SW3 2 to ON position page 23 EasyFT90x v7 also contains USB DEVICE connector CN9 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 USB Device is directly connected to MCU pins GPOS USBD N and USBD P no switches to flip When connected to HOST dedicated amber colored power LED will light up as well GP03 DTC USB D_P USB DEVICE CONNECTOR GROUNDPROBES Figure 10 1 USB host s E B Le i A GND GND connection schematic Ethernet iS a popular computer networking technology for local area networks LAN Systems communicating over Ethernet divide a stream of data into individual packets called frames Each frame contains source and destination addresses and error checking data so that damaged data can be detected and re transmitted EasyFT90x v7 features a standard RJ 45 connector which enables microcontrollers that support Ethernet communication to establish a connection with a computer router or other devices All four Ethernet lines TPOUT
11. you accept the terms of the agreement select the first option below You must accept the agreement to install mikroProg Suite For FT90x v1 00 Click Next to continue ns of the License Agreement terms of the License Agreement of the agreement x D ke LL _ lt eeck Jl net gt ome y mikroProg Suite For FT90x v1 Choose Install Location Choose the folder in which to install mikroProg Suite For FT90x v1 00 JO Setup Setup will install mikroProg Suite For FT90x v1 00 in the following folder To install in a different folder click Browse and Destination Folder Public Documents Mikroelektronika mikroProg Suite For FT90x Space required 3 4MB Space available 13 5GB mikroProg Suite For FT90 select another folder Click Install to start the installation Programmer debugger Completing the mikroProg Suite For FT90x v1 00 Setup Wizard mikroProg Suite For FT90x v1 00 has been installed on your compu Click Finish to dose this wizard page 15 x D p LL Programmer debugger Hardware 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 planned This hunt for bugs or errors in the code is called debugging There are two ways to do this one is the software simulation which enables you to simulate what is supposed to be happeni
12. 0 GP44 SCL MOSI GP29 GP45 SDA 3 3V 1 mikro BUS AN IO GPS7 PWM RST GP04 GPOS INT CS GP61 GP53 RX SCK GP27 GP52 TX MISO GP30 GP44 SCL MOSi GP29 GP45 SDA 3 3V mikroBUS pinout explained AN Analog pin RST Reset pin CS SPI Chip Select line SCK SPI Clock line MISO SPI Slave Output line MOSI SPI Slave Input line 3 3V VCC 3 3V power line GND Reference Ground VCC 3 3V sor AN im AN PWM E m AN PWM E Jj MN Jj A a my me css AT i cal x Rar E SCK TX SN J85 La A SCK TX 5 Jj z Jj m MISO SCL E m MISO SCL Jj MN Jj mi 3 3V SV E im 3 3V SV Mi mi GND GND m GND GND Mi MIKROBUS 1 MIKROBUS 2 we PWM PWM output line INT Hardware Interrupt line RX UART Receive line TX UART Transmit line SCL C Clock line SDA C Data line 5V VCC 5V power line GND Reference Ground DATA BUS Figure 7 1 mikroBUS connection schematic Integrate mikroBUS in your design mikroBUS is not made only to be a part of our development boards You can freely place mikroBUS host connectors in your final PCB designs as long as you clearly mark them with mikroBUS logo and footprint specifications For more information logo artwork and PCB files visit our website www mikroe com mikrobus click boards are plug and play For a few years now we have been expanding our range of click boards Almost each month
13. 21 USB B q 1 E 1 LL R90 1 10K 1 16 FTDI1 D_N 1 15 FTDI1 D P C25 100nF Figure 8 1 USB UART connection schematic page 22 Enabling USB UART zzz VE E In order to enable USB UART communications you must push SW2 2 6P49 and SW2 3 6P48 to ON position This connects the RX and TX lines to GP48 and GP49 microcontroller pins ok WE SUS neos La E ph USB HOST 2 x lt z a m B ra rA communication yh C USB is the acronym for Universal Serial Bus This is to establish a connection with the target device a very popular industry standard that defines cables eg USB Keyboard USB Mouse etc USB host also z connectors and protocols used for communication provides the necessary 5V power supply to the target and power supply between computers and other via TPS2041B IC Detection whether USB device is E devices EasyFT90x v7 contains a USB HOST connector connected to HOST connector can be done through E CN10 for a USB Standard Type A plug which enables VBUS line Connection of USB HOST VBUS line and 5 microcontrollers that support USB communication GPOO pin is established when SW3 1 is on vecaav vecav ves Figure 9 1 USB host Powering USB device op g gt ASA connection schematic 2K2 lt pe LD30 i VCC 5V Lo Figure 9 2 Uii e a Powering USB EN 2 CN10 device through 1ID gt O voci x PSW line f TPS2041B E El H DN D 2 i 10uF 10uF O O
14. 7 board MCU socket Place the MCU card over the socket so each male header is properly aligned with the female socket as shown in Figure 4 4 Then put the MCU card slowly down until all the pins match the socket Check again if Figure 4 4 Place the MCU card on the socket so that pins are aligned correctly everything is placed correctly and press the MCU card until it is completely plugged into the socket as shown in Figure 4 5 lf done correctly all pins should be fully inserted Only now can you turn on the power supply Figure 4 5 Properly placed MCU card On board programmer What is mikroProg M mikroProg is a fast programmer and debugger for FT90x devices the first of its kind The programmer supports all currently available FT9Ox devices It also features a powerful debugger which will be of great help in your development Dutstanding performance and easy operation are among it s top features x D i UL How do I start In order to start using mikroProg and program your microcontroller you just have to follow two simple steps 1 Install the necessary software Install programmer drivers Install mikroProg Suite for FT90x software 2 Power up the board and you are ready to go Plug in the programmer USB cable LINK LED should light up mikroProg Programmer debugger VCC USB mikroProg or eFUSE DBG mikroProg PRG_GP37 ya f TM J21 O
15. CC 1 8V AP7331 ADJ R101 R102 22K 12K1 page 27 Secure Digital SD is a non volatile memory card format developed for use in portable devices It comes in different packages and memory capacities It is mostly used for storing large amounts of data EasyFT90x v7 features a microSD card slot The microSD form factor is the smallest card format currently available It uses a standard SPI user interface with minimum additional electronics mainly used for stabilizing communication lines which can be significantly distorted at high transfer rates Special ferrite is also provided to compensate the voltage and current glitch that can occur when pushing in and pushing out microSD card into the socket In order to access the microSD card you must enable communication lines with switches SW4 1 through SW4 8 page 28 SD CD SD DATAO SD DATA1 SD DATA2 SD DATA3 SD CMD SD CLK MICRO SD CARD 0 E GP25 p GP24 S GP23 5 GP22 j GP21 GP20 GP19 OZz lt Sw4 a vCESD microSD CARD SLOT SD DATA2 R41 27 SD DATA3 R42 27 SD CMD R43 27 SD CLK R44 27 SD DATAO R45 27 SD DATA1 R46 27 COIN I DOTA UN CN6 Figure 15 1 microSD card slot connection schematics 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 EasyFT90x v7 featur
16. CC 3 3V C EEPROM R58 EM R59 VCC 3 3V VCC 3 3V 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 its power supply 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 EasyFT90x v7 supports serial EEPROM which uses 12 communication interface and has 1024 bytes of available memory EEPROM itself supports single byte or 16 byte page write and read operations Data rates depend on the power supply voltage and go up to 400 kHz for a 3 3V power supply DATA BUS R59 2K2 Figure 25 1 Schematic of l C EEPROM module page 38 Enabling I C EEPROM Figure 25 2 Turn on switches SW2 4 and SW2 5 to connect EEPROM lines to MCU In order to connect C EEPROM to the microcontroller you must enable SW2 4 and SW2 5 switches as shown on Figure 23 2 2K2 pull up resistors necessary for I C communication are already provided on SDA and SCL lines once switches are turned on Prior to using EEPROM in your application make sure to disconnect other peripherals LEDs and additional pull up or pull down resistors from GP45 and GP44 communication lines that could interfere with the data signals and ca
17. GPIO PORT 40 47 GPIO_PORT_16 23 0 GPIO PORT 24 31 0 4 GPIO PORT 48 55 GPIO PORT 32 39 of GPIO PORT 40 47 o GPIO PORT 56 63 a en 55 aa a 39 GP1O_PORT_48_55 0 SN iEn GPIO PORT 64 66 e Gpro_porT_g4_66 0 foric_Port_os_ e i GPIO_PORT_16_23 5 GP1O_PORT_21_31 gt so I0 GPTO T_48 GPIO PORT 56 63 i tog 3 GPIO PORT 64 66 g toglie PO 4 66 4 PC 0 000338 LEO A E Me C Watch Clock 3 Y Error Cydes Time Current Count 4 194 41 94 us Line T 0 1 MErOCFT9Ox exe MSF DEG p FT900 BIN DL SSA 011111114 fo100 N C Users PubliciDocu Delta B pone 0 122 Comp aton Started Ledtiniang c a 3 34 57 123 Compled Successfully LedBiriing c E Stopwatch 4 194 41 94us o 27 Ales Conce 4708 0 1144 Used RX 14 44 Free RX 18 95 Used RX 14 44 Free RX 18 56 5 o 1144 Static RAM bytes 4 Dynamic RAM bytes 65525 Static RAM bytes 4 Dynamic RAM bytes 65525 oo m Metz 0 114 Used ROM bytes 1012 0 Free ROM bytes 261132 100 Used ROM bytes 1012 0 Free ROM bytes 2611 25 Project Linked Successfully Leditniang mepfy We Insert Compiled C A Documents Mikroelektronika mikeoC PRO for FTS0x Examples FasyfT90x VIAL ed Blinking LedBlinking c Figure 5 3 mikroC PRO for FT90x compiler in debugging view with SFR registers in Watch Window Debugger commands Here is a short overview of which debugging commands are supported in MikroElektronika compilers Yo
18. PIO34 GPIO29 13 a GPIOO 66 Sl 65 GP1029 VCC1V2 mu GPIO3S 210 z GPIO30 14 Pos pers 62 ion GPIO66 64 MR 63 GPIO65 P1037 23 fal 24 GPIO38 NW GPIO31 15 Polo FT9000 iC Sara 10 z GPIO64 62 WN 61 GPIO63 F GPIO32 16 es peleo 60 C6 C7 GPIO62 60 PEE 59 GPIOG1 Sas Z eter YYWW A GP102 AMECA 18pF 18pF GPIO60 gt 38 aa GPIO34 18 wg 58 GPIO58 56 aa GPIO35 19 57 o ae 1068 GPIO36 20 pas 56 GPIO66 GPIO37 21 55 nee pice 00 GPIO38 22 cp1038 eee 54 GPIO64 GPIO39 23 5 GPIO39 GPIO63 GP1040 ON GP1062 PUC GPIO41 51 GPIO41 GPIO42 GPIO43 GPIO44 GPIO45 GPIO46 GPIO47 FSOURCE VPP RESETN STESTRESTN DEBUG GPIO48 GPIO49 GPI050 GPIO51 GPIO52 GPIO53 GPIO54 GPIO55 GND VCC3V3 GPIO56 GPIO57 GPIO58 GPIO60 GPIO61 VCC 3 3V VCC 3 3V VCC 3 3V VCC 3 3V VCC 3 3V VCC 3 3V VCC 3 3V VCC 3 3V c8 cg C10 Cit i ji En 1000 100 100nF 100nF 10uF 10uF Jue VCC 1 2V VC Figure 4 2 MCU card schematic 1 2V VCC 1 2V VCC 1 2V VCC 1 5V page 11 0 gt O gt 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 Figure 4 3 On board MCU socket has silkscreen markings which will help you to correctly orient the MCU card before inserting page 12 on the EasyFT9Dx v
19. TPOUT TPIN and TPIN are routed directly to the MCU card socket and cannot be accessed via PORT headers Additional signalization LEDs green and yellow are provided on the Board next to RJ 45 connector LEDB R62 VCC 3 3V ETA LEDO LD39 VCC 3 3V CONNECTOR ETHERNET LEDA VEC 3 3V LD40 ETHCEEDI SOCKET 2K2 Figure 11 1 Ethernet connection schematic page 25 Communication CAN communication 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 CAN is a message based protocol designed specifically for automotive applications but now also used in other areas such as industrial automation and medical equipment EasyFT90x v7 is equipped with SN65HVD230 a 3 3V CAN Transceiver and a pair of screw terminals which provide microcontrollers with integrated CAN controller with the necessary physical interface for CAN communication Make sure to correctly connect negative and positive differential communication lines before using this module Enabling CAN In order to enable CAN communication you must push SW3 3 GP16 and SW3 4 GP15 to ON position This connects the TX and RX lines to appropriate microcontroller pins and its CAN module Figure 12 2 enabling CAN communication page 26 DATA BUS O O SN65HVD230 CN30 Figure 12 1 CAN connection schemat
20. US socket Enabling the Camera Jumper J85 reroutes GP10 to a General Purpose IO GP54 This To use the onboard camera flip the following switches to the ON position SW7 1 the AN pin on the second allows you to use some of those click boards SW7 2 SW7 3 SW7 4 SW7 5 SW7 6 SW7 7 SW7 8 SW5 1 SW 5 2 SW5 3 SW5 4 mikroBUS socket from like WiFi3 click together with the camera to SW5 5 SW5 6 SW2 4 and SWe 5 GP10 to GP54 stream video over WiFi for example hye Oo m 5 DATA BUS AVDD 2 8V VCC 1 8V AVDD 2 8V CAM_PWDN CAM_RST CAM_HREF CAM_VSYNC CAM_PCLK CAM_XCLK OV07670 VL2A 12C0 SCL C AM A T2C0 SDA CAM_STROBE _E2 CAM_XCLK CAM_PWDN 12C0 SDA 1 31 GPIO 32 39 GPIO 40 47 Figure 19 2 Onboard camera connection schematic page 32 Navigation switch When working with multimedia applications it is far more intuitive to use a single joystick than several different push buttons that are far apart This is more natural for users as they can browse through on screen menus or even play games much easier EasyFT90x v7 features a 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 microcontroller pins GP64 GP62 GP66 GP63 GP65 respectively Before using the navigation switch it is necessary to pull up mentioned microcontroller pins usi
21. a E O O x D LL Connectivity mikroBUS sockets Easier connectivity and simple configuration are imperative in modern electronic devices Success of the USB standard comes from its 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 the embedded world too This is why our engineers have come up with a simple but brilliant pinout with lines that most of today s accessory boards require which almost completely eliminates the need for additional hardware settings We called this new standard the mikroBUS EasyFT90x v7 supports mikroBUS with two on board sockets As you can see there are no additional DIP switches or jumper selections Everything is already routed to the most appropriate pins of the microcontroller sockets mikroBUS host connector Each mikroBUS host connector consists of two 1x8 female headers containing pins that are most likely to be used in the target accessory board There are three groups of communication pins SPI UART and F C communications There are also single pins for PWM Interrupt Analog input Reset and Chip Select Pinout contains two power groups 5V and GND on one header and 3 3V and GND on the other 1x8 header VCC 3 3V a GP09 mikro 55 4BUS AN GP09 RST GP01 CS GP28 SCK GP27 GP56 PWM GPO3 INT GP53 RX GPS52 TX MISO GP3
22. apply logic one to the appropriate microcontroller pin The same goes for GND If DIP switch is in the middle position neither of two logic states will be applied to the appropriate microcontroller pin You can disable pin protection 220chm resistors by placing jumpers J6 and J7 which will connect your push buttons directly to VCC or GND Be aware that doing so you may accidentally damage the MCU in case of wrong usage Reset Button In the far upper right section of the board there is a RESET but ton which can be used to manu ally reset the microcontroller LED Light Emitting Diode is a highly efficient electronic light source When connecting LEDs it is necessary to place a current limiting resistor in series so that LEDs are provided with the current value specified by the manufacturer The current varies from 0 2mA to 20mA depending on the type of the LED and the manufacturer The EasyFT90x v7 board uses low current LEDs with typical current consumption of D 2mA or 0 3mA Board contains 67 LEDs which can be used for visual indication of the logic state on PORT pins An active LED indicates that a logic high 1 is present on the pin In order to enable PORT LEDs it is necessary to enable the corresponding DIP switch on SW8 Figure 6 6 SMD resistor limiting current through the LED T gt m lt Q Figure 6 6 SW8 1 through SW8 8 switches are used to enable PORT LEDs page 19 gt 2 O
23. atile storage chip that can be electrically erased and reprogrammed It was developed from EEPROM electrically erasable VCC 3 3V SPIM MISO SPIM MOSI FLASH CS VCC 3 3V VCC 3 3V 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 Flash memories come in different sizes and supporting different clock speeds They are mostly used for mass storage as in USB Flash Drives which are very popular today EasyFT90x features M25P80 Serial Flash Memory which uses SPI communication interface and has 8 Mbits of available memory organized as 16 sectors each containing 256 pages Each page is 256 bytes wide Thus the whole memory can be viewed as consisting of 4096 pages or 1 048 576 bytes Maximum clock frequency for READ instructions is 4OMHz DATA BUS Figure 22 1 Schematic of Serial Flash Memory module Enabling Serial Flash In order to connect Serial Flash Memory to the microcontroller you must enable SW2 1 SW2 6 SW2 7 and SW2 8 switches This connects SPI lines to GP51 CS MOSI MISO AND SCK microcontroller pins What is SPI The Serial Peripheral Interface Bus or SPI bus is a synchronous serial data link standard that operates in full duplex mode It consists of fo
24. contains PORT header be applied to port pins when buttons are pressed r gt a O 03 sl 0 00 OIdD Rs E a 5 E Ms UY i 3 LEDS ON SWii GPO1 4 GP00 GPO1 Figure 6 2 Schematic of the single I O group connected to microcontroller PORT 00 07 lt re DORER LOL AJH MH VCC 3 3V VCC 3 3V CN11 CNi VCC 3 3V gt Figure 6 4 Switch SW8 1 enables LEDs S Lil lt on PORT group O lt 00 07 VCC 3 3V GP07 PORT_00_07 LEVEL With enhanced connectivity as one of the key features of EasyFT90x v7 we have provided two connection headers for each PORT O PORT group contains one male IDC10 header like CN11 shown above There is one more IDC10 header available on the right side of the board next to DIP switches like CN12 on Figure 6 4 These headers can be used to connect accessory boards with IDC10 female sockets Figure 6 4 IDC10 male headers enable easy connection with MikroElektronika accessory boards Figure 6 5 Button press level DIP switch tri state BUTTON PRESS LEVEL The logic state of all microcontroller digital inputs may be changed using push buttons Tri state DIP switch SW11 is available for selecting which logic state will be applied to corresponding MCU pin when button is pressed for each I O port separately If you for example place SW11 1 in VCC position then pressing any push button on PORT 00 07 1 0 group will
25. crocontroller system specification Package contains FT900 is the default chip of EasyFT90 v7 It operates at a 100MHz has B 256K bytes of program shadow memory 64K bytes of data memory a Ed Damage resistant protective box parallel camera interface USB2 0 Hi Speed 480Mbps host controller SV k 2 with BCD emulation 1 S master slave interface 24 57 22 57MHz 65 A NK General purpose 1 0 pins 4x16 bit timers with prescale and watchdog power supply THe VIAN funtion two 10 bit DACs 2 programmable UARTs 7xpwm master 7 23V AC or 9 32V DC BRS slave 1 C one master and two slave SPI and 2xCAN controllers or via USB cable 5V DC wikroEIektronika CONSUMPTION NY power consumption 72 80mA when all peripheral modules are disconnected U board dimensions 266 x 220mm 10 47 x 8 66 inch User manual and board schematics Great choice for both beginners and professionals o EasyFT90x Rich with modules tii a E TT h tesyFT90x Comes with examples for mikroC mikroBasic and weight a Schematic mikroPascal compilers 1 1 Ibs da page Power supply The board contains a 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 regulator which creates VCC 3 3V power supply thus making the board capable of supporting 3 3V microcontrollers Power supply unit can be
26. d point to the HEX file location Then click the Write button to begin programming Click the Erase button to wipe out the microcontroller memory lt Figure 5 2 mikroProg Suite window Installation wizard 6 simple steps or FT90x v1 00 Setu Welcome to the mikroProg Suite For FT90x v1 00 Setup Wizard This wizard will guide you through the installation of mikroProg Suite For FT90x v1 00 It is recommended that you dose all other applications before starting Setup This will make it possible to update relevant system files without having to reboot your computer Click Next to continue 3 mikroProg Suite For FT90x v1 00 Setu 9 Install For All Users recommended Current User Please wait while mikroProg Suite For FT90x v1 00 is being installed Create shortcut C Users Public Desktop mikroProg Suite For FT90x Ink lt Back I Next gt Cancel Step 5 Installation in progress Step 6 Finish Installation mikroProg Suite For FT90x v1 License Agreement J0 Setup Please review the license terms before installing mikroProg Suite For FT90x v1 00 Press Page Down to see the rest mikroElektronika Associates License Statement and Limited Warranty IMPORTANT READ CAREFULLY This license statement and limited warranty constitute a legal agreement License including any software media and accompanying on ine or printed documentation If
27. d via adapter connector place jumper J1 in EXT position You can then plug in the adapter cable as shown on images and and turn the power switch ON 3 With laboratory power supply Set J1 jumper to EXT position To power the board using screw terminals place jumper J1 in EXT position You can then screw on the cables in the screw terminals as shown on images O and O and turn the power switch ON via DC connector or screw terminals 7V to 23V AC or 9V to 32V DC or via USB cable 5V DC up to 500mA with USB and up to 1500mA with external power supply page 9 x D kee LL Power supply 0 gt O 2 MCU caro Microcontrollers are Supported using specialized MCU cards containing 104 pin which are placed into the on board female MCU socket Figure 4 1 The default card contains the FT900 O microcontroller with on chip peripherals After testing and building the final program on the development board this card can also be taken out of the socket and used in your final device Soa EasyFT9Ox v7 with FT900 TGE page 10 mihietan TR RO Em R4 fr RS fitt RE fmm C10 T AFIESTESTETERIETITILETT TT gS Comuniones 3 mock R7 T me PS Mm E GP48 GP50 FT900 has 100MHz maximum frequency 256KB of Flash 64KB of on chip data memory and 256KB of Shadow program memory It has an integrated Parallel Camera Interface Ethernet USB Ho
28. es an EasyTFT board carrying a 320x240 pixel 2 83 color TFT display with LED back light and a HX8347D controller Each pixel is capable of showing 262 144 different colors TFT display is connected to microcontroller PORT 32 39 using standard 8080 parallel 8 bit interface with additional control lines Board features back light driver which besides standard mode can also be driven with PWM signal in order to regulate brightness in O to 100 range Eau A v DATA BUS en 232 fel EasyTF 262K COLORS E VCC 5V SIS VCC 3 3V i te IMPORTANT In order to use PWM back light both SW13 3 and SW13 4 switches must be enabled at the same time CN29 Driving Display Back light TFT display is enabled using SW5 7 SWS5 8 DIP switches Back light can be enabled in two different ways BCK_LIGHT BCK_PWM 1 lt can be turned on with full brightness using SW5 8 switch 2 Brightness level can be determined with PWM 100002 signal from the microcontroller allowing you to Figure 16 2 Turn KEKE write custom back light controlling software This on switches SW5 7 A back light mode is enabled when both SW5 7 and and SW5 8 to enable Figure 16 1 TFT display connection schematic SW5 8 switches are in ON position back light page 29 x D LL Multimedia Touch Panel controller Atouch panel is a glass panel whose surface is covered with two layers of resistive material When the screen is pressed the outer
29. f MikroElektronika 000 o o o o o o gt Q o o e Table of contents Introduction Introduction It s good to know Power supply Power supply Supported MCUs MCU cards MCU card schematic Programmer debugger On board programmer Installing programmer drivers Programming software mikrolCD Connectivity Input Output group mikroBUS sockets click boards 10 11 13 14 15 16 18 20 el Communication USB UART USB host USB device Ethernet communication CAN communication es Multimedia Audio Input Output microSD card slot TFT display 320x240 pixels Touch panel controller GLCD Camera Navigation switch Piezo buzzer Other modules Serial flash memory DS1820 Digital temperature sensor LM35 Analog temperature sensor lC EEPROM ADC inputs Additional GNDs page 5 ee 23 24 25 26 26 27 28 29 30 al de d3 34 Ja 36 ay 38 ad 40 x D p LL introduction a i 23074 gt POWERS Introduction x N A The FT90x family of MCUs is based on FTDI Chip s proprietary 32 bit RISC core called MUA fos ADA UPPLY Zz 1 SA 53 ENT BOARD A ow N ee SESTIERE pie ee p DoDSSePe ESO TELLA FT32 The most exciting feature of this new architecture is its ability to execute ai A instructions from Shadow RAM This enables FT90x MCUs to operate at zero wait SE a az pla O 2
30. ic 2 FT90x microcontrollers have an integrated I S master slave interface 1 S is a serial bus standard used for carrying audio data between various devices hence the protocol is sometimes called Inter IC Sound The interface comprises a Bit clock line a Left Right clock line LRCLK a Master clock MCLK and two data lines SDAI SDAO The bit clock BCLK regulates data transmission one pulse for each bit while the pulsing of the LR clock specifies which data channel is currently being transferred by convention low level is for the left audio channel high level for the right The master clock is used by an I S slave module if required The frequencies for these clocks are derived from the external 24 576 MHz crystal oscillator which is tucked under the MCU card on the EasyFT90x board In case you won t be using S you can free up the extra pin GP66 by placing Jumper J86 in the GPIO position VCC 3 3V Figure 13 1 Schematic of S module 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 EasyFT90x v7 contains high end stereo VS1053 audio codec It features Ogg Vorbis MP3 AAC WMA FLAC WAV MID 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 s
31. ika Ltd www mikroe com
32. ip com ws ema ome Step 3 Installing drivers step 4 Finish installation Drivers are installed automatically in a matter of You will be informed if the drivers are installed correctly seconds Click on Finish button to end installation process page 14 Programming software mikroProg Suite for FT9Dx A standalone programming software utility called mikroProg Suite for FT9Ox is available as an alternative to programming the MCU directly from the FT90x compiler This software is used for programming of all supported FT90x microcontrollers The software has an intuitive interface and SingleClick programming technology To begin first locate the installation archive on our web site www mikroe com downloads get 2215 mikroprog_suite_ft90x_v100 zip After downloading extract the package and double click the executable setup file to start the installation File History Devi Detect MCU HEX BIN File Load Save Reload CODE Options Progress Quick Guide Click the Detect MCU button in order to recognize the device ID Click the Read button to read the entire microcontroller memory You can click the Save button to save it to target HEX file If you want to write the HEX file to the microcontroller first make sure to load the target HEX file You can drag and drop the file onto the software window or use the Load button to open the Browse dialog an
33. located just above PORT64 66 Input Output Group What s Next You have now completed the journey through each and every feature of EasyFT90x v7 You got to know its 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 the users of the EasyFT90x brand You will find very useful projects and tutorials and can get help from a large ecosystem of users Welcome Projects Once you have chosen your compiler and since you already got the board you are ready to start writing your first projects We have equipped our compilers with dozens of examples that demonstrate the use of each and every feature of the EasyFT90x v7 board and all of our accessory boards as well This makes an excellent starting point for your future projects Just load the example read well commented code and see how it works on hardware Browse through the compiler Examples on this link E3 www mikroe com easyft90x Compiler You still don t have an appropriate compiler Locate the FT90x compiler that suits you best on our website G www mikroe com ft90x compilers Choose between mikroC mikroBasic and mikroPascal and download fully functional demo version so you can begin building your FT90x applications Community If you want to find ans
34. m software which emulates the desired signal waveform Supported sound frequenciesof the duty cycle You can generate PWM signal using hardware capture compare module which is usually available in most microcontrollers or by writing a custom software which emulates the desired signal waveform VCC 5V DATA BUS PZL BUZZER BUZZER Ih Ph 9S O ES SW6 Figure 21 1 Piezo buzzer connected to GP55 microcontroller pin page 34 Enabling Piezo Buzzer In order to use the on board Piezo Buzzer in your application you first have to connect the transistor driver of piezo buzzer to the appropriate microcontroller pin This is done using the SW6 6 DIP switch which connects it to GP55 pin Figure 21 2 push SW6 6 to ON position to connect Piezo buzzer to GP55 Supported sound frequencies Piezo buzzer s resonant frequency where you can expect it s best performance is 3 8kHz but you can also use it to create sound in the range between 2kHz and 4kHz How to make it sing Freg 3kHz Duty Cycle 50 re Mi Volume 50 Freg 3kHz Duty Cycle 80 i rE e Volume 80 Freg 3kHz Duty Cycle 20 J ae fi Freq 3kHz Volume 20 Buzzer starts singing when you provide PWM signal from the microcontroller to the buzzer driver The pitch of the sound is determined by the frequency and amplitude is determined by the duty cycle of the PWM signal Serial Flash Memory Flash memory is a non vol
35. n is represented in maximum number of bits that the resulting number occupies Most microcontrollers have 10 bit resolution meaning that maximum value of conversion can be represented with 10 bits which converted to integer is 210 1024 This means that the supported voltage range for example from 0 1 8V can be divided into 1024 discrete steps of about 1 758mV EasyFT90x provides two interfaces in the form of potentiometers for simulating analog input voltages that can be routed to any of the 5 supported analog input pins Figure 26 1 Schematic of ADC inputs VCC 33 In order to connect the output of the potentiometer P1 to GP06 GP07 GPO8 GP09 or GP10 analog microcontroller input you have to place the jumper J81 in the desired position By moving the potentiometer knob you can create voltages in range from GND to VCC The same applies for potentiemeter P2 and its corresponding jumper J82 just make sure not to put both potentiometers to the same input page 39 EasyFT90x v7 contains GND pins located in different sections of the board which GND is located allows you to easily connect oscilloscope GND reference when you monitor signals below power on microcontroller pins or signals of on board modules Supply region GND is located below microSD section Figure 27 1 Three oscilloscope GND pins are conveniently positioned so different parts of the board can be reached with an oscilloscope probe GND is
36. nables you to get analog readings from the LM35 sensor in restricted temperature range from 2 C to 150 C The board has a socket T82 for the LM35 sensor in TO 92 plastic packaging The microcontroller reads of the temperature data of a single analog input line which is selected with jumper J84 GP11 DATA BUS Figure 24 1 LM35 connected to PCO pin GP12 GP11 at Y CO my 9 51 WS m Een No J O lt Z lt q Figure 24 2 Choose between two analog input lines to use with LM35 with jumper J84 Enabling LM35 Sensor G N e 2 J84 Other modules ANALOG po nid D O 3 lt Z lt CN G s TON G Q Figure 24 3 LM35 socket Figure 24 4 LM35 correctly placed in socket Use the jumper J84 right next to the temperature sensor to connect it to either GP11 or GP12 Having two pins to choose from gives you more flexibility to use the temperature sensor with other board modules When placing the sensor in the socket make sure that half circle on the board s silkscreen markings matches the rounded part of the LM35 sensor If you accidentally connect the sensor the other way it can be permanently damaged and you might need to replace it with another one During the readings of the sensor make sure that no other device uses the selected analog line because it may interfere with the readings page 37 x lt D kee LL x D p UL Other modules VCC 3 3V V
37. ng on the microcontroller as your code lines are executed and the other most reliable one is monitoring the code execution on the chip itself And this latter one is called hardware debugging hardware means that it is the real deal code executes right on the target device What is hardware debugger The on board mikroProg programmer supports a hardware debugger a highly effective tool for Real Time debugging on hardware level The debugger enables you to execute your program on the host FT90x microcontroller and view variable values Special Function Registers SFR RAM CODE along with the code execution on hardware Whether you are a beginner or a professional this powerful tool with an intuitive interface and convenient set of commands will enable you to track down bugs quickly mikroProg debugger is one of the fastest and most reliable debugging tools on the market supported Compilers All MikroElektronika compilers mikroC mikroBasic and mikroPascal for FT9Dx natively support mikroProg for FT9Ox Specialized DLL module allows compilers to exploit the full potential of fast hardware debugging Along with compilers make sure to install the appropriate programmer drivers and mikroProg Suite for FT90x programming software as described on pages 14 and 15 page 16 How do I use the debugger When you build your project for debugging and program the microcontroller with this HEX file you can start
38. ng tri state DIP switches located in 1 0 groups Figure 20 1 After pressing the navigation switch in desired direction associated microcontroller Navigation switch is an intuitive solution for browsing through on screen menus pins are connected to GND which can be detected in user software x lt D LL Multimedia RIGHT _GP63 GP64_ UP DOWN__ GP62 ep fae lt L lt a VCC 3 3V Figure 20 2 Navigation switch connection schematic Pull up resistors should be enabled during operation page 33 x D LL Multimedia Piezo Buzzer Piezoelectricity is the charge that accumulates in certain solid materials in response to mechanical pressure It works in reverse too providing a charge to piezoelectric materials causes them to phisically deform One of the most widely used applications of piezoelectricity is the production of sound genera tors called piezo buzzers EasyFT90x v7 for comes with a piezo buzzer con nected to GP55 microcontroller pin Connection is established using SW6 6 DIP switch Buzzer is driven by transistor Q1 Figure 25 1 Microcontrollers can create sound by generating a PWM Pulse Width Modulated signal a rag 5 square wave signal which is nothing more than a sequence of logic zeros BUZZER and ones You can generate a PWM signal using a hardware capture compare module which is usually available in most microcontrollers or by writing a cus to
39. ored in a retrieval system translated or transmitted in any form or by any means without the prior written permission of MikroElektronika The manual PDF edition can be printed for private or local use but not for distribution Any modification of this manual is prohibited MikroElektronika provides this manual as is without warranty of any kind either expressed or implied including but not limited to the implied warranties or conditions of merchantability or fitness for a particular purpose MikroElektronika shall assume no responsibility or liability for any errors omissions and inaccuracies that may appear in this manual In no event shall MikroElektronika its directors officers employees or distributors be liable for any indirect specific incidental or consequential damages including damages for loss of business profits and business information business interruption or any other pecuniary loss arising out of the use of this manual or product even if MikroElektronika has been advised of the possibility of such damages MikroElektronika reserves the right to change information contained in this manual at any time without prior notice if necessary HIGH RISK ACTIVITIES The products of MikroElektronika are not fault tolerant nor designed manufactured or intended for use or resale as on line control equipment in hazardous environments requiring fail safe performance such as in the operation of nuclear facilities aircraft na
40. ough the SW6 5 DIP switch ON position DIGITAL ENS 000 DSISZO 2 x sl A eo 5 z O Ey N O E OOO O 2 DSI8e0 DSI820 Figure 23 2 Figure 23 3 Figure 23 4 DS1820 DS1820 correctly Enabled SW6 5 DIP socket placed in socket switch EasyFT90x v7 enables you to establish 1 wire communication between DS1820 and the microcontroller over PB10 or PA3 pin The connection is done placing SW14 5 or SW6 5 DIP switch to ON position Figure 20 3 When placing the sensor in the socket make sure that half circle on the board s silkscreen markings matches the rounded part of the DS1820 sensor If you accidentally connect the sensor the other way it may be permanently damaged Make sure to disconnect other peripherals LEDs and additional pull up or pull down resistors from the interface lines in order not to interfere with signal data integrity Analog Temperature ensor LM3a 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 degrees 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 yA current drain As it draws only 60 yA from its supply it has very low self heating less than 0 1 C in still air EasyFT90x v7 e
41. powered in three different ways with USB power supply CN7 using external adapters via adapter connector CN34 or additional screw terminals CN35 External adapter voltage levels must be in range of 9 32V DC and 7 23V AC Use jumper J1 to specify which power source you are using Upon providing the power using either external adapters or USB power source you can turn on the power with SWITCH 1 Figure 3 1 Power LED ON indicates the presence of a power supply VCC USB 3 3V VOLTAGE REGULATOR VCC 5V REGI VCC 3 3V Sis os i i ZW POWER mE m Vout D ES hy Vin az LD C52 E16 R om a wh m MC33269DT3 3 ioone T 10uE e E z cal ee 9 32V DC 7 23V AC SWITCH1 r VCC 5V VCC USB y MRE 505 frontis Ga IO AS ee O aman 1N4007 D5 1N4007 POWER SUPPLY E 220uF 35V LESR 5V SWITCHING POWER SUPPLY 1K Figure 3 2 Power supply unit schematic Figure 3 1 Power supply unit of EasyFT90x v7 Board power supply creates stable 3 3V necessary for operation of the microcontroller and all on board modules Power supply Power capacity How to power the board 1 With USB cable e 7 SetJl1jumper to __ as J1 USB position EXT To power the board with a USB cable place jumper J1 in USB position You can then plug in the USB cable as shown on images ED and O and turn the power switch ON 2 Using adapter x wep cet J1 jumper to Li E J1 EXT position To power the boar
42. rystal Displays or GLCDs are used to display monochromatic graphical content such as text images human machine interfaces and other content EasyFT90x v7 provides the connector and the necessary interface for supporting GLCD with a resolution of 128x64 pixels driven by the KS108 or compatible display controller Communication with the display module is done through CN33 display connector Board is fitted with a plastic display distancer which allows the GLCD module to perfectly and firmly fit into place Display connector is routed to PORT 32 39 control and data lines of the microcontroller sockets The same port is also used by the TFT display You can control the display contrast using the dedicated potentiometer P3 Full brightness display back light can be enabled with SW5 8 switch and PWM driven back light with SW5 7 switch c VSYN GP16 fs HREF GP15 it un RST GP07 5E XCLK GP00 y PO PCLK GP02 an PWD GP60 BPWM GP08 CAMERA BCK_LIGHT BCK_PWM DATA BUS Connector pinout explained CS1 and CS2 Controller Chip Select lines VCC 5V display power supply GND Reference ground Vo GLCD contrast level from potentiometer P3 RS Data High Instruction Low selection line R W Determines whether display is in Read or Write mode TT co BCKL GPo9 Z0 31 ff 33 54 35 6 27 Tmp 1 Figure 18 1 To activate full brightness display back light flip SW5 8 to ON For
43. st Device 65 General purpose I O pins 4 x 16 bit timers with 32 bit watchdog function 7 Analog Input pins ADC 2 UARTs 12S master slave interface internal slow clock oscillator 2 x I C master Slave SPI master slave and 2xCAN controllers and a debug interface 12MHz crystal oscillator We carefully chose the most convenient crystal value that provides clock frequency for the PLL multipliers MCU card also contains 32 768 kHz crystal oscillator which provides external clock waveform for the internal RTCC module 103 VCC 3 3V VCC 3 3V VCC 1 5V CO A A E A A II II ff SOSA OA HD3D 1 2 3 AP7331 ADJ C4 1uF VCC 3 3V VCC 1 5V_ VCC 3 3V VCC 1 2V R1 i 7 10K C2 El RTC_X1 I 100nF X1 10pF 32 768KHz L_ C3 ONTMAMANTAOCHONROEZOZA RTC_X2 i seso ERES BSO O ASS E o eate t eoa a T wopr GPIO17 1 lt pa GPIO17 A z R9 GPIO18 2 oros Z IK GPIO19 3 NERE x H D_P 52 enD _cPIO20 a ee 2 cpp PO 38 m4 GPIOI8 GPIO21 EE cp1021 5 TOO o y con m6 GPIO20 GPIO22 6 01022 EN USB D_P AST 7 ms GPIO22 GPIO23 7_ ee EEN g mg 77 VCC 3 3V mem 10 GPIO24 GPIO24 8 z E GPIO24 VCC3V3 ete AAA 912 SEO GPIO25 gt P1025 VCCIVZ USB D_N 74 MIR 73 USB D_P fE m4 GPIO28 GPIO26 10 XO ER pos 128 HECA QT E 16 GPIO30 GPIO27 11 GPI027 XI CLKIN a E GPIO4 70 fim 69 GPIO3 PA E 13 GPIO32 GPIO28 12 GPIO28 VCC3V3 X2 GPIO2 68 POLS m 20 G
44. tandard 3 5mm stereo audio jacks VS1053 Figure 14 1 Audio IN OUT connection schematics Hr XDCS BSYNC IOVDD1 Wied DGND1 XTALO XTAL1 1K0 7 D DZA DGND2 DGND3 DGND4 XCS e D BY DATA BUS SPIM SCK SPIM MISO SPIM MOSI MP3 DREQ MP3 RST MP3 CS 12 288MHz MP3 DES C26 C27 22pF 22pF receives the input bit stream through a Serial input bus which it listens to as a system slave The input stream is decoded and passed through a digital volume control to an 18 bit oversampling multi bit sigma delta Digital to Analog Converter DAC The decoding is controlled via a serial control bus In addition to the basic decoding it is possible to add application specific features like DSP effects to the user RAM memory You can build music players audio recording devices internet radio player applications and much more R31 10 CN13 L 7 ep EEC a ae PHONEJACK R33 R34 R35 10 20 20 C17 C18 C16 ki m j VCC 3 3V C22 1 8nF MICP MICN MICROPHONE C24 1 8nF VCC 3 3V Figure 14 2 Enabling audio codec communication lines In order to use Audio I O module you must connect data and Audio control lines of the microcontroller with the VS1053 audio codec To do this push SW3 5 SW3 8 switches to ON position This will connect SPI data lines with MCU_SCK MCU_MISO and MCU_MOSI microcontroller pins and audio control and chip select lines with GP60 GP07 GP08 and GPO9 pins V
45. the debugger using F9 command Compiler will change layout to debugging view and a blue line will mark where code execution is currently paused Use debugging toolbar in the Watch Window to guide the program execution and stop anytime Add the desired variables to Watch Window and monitor their values 3 mikroC PRO for FT9Ox v 12 0 C Users Public Documents Mikroelektroniica mikroC PRO for FTS0x Examples EasyFT90x V7 Led Blinking LedBlinking mept koh a ile Edit View Project Build Run Jools Help 314320422 IDeA AS 9422 99 14B0HT A Debuo leyout BDR dina O22 ies 5 Start Page E2 Leditiniing c EB e Watch Values 2 20 a i Bh Gh oo 09 of ala RH 3 a Se ONE de Add E Remove lt Properties yy Add Al KB Remove All GPIO_Digital_Output GPIO_PORI_00_07 _GPIO_PINMAS g tpu Selec valoi kom bt GPIO_Digital_Output amp GPIO_PORT_08_15 crio ex O PORT 00 07 outpu Lesnar z b GPIO Digital Output GPIO_PORT_16_23 _GPIQ aeons gt eae a e GPIO Digital Output GPIO_PORT_24 31 GAGPIO PORT 08 15 GPTO_ Digital Output GPTO_PORT_32 39 im E Ez GPIO Digital Output 6GPIO PORT_40 47 GPIO PORT 16 23 GPIO Digital Output 4GPIO PORT 48 55 E E un e 30 GpIO Digital Output GPIO_PORT_S 6 GPIO PORT 24 31 output e Y GPIO Digital Output GPIO_PORI_44_6 a E output 4 GPIO PORT 32 39 GPIO_PORT_00_07 0 ro a SS Ee GPIO_PORT_08_15 0
46. u can see what each command does 290 Of OT m E Re gq 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 En Run Pause Debugger F6 Run Pause Debugger Stop Debugger Ctrl F2 Stops Debugger Executes the current program line then halts If the executed program line calls another DO Step Into F7 routine the debugger steps into the routine and halts after executing the first instruction within it Executes the current program line then halts If the executed program line calls another ae Step Over F8 routine the debugger will not step into it The whole routine will be executed and the debugger halts at the first instruction following the call OD Step Out Ctrl F8 al remaining programi lines within the subroutine The debugger halts immediately upon exiting the subroutine D Run To Cursor F4 Executes the program until reaching the cursor position E Toggle Breakpoints F5 Toggle areak Olt option sets new breakpoints or removes those already set at the current cursor position B Show Hide breakpoints Shift F4 Shows Hides window with all breakpoints z Clears breakpoints Shift Ctrl F5 Delete selected breakpoints fu Jump to interrupt F2 Opens window with available interrupts doesn t work in hardware debug mode
47. ur lines MISO Master Input Slave Output MOSI Master Output Slave Input SCK Clock and CS Chip Select Devices communicate in master slave mode where the master device initiates the data frame Multiple slave devices are allowed with individual slave select chip select lines page 35 x z LL Other modules x D p UL Other modules Digital Temperature Sensor DS1620 DS1820 is a digital temperature sensor that uses 1 wire interface for its operation lt 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 1 wire serial communication enables data to be transferred over a single communication line while the process itself is under the control of the master microcontroller The advantage of such communication is that only one microcontroller pin is used Multiple sensors can be connected on the same line All slave devices by default have a unique ID code which enables the master device to easily identify all devices sharing the same interface VCC 3 3V DATA BUS LAZO ONE O Figure 23 1 DS1820 connected to PB10 pin page 36 Board provides a separate socket TS1 forthe DS1820 Communication line with the microcontroller is established thr
48. use data corruption What is 1 C IPC is a multi master serial single ended bus that is used to attach low speed peripherals to computer or embedded systems 1 C uses only two open drain lines Serial Data Line SDA and Serial Clock SCL pulled up with resistors SCL line is driven by a master while SDA is used as a bidirectional line either by a master or slave device Up to 112 slave devices can be connected to the Same bus Each slave must have a unique address 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 Most microcontrollers nowadays internally have A D converters connected to one or more input pins Some of the most important parameters of A D converters are conversion time and resolution Conversion time determines how fast can an analog voltage be represented in form of a digital number This is an important parameter if you need fast data acquisition The other parameter is resolution Resolution represents the number of discrete steps that supported voltage range can be divided into It determines the sensitivity of the A D converter Resolutio
49. vigation or communication systems air traffic control direct life support machines or weapons systems in which the failure of Software could lead directly to death personal injury or severe physical or environmental damage High Risk Activities MikroElektronika and its suppliers specifically disclaim any expressed or implied warranty of fitness for High Risk Activities TRADEMARKS The MikroElektronika name and logo mikroC mikroBasic mikroPascal Visual TFT Visual GLCD mikroProg Ready MINI mikroBUS EasyPIC EasyAVR Easy8051 click boards and mikromedia are trademarks of MikroElektronika All other trademarks mentioned herein are property of their respective companies All other product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies and are only used for identification or explanation and to the owners benefit with no intent to infringe Copyright 2015 MikroElektronika All Rights Reserved 009850 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 rara Designed by MikroElektron
50. wers to your questions on many interesting topics we invite you to visit our forum at www mikroe com forum and browse through more than 150 thousand posts You are likely to find just the right information for you On the other hand if you want to download free projects and libraries or share your own code please visit the Libstock website With user profiles you can get to know other programmers and subscribe to receive notifications on their code ES www libstock com mikroC PRO for FT90x COMPILER www mikroe co mikroPascal PRO for FT90x mikroC PRO for FT90x mikroBasic PRO for FT90x ol S support We all know how important it is that we can rely on someone in moments when we are stuck with our projects facing a deadline or when we just want to ask a simple basic question that s pulling us back for a while We do understand how important this is to people and therefore our Support Department is one of the pillars upon which our company is based MikroElektronika offers Free Tech Support to the end of product lifetime so if something goes wrong we are ready and willing to help G www mikroe com support page 41 CLAI 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 may be reproduced st

Download Pdf Manuals

image

Related Search

Related Contents

LED LP-6  LECTOR MULTI-TARJETA USB 3.0/2.0, 4  Druck DPI610/615 IS  Targus Strata Slipcase  取扱説明書 (PDF:2.37MB) - 郵便ポスト専門店ポストショップオンライン  Instruction Manual  BoConcept Model 4300 Assembly Instruction  MANUEL D`INSTRUCTIONS HANDLEIDING  N170463 man surface grinding shroud DWE46150 EU.indd    

Copyright © All rights reserved.
Failed to retrieve file