Home
mikromedia+ for PIC32MX7
Contents
1. RF5 UART TX PMEG3010ER CN3 GPA0 RST2 0 40 UI T 2 0000000020 RF8 FTDI TX RC2 CAN TX RD9 CS3 RD10 SPI SCK RC4 SPI MISO RDO SPI MOSI RN 21 20 3V30UT 21 USBDM 22 USBDP 23 24 VCC3 3V lt 25 B 26 VCC 3 3V VCC 3 3V VCC 3 3V CN1 RC2 CAN TX FP1 Vinput B340A FERRITE 100nF OS CN J5B RIL CANH 100 CANL Figure 19 2 mikromedia SHIELD for PIC32MX7 schematic So far MikroElektronika has released more than 60 mikroBUS compatible On average one click board is released per week Our intention is to enable you to easily expand with as many add on boards as possible so you will be able to easily expand the functionality of your development board ach click board comes with a set of working example codes Please check the list of currently available boards on the following link EVE click 16 gt CN mut U 4 sisisisisieisi lee 5 Fiber Opt click lic 2200 2 F CICIHIGDEI T pU Ho 0 z Li iplo 2
2. HEEE 3 08 9 2 o 6 01223 o Telelelel ey 2 GEHE Mela 21 Dimensions 119 54 4706 5 16 4 197 63 157 Micro 52 C o im 5 22 fox 95 xX 6 8 268 8 38 330 8 64 Legend 340 354 590 Mils 22 What s next Your journey through each and every feature of mikromedia for PIC32MX7 board ends here You got to know it s modules and organization Now you ready to use it We are suggesting several steps which are probably the best way to begin with We invite you to join the users of mikromedia brand You will find useful projects and tutorials and get help from a large ecosystem of users Welcome Compiler You still don t have an appropriate compiler Locate 2 compiler that suits you best on our site m ikroC PRO for 2 http www mikroe com pic compilers Choose between mikroC mikroBasic and mikroPascal and download fully functional demo version so you can begin building your first applications COMPILER mikt FRA Tor 41515 Projects Once you have chosen your compiler and since you already got the board you are ready to start writing your first projects Visual TFT software for ra
3. VCC 3 3V C111 100nF C112 C113 100nF 100 VCC 3 3V C114 100nF 115 116 100 100 VCC 3 3V 1 117 C124 C125 100nF luF VCC 3 3V C126 C127 C128 C129 luF 10nF 10nF 10nF VCC ADC VCC 3 3V FP4 C133 C134 C135 luF 100nF 10 Figure 16 2 Buzzer module connection schematic F un N 13 14 15 16 17 18 19 20 21 22 23 24 25 co sol 0 PIC32MX795F512L BUZZER VCC ADC tU D VCAP VDDCORE 00 00 U SOSCO RC14 SOSCI RC13 OSC2 RC15 OSC1 RC12 VCC 3 3V 5 32 768 2 22pF 2 4 16MHz 22 VCC 5V R74 21 1K SPT 1325A 08 114 7 BUZZER Ri mikromedia PLUS Accelerometer Paint Tic Tac Toe MP3 Player Clock Alarm Slide Show RGB Light 2 Jam itd board also contains other useful peripherals such as PIN photodiode IR receiver RGB led diode and analog temperature sensor 15 a type of photo detector It has high sensitivity and response speed It is connected to the microcontroller analog pin 15 used infrared remote control systems d
4. Page 11 step 3 Selecting HEX file Figure 3 4 Selecting HEX Select HEX file from the Open dialog window Click the Open button step 4 Uploading HEX file mikroBootloader MCU PIC32 mikroBootloader Connect History Window to MCU Attach USE HID device or reset if attached a Waiting MCU response Connie ber Connect ENEA History Window to MCU sms Attach USB HID device or reset if attached Waiting MCU response Eel Choose Arc s HFX file Opened F LED LED hex Choose Browse Opened Fi LED LED hex file Uploading Flash Frase Flach Write Start 2600 bootloader upload Start Begn bootloader Bootloading Booltloading progressbar 201011 progress bar LED ED hex ED hex Figure 3 5 Begin uploading Figure 3 6 Progress bar In order to upload file click the file uploading be monitored via progress Begin uploading button Page 12 step 5 Finish Upload ae MCU History Window to MCU Restarting MCU Connect Connected Opened hex 1 Choose Hash Erase HEX file Flash Write Completed successfully Se Disconnected 4 Start Begin Reset bootloader Uploading program completed successfu
5. 7 MicroSD Card Slot 8 Touch Screen 9 Audio Module 10 11 12 13 14 15 16 17 18 15 20 21 22 USB DEVICE Connection USB HOST Connection Accelerometer Flash Memory RF Transceiver Ethernet Transceiver Buzzer Other Modules Pads mikromedia for PIC32MX7 SHIELD Click boards plug and Dimensions What s next 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 53 Introduction to mikromedia for PIC32MX7 The mikromedia 2 7 is a compact development system which allows development of devices with multimedia contents The central part of the system is a 32 bit 100 pin PIC32MX795F512L microcontroller The mikromedia for PIC32MX7 feature lots of on board modules such as stereo MP3 codec 4 3 480x272 touch screen display port expander accelerometer microSD card slot buzzer IR receiver RGB LED diode PIN photodiode temperature sensor 2 4GHz RF transceiver Ethernet transceiver 8 Mbit flash memory Li Polimer battery charger etc The board also contains MINI B USB connector power screw terminals 2x5 mikroProg connector two 1x26 connection pads ON OFF switch and other It comes pre programmed with USB bootloader but can also be programmed with mikroProg PIC 5 and PIC32 external programmer mikromedia is compact and slim and perfectly fits in the palm of your hand wh
6. lt Fs 12 35 HDR GPIO4 T 36 HDR GPIO5 ia 37 e 38 c c 39 55 17 VCC 3 3V HDR SPI_MISO HDR SPI_MOSI P VCC 3 3V VCAP VDDCORE SOSCO RC14 505 SOSCI RC13 ee E Ri0p 27 HDR SPI MOSI RD11 Era E RDI HDR SPL SCK A HDR CAN TX RD9 9 4 PIC32MX795F512L HUN HDR I2C2 sox 114 115 116 42 100nF 100nF 100 44 BR VCC 3 3V C117 124 125 10nF 10nF 10nF 100nF luF HDR UART1_TX ETHERNET ae RX ig HDR ETH_TX_NJ C109 m Z NADIE gt xs 5 HDR ETH_RX_P VCC 3 3V 32 768KHz PORT C126 127 128 C129 EXPANDER HDR GPIO7 6 5 HDR GPIO4 HDR GPIO H DR GPIO1 HDR GPIOO 4 107 OSC2 HDR PWMO 22pF VCC ADC VCC 3 3V 41 16MHz C108 C133 134 35 22pF 100nF 10 We have also made extension board pin compatible with vour mikromedia board which enables vou to easilv expand vour basic board functionalitv It is called The shield contains USB UART chip USB MINI B connector CAN transceiver Screw terminals mikroBUS sockets Power supply screw terminals Side connection pads GNDs Ethernet connecto
7. C133 C134 C135 luF 100nF 10 116 C117 C124 lt C125 126 127 128 C129 100nF 100nF 100nF 100nF 10077 100nF 10012 luF luF 19 10nF 10nF 10nF Figure 9 1 On board VS1053 MP3 codec mikromedia PIC32MX7 features stereo audio codec This module enables audio reproduction and sound recording bv using nes connected to the system via a 3 5 connector CN2 All functions of this module are controlled the microcontroller over Serial Peripheral Interface IN and channels are also provided on side headers 9 tU N D VCC 3 3V VCC 1 8V VCC 3 3V VCC 1 8V C49 R27 100nF Q dl H a Q a a 0 R33 y 10K e a R34 1M x2 12 288MHz C54 C55 22pF 22pF U5 VCC 3 3V 5 VCC 1 8V w 59 2 2uF AP7331 ADJ VCC 3 3V LINE OUT L c 10uF R14 3 3nF 100K gt LINE OUT R g az 10uF R16 3 3nF 100 VCC 3 3V MICP CN2 GBUF 100nF 1 3 ig 519710 R22 10 20 R21 CUI 53 43514 5 10 10 R23 8241 R25 101 100 10 1 1 4 47nF 10nF 10nF 10uF SPI SCK SPI MOST SPI_MI
8. Si mikromedia Amazinglv compact all on single pcb development board carring 4 3 TFT Touch Screen lots of multimedia peripherals all driven powerful PIC32MX795F512L microcontroller E MikroElektronika DEVELOPMENT TOOLS COMPILERS BOOKS OUR VALUED CUSTOMERS want to express my thanks to you for being interested our products and for having confidence MikroElektronika The primary aim of our company is to design and produce high quality electronic products and to constantly improve the performance thereof in order to better suit your needs Nebojsa Matic General Manager The PIC32 and Windows logos and product names are trademarks of Microchip Technology and Microsoft in the U S A and other countries Table of Contents Introduction to mikromedia for PIC32MX7 System Specification Package Contains 1 Power Supply 2 2 795 5121 Microcontroller Key Microcontroller Features 3 Programming the Microcontroller Programming with mikroBootloader step 1 Connecting mikromedia step 2 Browsing for HEX file step 3 Selecting HEX file step 4 Uploading HEX file step 5 Finish upload Programming with mikroProg Programmer mikroProg suite for Software Software Installation Wizard 4 Reset Button 5 Crystal Oscillators a nd 2 048V Reference nM A 10 10 11 11 12 13 14 16 17 18 20 6
9. Vbat IN E12 10uF BAT STAT us DMP2160UW U12 vd STAT PROG DMG3420U SE V INPUT 1 VBAT VDD Figure 1 4 Power supply schematic MCP73832 K Charging Current approx 250 R105 2 PIC32MX795F512L microcontroller 2 32 bit core p Hz 1 56 DMIPS MHz age Pipeline 32 bit ALU Instruction mikromedia for PIC32MX7 development board comes with the 100 pin PIC32MX795F512L microcontroller This high performance 32 bit microcontroller has integrated modules such as 512K of flash and 128K of RAM easily handling demanding applications Key microcontroller features Up to 125 DMIPS Operation 0 2 512K bytes of Flash memory Interrupt GPIO Controller 85 128K bytes of memory Peripherial up to 85 1 0 pins 16 bit timers 2 internal oscillator 32kHz RTCC PLL 6XUART 4xSPI 5 2xCAN ADC etc and Ethernet USB etc Analog Comparators 2 8 Figure 3 1 PIC32MX795F512L microcontroller The microcontroller can be programmed in two ways Using USB mikroBootloader Using external mikroProg for dsPIC PIC32 programmer Page 9 Microcontroller is pre programmed with USB Bootloader which can be used to upload new device firmware To transfer firmware HEX file from a PC to MCU you need to use mikroBoot loader USB HID application which can be downl
10. C133 luF VCC 3 3V 111 100nF VCC 3 3V C124 1uF C112 C113 C114 115 116 117 VCC ETH VCC ETH LAN TXD1 N ANRXER LAN LED2 17 27 JR82 LAN TXDO 3 SOSCO RC14 LAN LED1 27 4883 LAN TXEN E SOSCI RC13 RD0 gt RD11 LD6 2010 x d 9 RD8 ACTIVE E RAIE R89 IM Ar _ NE 220 LAN CRS_DV 12 C119 C120 C121 is OSC2 RC15 22pF 22pF 2 2uF di OSC1 RC12 X LAN RXDO FP4 VCC 3 3V 20 C134 135 100 10 5 32 768 C109 SOSCO 22pF P Ht SOSCI 100nF 100 100nF 100nF 100 100 Q EG e en e o s 9207 OSC2 VCC ADC C125 C126 127 128 C129 05 1 16 2 10 10nF 100 Figure 15 2 Ethernet transceiver module schematic VCC 3 3V VCC 5V T LAN TX 22 lel 24 VCC 3 3V NN board is also equipped with piezo buzzer It is electric component which can be used to create sound when is provided with electrical signal This is usually PWM signal coming from a microcontroller pin of the signal determines the pitch of the sound and duty cvcle of the signal can be used to increase or decrease the volume Figure 16 1 Buzzer module lt gt
11. X5 32 768KHz 22pF 1 4 16MHz C108 VCC 3 3V 1 HDR AN4 PGC 3 HDR AN5 PGD 5 9 EE ME NE NE o IN mikroProg Suite for PIC Software mikroProg programmer requires special programming software called mikroProg Suite for PIC It can be used for programming all Microchip mi crocontroller families including 10 PIC12 PIC16 dsPIC30 33 PIC24 and PIC32 Software has intuitive interface SingleClick pro gramming technology Download the latest version of mikroProg Suite and your programmer is ready to pro gram new devices mikroProg Suite is updated regularly at least four times a year SO your programmer will be more and more powerful with each new release user ID r _ Selection bit vaus ON pn controled by the USB module use USBID Selection bit USBID pin controlled by the USB module Ethernet 1 0 Pin Selection bit Use the default Ethernet pins Ethernet Enable bit is enabled CAN 1 0 Pin Selection bit Use the default CAN 1 0 pins SRS Select bits Assign Interrupt Priority 7 to a shadow register set System PLL Output Clock Divider PLL Divide by 256 USB PLL Enable Disable and bypass USS PLL USB PLL Input Divider 12x Divider Reload HEX PLL Multiplier 24x Multober 7 Load Save CODE PLL Input Divider Drader losd Save DATA Watchdog T wor Windowed Watchdog Timer Window
12. 100nF 100nF VCC 3 3V VCC 3 3V C117 C124 C125 100nF VCC 3 3V C126 127 128 10 10nF VCC 3 3V R38 10K U6 4 3 2 Vusb OUT Q1 GND A 5 VCC 5V gt our USB PSW 1 7 4 52041 T E9 R2 PDICH3EU ki PMEG3010ER CN4 Vusb_IN A FP5 1 USB D_N 3 USB D_P E7 1 88 5 104 10uF IR 1K USB VBUS USB MINIB 5209 505 0 5 50501 2 768 32 768KHz 20 22 VCC ADC VCC 3 3V SEE OSC2 C133 C134 C135 xa P Osct 16MHz C108 22pF luF 100nF 10nF VCC 3 3V o t co CY t co P Ov a cO CO 100 I U 2 3 SOSCO RC14 SOSCI RC13 xm 7 8 9 10 11 OSC2 RC15 d4 PIC32MX795F512L 15 OSC2 USB D P 4 USB VBUS VCC ADC Figure 12 1 module On board 5 accelerometer is used to measure acceleration in three axis x v and z Most common use is to determine the screen orientation but there are other fields of usage Communication between the accelerometer and the microcontroller is performed through interface There is an option to select the alternate accel address with jumper 3 Figure 12 2 Jumper VCC 3 3V VCC 3 3
13. CO 51 0 C133 C134 C135 C126 127 128 129 26 52 Vdc 100nF M1X26 M1X26 luF 100nF 10nF tuF 10nF 10nF 10nF Figure 6 2 Port Expander connection schematic Figure 7 1 The board contains 5101 for using microSD cards in vour projects microSD Card Slot It enables you to store large amounts of data externally thus saving microcontroller memory microSD cards use Serial Peripheral Interface for communication with the microcontroller Ferrite and capacitor are provided to compensate the voltage and current glitch that can occur when pushing in and pushing out microSD card into the socket Proper insertion of the microSD card is shown in Figure 7 1 gt 4 F VCC 3 3V C111 C112 C113 100nF 100nF 100 VCC 3 3V C114 C115 C116 100nF 100nF 100 VCC 3 3V C117 C124 C125 100nF luF luF VCC 3 3V C126 C127 C128 C129 luF 10nF 10nF 10nF VCC ADC P4 VCC 3 3V F C133 C134 C135 100nF 10 N 2 VCC ADC lt lt lt sr sr lt lt 55 SOSCO RC14 SOSCI RC13 RD0 RD11 RD10 RD9 RD8 RA15 RA14 55 0 2 15 OSC1 RC12 VDD VCC 3 3V SOSCO f R100 27 SPI MOSI s Figure 7 2 micro
14. TFT CS R7 100K 2 2uF TP_INT 107 OSC2 RC15 OSC1 RC12 ae I2C SDA 501 43835 151 10 9 22nF 148 2 20 12 11 10 9 VCC 3 3V ex Di Ll 10uH Ui PMEG3010ER 5 071 Ci GND MMSZ5246B 100 aly 4 3 FB ee gt uL 2726 8 gt 998888898 8 888 2 5 5 3 D C E RD R W WR SSD1963 LDATA17 GPIOO GPIO1 2 GPIO3 VDDD VSS VDDLCD LFRAME LLINE VDDIO vss VDDD D20 21 022 023 018 019 LDATA18 LDATA19 VDDLCD vss VDDD LDATAO LDATA1 LDATA2 LDATA3 LDATA4 LDATAS VDDLCD vss VDDD LDATA6 LDATA7 LDATA8 LDATA9 LDATA10 LDATA11 VDDLCD vss LDATA16 LDATA15 LDATA14 LDATA13 LDATA12 VDDD LCD R1 LCD VSYNC LCD HSYNC LCD DCLK LCD DE LCD PWM LCD G4 C21 100nF VCC 3 3V E 111 112 1 114 115
15. eolr ol zlelel lelelelrelelzlelei ielelelro U18 C123 I XO LO MAG 3 3 867 1 5 10K L a 2 SOSCO FLASH CS 1 8 3 SOSCO RC14 VCC 3 3V ES lt 2 7 4 9 E SPI MOSI s L3 6 SPI SCK 5 LIP R68 27 5 C111 C112 C113 4 5 SPI_MOSI 6 1 100nF 100nF 100nF 2 SPI_MISO 9 11 12 OSC2 RC15 13 ose 14 PIC32MX795F512L VCC 3 3V VCC 3 3V t C109 114 115 116 C126 C127 C128 129 22 505 48 X5 CI 505 19 100nF 100nF 100nF iuF 100 10nF 1002 32 768 204 20 22pF A a 22 24 25 VCC 3 3V VCC ADC FP4 VCC 3 3V 124 25 C133 ci34 _ C135 OSC2 0561 100nF iuF luF 100 10 16 2 C108 22pF Figure 13 2 Flash module connection schematic A5B39 2 1223 Figure 14 1 14 2 transceiver antenna RF transceiver module mikromedia for PIC32MX7 board features iver chip with It is suitable for wireless operation in the world wide ISM frequency band at 2 400 2 4835GHz with air data rate up to 2Mbps RF transceiver module is connected to the microcontroller via the Serial Peripheral Interface SPI This RF transceiver module is widely used for wireless PC peripherals remote controllers VolP headsets game controllers sensors home and commercial automation act
16. without the prior written permission of MikroElektronika The manual PDF edition can be printed for private or local use but not for distribution 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 conditions of merchantabilitv 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 TRADEMARKS The MikroElektronika name and logo the MikroElektronika logo mikroC mikroBasic mikroPascal mikroProg mikroBUS click Boards EasyPIC v7 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 o
17. OUT 100 C101 C102 MCP9700A 100 100 PWM Interrupt 2 MUART I Analog lines SPI 5 power 5V 1 29 mi 27 RST Reset pin Ref Ground 2 9 23 pu 3 3V pwr I9 E 9 6812 4 iz a 30 R Audio out Analog lines P f 2 E Audio in Rey 2 1 6 34 GP 9 9 35 Lines CPA iL 5 8 36 GPB3 4 37 12 8 38 7 GPA4 13 4 i 39 5 2 E Hu Interrupt Lines CAN lines R9 17 218 45 2010 18 E MI 44 Lines SPI1 lines ES RC4 19 4 22 J UART1Li RDO 20 E 41 16 erp 255 JN MISI 217 REE 1 UART2Lines erp 5 23 14 Bur 49 NC P 24 Hel II 4 50 NC 3 3V power 3 3V 25 i OMEN 125922 Id 51 GND Ref Ground Ref Ground GND 26 52 VDC 5 12V Input A D n 5 Many microcontroller pins are available for further connectivity via two 1x26 rows of connection pads on both sides of the board They are designed to match with the mikromedia SHIELD for PIC32MX7 Page 46 VCC 3 3V MCLR 111 112 C113 29 HDR AN4 HDR GPIOO HDR GPIO1 100nF 100nF 100 E 5 2 HDR GPIO2 mM 5 HDR GPIO3 34 co oo co co
18. SD Card Slot module connection schematic SOSCO OSC2 osci ojo 3 RIS SD CS p pour 881 SOSCI s VCC 3 3V FERRITE 1 5 32 768 2 4 16 2 CN6 SA A VCC MMC microSD CARD SLOT 8 Touch Screen The development system features a 4 3 480 272 display covered with resistive touch panel Together they form a functional unit called a touch screen Figure 8 1 1 enables data to be entered and displayed at the same time The TFT display is capable of showing graphics in 256K different colors E LE Sk W s oT s CR 45 gt gt Figure 8 1 Touch Screen SEN JJ m 5 m es d PRISE 5 ve eo i o VCAP VDDCORE TFT WR SOSCO RC14 SOSCI RC13 RDO RR94 R95 5 32 768KHz R65 10K T VCC ADC TP Y B L R 5 Ig 2 212 TP INT TP ADR I2C SCL 146 2 217 I2C SDA VCC 5V 10uF 1 2 cai 3
19. SO MP3 CS Q C9 470 1uF LINE IN LN IN_L LINE IN L MICP LT 2 Ll 3 LN IN L TUE VCC 3 3V HDR2 LINE OUT L 5 LINE OUT R u LINE IN L LINE IN R e 5109 505 22 e 505 32 768 2 110 22pF e e 9207 05 2 5 1 16MHz e C108 22 e SSID 915 AlN 2 27 lt U RD7 RD6 RDS RD4 RD13 DD OE RD12 VCAP VDDCORE m N PIC32MX795F512L e 2 lt co 38 vss SOSCO RC14 SOSCI RC13 RD0 RD11 RD10 RD9 RD8 15 14 VSS OSC2 RC15 OSC1 RC12 VDD RA5 RA4 D RG2 D RG3 VUSB VBUS RF8 RF2 coo VCC 3 3V 111 125 126 100nF 100nF 100nF 100nF 100 100 100 10nF 10nF 10nF schematic Figure 10 1 Connecting USB cable to MINI B USB connector AX795F512L microcontroller has integrated USB module which enables you to implement USB communication functionality to your mikromedia board Connection with target USB host is establish over USB connector For proper
20. V VCC 3 3V 2 SCL VCC 3 3V TION o9 st C P Ov O Od CO 00 cO oO 100 00 P I U RD7 RD6 RD5 RD4 RD3 RD2 RD1 RD13 RD12 INT2 INT1 a VSS SOSCO RC14 SOSCI RC13 RDO RD11 RD10 RD9 RD8 RA15 RA14 55 5 2 15 PIC32MX795F512L oscure ADXL345 VCAP VDDCORE VCC 3 3V ACCEL INT C111 C112 C113 C109 139 x Am Hr 050 100nF 100nF 100nF 100nF 100nF 32 768KHz C110 VCC 3 3V VCC 3 3V C114 5 cite 126 127 c128 c129 5107 05 2 osci 100 100nF 100nF luF 10nF 10nF 10nF 16 2 N N j j i 5 taf fs J VCC 3 3V VCC ADC FP4 VCC 3 3V 25 4 135 822225538 100 luF uF luF 100nF 10 VCC ADC Figure 12 3 Accelerometer connection schematic Since multimedia applications getting increasingly demanding it is necessary to provide additional memory space for storing more data The flash memory module enables the microcontroller to use additional 6 t flash memory It is connected to the microcontroller via the Serial Peripheral Interface SPI Figure 13 1 Flash memory module VCC 3 3V 10uF Sle
21. ed WOT Enables Program Memory 512 Device Status Idle Address Oh F Mikrotektronika T TOOLS 1 COMPLERS BOOKS Figure 3 11 window of mikroProg Suite for programming software Page 16 Software Installation Wizard Welcome to the mikroProg Suite for PIC v2 29 This wizard wil the instalaaen of Press Down ts see the rest of the If you accept the terme of the agreement select the Sret option below agreement to install mizoProg Suite for PIC v2 29 Click Next to continue 9 the terms of the License Agreement X al Chane he folder n ich ror Sane tor PIC i Sute EC o Completing the mikroProg Suite tor v2 28 Setup Wizard wil mirePreg fer PIC v2 29 in the folder Te install n a dierent 4 mkraprag Suite dor v2 29 has been iratallesl your Feder chek fina arei alert Check rettuli tar t bon w ss wau Ck te dese lis wisard o Choose destination folder 05 Installation progress Finish installation Page 17 board is equipped with reset button which is located the front side of the board One press on the reset button will generate a low voltage level on
22. emodulated output signal obtained from IR module directlv decoded a microcontroller of standard data formats are supported be used as a light indicator Each color is driven separately by transistor converts temperature to analog voltage It is directly connected to the microcontroller Temperature measurement range of mikromedia for 2 7 board is from 20 C to 70 C 878 877 826 E 1 27K4 ib AN PD PD15 LM358 C150 100nF VCC 3 3V C103 100nF VCC 3 3V E C111 C112 C113 100nF 100 100nF 109 SOSCO soscar 2 768KH 110 22pF VCC 3 3V C115 Bus 100nF pou OSC2 p Num i 2 VCC 3 3V 22pF 24 125 100nF iur VCC 3 3V ae 4 IR RX VCC 3 3V 3 2 100 1 4 7uF C126 C127 C128 C129 10 10nF 10nF TSOP6238 SOSCO RC14 SOSCI RC13 RDO RD11 RD10 RD9 OSC2 RC15 OSC1 RC12 sss F 16 17 11 44 VCC ADC VCC 3 3V C133 C134 C135 100 10 Figure 17 1 Other modules connection schematic VCC 5V LD3 R71 05 22 PDTC114EU R1 LED R 1 E Q6 3K3 PDTC114EU Ri LED G 1 07 2K2 PDTC114EU R1 LED B 1 21 VCC 3 3V 1 3 R75 GND 2 V
23. ich makes it a convenient platform for mobile and other multimedia devices We have also prepared a mikromedia SHIELD for 2 7 extension board which enables you to easily expand the functionality of your board Page 4 System Specification 5V CONSUMPTION rU power supply Via USB cable 5V DC or via screw terminals 5 12V DC power consumption 65mA with erased MCU when on board modules are inactive board dimensions 119 54 x 78mm 4 71 x 3 07inch weight 115g 0 253lbs Package Contains Damage resistant protective box mikromedia Se ee last mar sma x rea di rue ura mikromedia for 2 7 user s guide mikromedia for PIC32MX7 development system SCHEMATICS mikromedia for PIC32MX7 mikromedia for PIC32MX7 schematic Page 5 Two 1x26 male headers and one 2x5 header USB cable and microSD card 1 Power Supply Figure 1 1 Figure 1 1 3 USB power supply Battery powe Screw terminals power supply The mikromedia for PIC32MX7 board can be powered in three different ways via USB connector using MINI B USB cable provided with the board CN4 via battery connector using Li Polymer battery 5 or via screw terminals using laboratory power supply CN3 After you plug in the appropriate power supply tu
24. insertion of the 53 MINI B USB cable refer to Figure 10 1 Page 30 VCC 3 3V C111 C112 C113 100nF 100nF 100nF VCC 3 3V C114 C115 C116 100nF 100nF 100nF K VCC 3 3V C117 C124 C125 100nF luF uF VCC 3 3V C126 C127 C128 C129 luF 10nF 10nF 10nF OCIDIOIN xXo ro lt co 00 tA OY OV OV OV D1 OV D1 Oy D4 Od CO CO CO 01 VCAP VDDCORE F mmn N PIC32MX795F512L 13 14 15 16 17 18 19 20 21 22 23 24 25 o o e fools VCC 3 3V Sosco SOSCI SOSCO 4 OSC2 5 1 1 OSC2 4 Vusb_IN USB D USB D N Re P 4 USB VBUS kull USB VBUS VCC ADC C133 luF 100nF 10nF Figure 10 2 USB DEVICE module connection schematic When device is working USB HOST mode it must not be mounted to other USB HOST Figure 11 1 Connecting USB cable to MINI B USB connector via USB adapter can also be used as USB HOST which enables microcontroller to establish connection with the target device eg USB kevboard USB mouse etc The board provides necessarv power supplv to the target via TPS2041B To connect USB HOST cable it is necessary to use the appropriate MINI B USB to USB adapter For proper insertion refer to Figure 11 1 VCC 3 3V 111 100 112 113
25. ive RFID toys and many more gt VCC 3 3V RG1 RF0 VDD RD7 RD6 RD5 RD4 SOSCO RC14 SOSCO SOSCI RC13 m VCAP VDDCORE 1 10 Rufa 2 4GHz LEFT C83 NEGE 14 3 9nH 1 5pF 8 2nH SPI MISO L6 NM OSC2 RC15 PIC32MX795F512L cu C92 22pF C85 C86 2 2nF 4 7pF x 16 VCC 3 3V VCC RF cat 22pF 2 2 505 0 FERRITE 50501 32 768KHz C110 22pF VCC ADC 3 3 C133 134 135 107 m OSCI 100nF 10nF sane C108 22pF VCC 3 3V C111 C112 C113 C114 C115 C116 C117 C124 125 126 C127 C128 129 100nF 100 100nF 100 100 100 100nF iuF 10 10 10nF Figure 14 3 RF transceiver module connection schematic Figure 15 1 Ethernet transceiver module The development system features an Ethernet transceiver module ideal for local area networking LAN Communication over Ethernet is based on data packets called frames Each frame contains source and destination addresses and error checking data so that damaged data can be detected and re transmitted If you want to establish connection with computer router or other devices you need to use standard connector which is provided on edia SHIELD f MX 7 Communication lines are also provided over side headers Page 40 VCC 3 3V LD5 R84 RY LINK R87 220 VCC ADC
26. lly Boolloading Boolloading progress bar progress bar FiLED VED hex Figure 3 7 Restarting MCU Figure 3 8 mikroBootloader ready to use Click the OK button after uploading is finished The board will be automatically reset and after 5 seconds your new program will be executed Page 13 Figure 3 9 mikroProg connector Tm The microcontroller can be programmed with external mikroProg for 45 and PIC32 programmer and mikroProg Suite for software The external programmer is connected to the development system via 2X5 mikroProg connector Figure 3 9 mikroProg is a fast USB 2 0 programmer with hardware Debugger support It supports IC10 PIC12 16 PIC18 dsPIC30 33 PIC24 and 2 devices from Microchip Outstanding performance easy operation and elegant design are it s key features Page 14 VCC 3 3V C111 C112 C113 100nF 100nF 100 VCC 3 3V C114 C115 C116 100nF 100nF 100 VCC 3 3V C117 C124 C125 100nF iuF luF VCC 3 3V C126 C127 C128 C129 luF 10nF 10nF 10nF VCC ADC FP4 VCC 3 3V C133 C134 C135 luF 100nF 10 17 VCC ADC RD7 RD6 RD5 RD4 RD13 RD12 VCAP VDDCORE PIC32MX795F512L 55 SOSCO RC14 SOSCI RC13 OSC2 RC15 OSC1 RC12 Figure 3 10 mikroProg connection schematic U1 Page 1 gQ VCC 3 3V 65
27. oaded from http www mikroe com downloads get 2031 mikro media plus pic32mx7 bootloader zip Connect istory Window to MCU i USB HID device or reset if attached Upon download unzip it to desired location and start the mikro 3 choose file Bootloader application for HEX 4 Start Begin mikromedia plus 32 7 boctlo bootloader uploading WinRAR ZIP archive mikroBootloader PIC32 USB HID makromedia Plus for PIC32M7 File folder Firmware File folder Figure 3 2 USB HID mikroBootloader window __ 01 In order to start connect the USB cable if already Ji Software Windows connected press the Reset button on your mikromedia board Click the Connect button within 55 to enter the bootloader mode otherwise the existing microcontroller mikrotlektronika program will be executed Page 10 step 2 Browsing for HEX mil Hektronika mikroBootloader 32 vi Connect History Window to MCU Attach USE HID device or reset if attached Waiting MCU response ber Choose Browse HFX file 4 R Boolloading progress bar Co fies opened Figure 3 3 Browse for Click the Browse for button and from a pop up window Figure 3 4 choose the HEX file that will be uploaded to
28. pid development of graphical user interfaces enables you to quickly create your GUI It will automatically create necessary code which is compatible with MikroElektronika compilers Visual TFT is rich with examples which are an excellent starting point for your future projects Just load the example read well commented code and see how it works on hardware Visual TFT is also available on our site http www mikroe com visualtft Page 53 SOFTWARE WisualTFT SOFTWARE 5 Page 54 DISCLAIMER All the products owned bv MikroElektronika are protected copyright law and international copyright treaty Therefore this manual is to be treated as other copyright material No part of this manual including product and software described herein may be reproduced stored in retrieval system translated or transmitted in form or means
29. r Figure 19 1 mikromedia SHIELD for 2 7 not provided in the package Den VCC 3 3V VCC 5V VCC 3 3V VCC 5V VCC 3 3V VCC 5V VCC 3 3V RB11 AN1 RB6 RST1 GPBO PWM1 RB12 AN2 GPB1 PWM2 RB1 AN3 GPB2 PWM3 4 GPB3 PWM4 N BUD INTI eae RST2 cee AN INT3 RST4 GPBZJINT4 HRT rA INT INT I RFAIUART m Cs RX RF4 UART RX RD10 SPI SCK SCK RF4 UART RX p cs RX m RF4 UART RX RF4 UART RX 1 1 C SCK 4 REJUREDCA miso Mes RAS DC SDA MOST SDA m RA3 I2C SDA RDO SPI MOSI RA3 I2C SDA RDO SPI MOSI RA3 12C SDA 500 4 5 5 RDO SPI MOSI 000000 MOSI SDA a RA3 I2C SDA RDO SPI MOSI MOSI SDA 3 3V 5V m 3 3V 5V m 3 3V 5V m m GND GND m GND GND m m GND GND VCC 5V VCC 3 3V A Vinput zm RB11 AN1 1 RB6 RST1 VCC 3 3V 5 VCC 33V VCC 3 3V PB0 PWM1 GEBUPWM2 7 enema T L LER sne Z GPB6 INT3 Lum RA2 I2C SCL _____
30. r 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 MikroElektronika 2013 All Rights Reserved www mikroe com www mikroe com support mikromedia Plus for PIC32MX7 Manual ver 1 01b 100000 025178 office mikroe com 0
31. rn the power switch ON SW1 The USB connection can provide up to 500mA of current which is more than enough for the operation of all on board modules and the microcontroller as well If you decide to use external power supply via screw terminals voltage levels must be within 5 12V DC range Power LED ON GREEN indicates the presence of power supply On board battery charger circuit MCP7 3832 enables you to charge the battery over USB connection or via screw terminals LED diode RED indicates when battery is charging Charging current is 250mA and charging voltage is 4 2V DC VCC 3 3V USB PSW D USB VBUS N USB D P 12 U6 1 5uH WU 02 5 Vusb_OUT Vdc 01 GND A A U7 VCC 5V 5 N AN 1 IIT gt USB PSW 1 Ri TPS2041B VI T D VCC 5V 136 N Ia PGND 5 E9 B R41 Fa 10uF 5 m 6 100K R42 7 563060 D3 D2 POTCIIZEU C66 67 68 C72 C79 140 L 1K ezo 224 2242 220 1ur 100nF 10 100pF c69 22uF 100nF R45 10pF CN4 Vusb_IN 10K D4 gt V INPUT PMEG3010ER E7 E8 M1 10uF DMP2160UW R46 aan L3 USB MINIB 10K YY Vbat IN U9 VIN VIN 2 I VI D gt VCC 3 3V PWR EN PGND M2 5 5 D 6 IM DMP2160UW B 5 563060 POWER LL Swi E C73 C77 JS202011AQN 10677 VCC 3 3V VCC 3 3V VCC 3 3V L a8 10K VCC 5V VCC 5V E
32. the microcontroller reset pin input Reset button can also be externallv provided through the pin 27 on the side headers Figure 4 1 Reset button VCC 3 3V 10 R69 111 C112 C113 10K 100nF 100nF 100nF VCC 3 3V c99 RESET 100 LQ sr ea 1 92 472 VSS C109 2 505 14 T 3 1X5 VCC 3 3V 5 SOSCI RC13 32 768 2 EE gt RDO C110 114 cus 116 VCC 3 3V 6 AEn 8010 100nF 100nF 100nF g RD9 HDR2 gt RD8 27 RA15 28 1 14 30 907 OSC2 RC15 p 31 13 1x4 2 PIC32MX795F512L 33 22pF VCC 3 3V 34 35 17 36 C117 124 125 37 100nF tuF 1uF gt 20 21 1 22 P 23 43 24 44 25 45 46 VCC 3 3V 47 VCC ADC 3 3 48 49 C126 C127 C128 129 n vin C133 C134 C135 10nF 10nF 10nF 52 _ 100nF 10nF M1X26 VCC ADC Figure 4 2 Reset button connection schematic o ey board is with circuit that provides external clock waveform to the microcontroller 05 1 05 2 ws lt pins This base frequency is suitable for further clock multipliers and ideal for generation of necessarv USB clock which ensures proper operation of bootloader and vour c
33. the number of microcontroller 1 0 pins with two 8 bit 1 0 ports PORTA and PORTB Each of them consists of registers for input output and polarity selection In addition the 223517 module contains interrupt and reset pins and has 25mA sink source capability per 1 0 pin Page 22 VCC 3 3V VCC 3 3V VCC 3 3V SOSCO 22pF sos d Poss C110 i R99 S 22pF 100K 100k EXP PWMO i _P 28 EXP GPIO7 2 27 Sw U 3 26 XO LO 4 25 Z 5 24 603 o 2 5 SOSCO S2pF SOSCO RC14 OSC2 DEL 7 22 q SOSCI RC13 osci 118 N 21 EXP GPIO0 9 RDO R1007 27 SPI MOSI igs 16MHz 9 a 20 10 O 719 RDI R101 27 SPI SCK 11 gt 18 RD10 94 RDO 12 17 SS mor 3 16 VCC 3 3V 02 12 14 15 15 14 R102 27 VSS 111 ci C113 one 100nF 100nF 100nF PIC32MX795F512L VCC 5V VCC 3 3V HDR1 HDR2 1 27 2 28 3 29 VCC 3 3V 4 30 Frem 5 31 114 C115 116 6 32 33 100nF 100nF 100 EXP GPIO0 8 34 A Je 9 35 T EXP GPIO6 5 mE 2 L Be ITA EXP GPIO4 13 39 mu 40 2 ar 16 42 117 C124 125 17 43 18 44 100nF iur luF 19 45 H 2 VCC ADC 22 38 VCC ADC VCC 3 3V VCC 3 3V 23 49 4 VCC 3 3V 54
34. ustom USB based board also contains lt 1 which provides external clock for internal RTCC module Microcontroller ADC requires an accurate source of reference voltage signal That is why we provide the external to the microcontroller VREF which is Figure 5 1 Crvstal oscillator and 2 048V reference VCC 3 3V VCC 3 3V 10uF C111 C112 C113 100nF 100nF 100nF e SLD OPN bad L KeA Kee N Ee ER sr S o solo tA DV DV OV DV D1 DV Dy Dy Dy Dy CO CO 00 CO CO 00 CO CO 00 I I U RD7 RD6 RD5 RD4 RD13 RD12 RD3 RD2 RD1 VCAP VDDCORE 5 FE SOSCO RC14 SOSCI RC13 33 768 2 110 VCC 3 3V C114 C115 C116 100nF 100nF 100nF 2 5 OSC2 RC15 p 13 1x4 t PIC32MX795F512L 22 VCC 3 3V T 18 C117 124 C125 19 20 100nF luF 1uF gt 22 VCC ADC VCC 3 3V 23 C133 134 135 ps VCC 3 3V C126 C127 C128 C129 10 10 10nF EF1 MAX6106EUR Figure 5 2 Crystal oscillators and voltage reference connection schematic Page reg 1 t Figure 6 1 Port mikromedia for PIC32MX7 features 16 bit 1 0 port expander module 17 which communicates with PIC32MX795F512L microcontroller via SPI serial interface This module enables you to expand
Download Pdf Manuals
Related Search
Related Contents
ASUS (ME181C) User's Manual MLP 100 - Didatec Samsung RSH5PTTS User Manual バトルズ EX type RS PRADO120 SURF215 (B700063 Lenovo ThinkPad T530 gamme bioflash sécurité maximum efficacité et CEP 2013.1–Doc 5 DOT.CEP 27.03.2013 CONSELHO DE Ethernet controller TCW122B-CM User manual Copyright © All rights reserved.
Failed to retrieve file