Home
mikromedia for dsPIC33
Contents
1. E wmikrommb dspic33 mikroc mikroMM 256GP710A Baud rate 256000 b USB Serial CO Write Eeprom Parsing hex lle File timestamp 28 12 2010 15 46 20 Validating hex ile ok successfully parsed 18433 program words found in 290 rows Eeprom wards found 8 contig words found step 6 Uploading HEX file File Help Write Abort E mikrommb_dspic33_mikroc mikroMM Dee SEED Baud rate 256000 Port USB Seral Port Write program P Write Parsing hex lle File timestamp 28 12 2010 15 46 20 Validating hex4ile ok successfully parsed 18433 program words found in 290 rows Eeprom words found 8 contig words found Copyright amp 08 11 Mikael Gustafsson Copyright amp 08 11 Mikael Gustafsson Figure 3 8 Seting baud rate Figure 3 9 Write program 01 From drop down list set baud rate value to 256000 First RESET mikromedia and then within 5s Check Write program check box click on Write button Page 16 note If you accidently erase bootloader program from MCU memory it is possible to load it again with external programer mikromedia for dsPIC33 bootloader firmware hex file is located in Firmware subfolder Page 12 File View Help Write Abort Write Abort E wmikrommb d
2. Analog Comparator poss mar O m g pe m 58 2 The microcontroller can be programmed three wavs Over UART bootloader Using mikroProg external programmer Using ICD2 3 external programmer Page 11 You can program the microcontroller with the bootloader which is preprogrammed into the device bv default To transfer HEX file from a PC to MCU you need bootloader software 4530 Loader which can be downloaded from www mikroe com eng downloads get 1493 mikrommb_dspic33_bootloader zip Upon download unzip the file to the desired location and start ds30 Loader software 5 mikrommb_dspic33_bootloader zip WinRAR ZIP archive 207 KB mikroMMB for dsPIC33 Bootloader 4 File folder gt firmware 16 bit File folder 4530 Loader GUI 4 File folder ds30 Loader GULexe 4530 Loader GUI 1410 12 Write Loading device database 492 devices found Loading port plugin d amp 30LoaderPortSerial dll found 1 part Loading settings ok Copyright amp 08 11 Mikael Gustafsson Figure 3 1 4530 Loader open source software Connect mikromedia for dsPIC33 with a PC before starting ds30 Loader software Identifving device COM port File Action View Help 18 b Mice and other pointing devices p A Monitors EP Me
3. manaog unes m me aries s ICLUNES mm UAKI Ines m rwrimes s mes 1S4 DEVELOPMENT TOOLS I COMPILERS User s guide schematic and pinout USB cable two 1 26 1 6 and one 1 5 male headers USB UART Connection pads TFT 320x240 display USB MINI B connector CHARGE indication LED LI Polymer battery connector 19 3 5mm headphone connector 7 Power supply regulator FTDI chip Serial flash memory 113 RESET button VS1053 Stereo mp3 coder decoder dsPIC33FJ256GP710A microcontroller 02 Accelerometer crystal oscillator Power indication LED 115 microSD card slot 1028307 9A wa 1 02 3 connector 615 mikroProg connector JAE ipsi Ls 2 ad DIL en cote ics 1 E10 E 51124 lt 4 1 4 ROS RC2 ji ee OD RFO aM db 1 EL 55 55 555855 e 1 Lini 77 H oil E ege SDA RG3 3 39 dsPIC33 9 e 0 a 211161196 System specification power supply 5V Via USB cable 5V power consumption 77 mA with erased MCU when on board modules are inac
4. m You can also solder an additional X reset button on the appropriate place at the back side of the board Figure 4 1 856 5 1 MI028301 9A Figure 4 1 Reset button located at the backside of the board Figure 4 2 Frontal reset button E9 10uF VCC 3 3 1 2 SOSCO SOSCO RC14 SOSCI RC13 505 RDO RD11 RD10 fe RD9 RD8 107 RC4 RA15 10 RG6 SCK2 14 gt RG7 SD12 GND 12 CLKO RC15 n en dsPIC33F 256GP710A amc GND 61 60 17 59 Em EE SCL1 RG2 2 5 SDA1 RG3 55 gt SCK1 RF6 54 SDI1 RF7 gt 7747 SDO1 RF8 52 5 25 U1RX RF2 GE U1TX RF3 RB6 PGEC1 RB7 PGED1 RA9 Vref RA10 Vref AVCC RB8 AN8 RB9 AN9 RB10 AN10 AGND RB11 GND VCC 1 13 12 RB12 RB13 RB14 RB15 GND VCC RD14 RD15 RF4 RF5 Tt Lo ES MIO 29 5 HYF VREF 1 8 Figure 4 3 Reset circuit schematics VCC 3 3 R8 10K C31 22pF X3 132 768 2 C30 Hi 22pF C2 22pF 8MHz 3 3 22 44444 100nF 100 decoupling capacitors Tiar 100nF HDR2 5 Crystal oscillator 2214111189 TONS e TN 47 2 ge 1 WJ 141221 indi 5 1 Crystal oscillator module X1
5. RGO RD10 RG6 RG7 RG8 3 3V power supply 3 3 GND 4 Programming lines Analog Lines Rce 500 T HARGE 11 SEC rer aada TEE 48 mE E Cy 4 gt gt o Y B 2 200 des 238845 1 10 u RC2 C Egger DJ i C reir for CEER EC Interrupt Lines SPI Lines J 8 9 55500 9 l2C Lines UART lines oo M c ceca lt lt RST Reset pin Reference Ground L ch R right ch _ audio out RDO RDI RD RD3 0 4 RD4 0 5 RDS RD8 RDO I RD14 IC7 U1CTS 6015 C8 ULRTS RD6 AN1 7 T3CK T6CK 12 020 5 RF13 U2RTS I RFO 1 RFI 1 RF2 U1RX ULTX VART RG2 2 RGS 3 3V v 3 3V power supply GND Reference Ground Pin functions PWM lines Comparator lines 3195 73 66 81 15 imensions 14 2900 2728 15 mikromedia accessories We have prepared a set of extension boards pin compatible with your mikromedia which enable you to easily expand your board s basic functionality We cal them mikromedia Shields But we also offer other accessories such as Li polymer battery stacking
6. VREF 1 8 Figure 10 2 Accelerometer connection schematic 11 Flash memory a s Fe dili E A eb L1 mom zm s 4 M 4 ik ce 11 1 Flash memory module Since multimedia applications are getting increasinglv demanding it is necessary to provide additional memory space to be used for storing more data The flash memory module enables the microcontroller to use additional 8Mbit flash memory It is connected to the microcontroller via the Serial Peripheral Interface SPI 10uF GND VCC SOSCO RC14 RE5 SOSCI RC13 RE6 RD0 RE7 RD11 RC1 RD10 RC2 RD9 RC3 RD8 RC4 RA15 RG6 SCK2 RA14 RG7 SDI2 GND dsPIC33FJ256GP710A SCL1 RG2 SDA1 RG3 SCK1 RF6 SDI1 RF7 SDO1 RF8 U1RX RF2 U1TX RF3 d RA9 Vref RA10 Vref AVCC AGND RB8 AN8 RB9 AN9 RB10 AN10 B M o1 01 on OY Felele C31 22pF 132 768 C30 sosa y 22pF CLKO x E sme VCC 3 3 R48 10K Figure 11 2 Flash memory module connection schematic FLASH CS VCC 3 3 Nje SCK2 RG6 MOSI2 RG8 25 80 gt a 1 SOSCO R
7. Write program 1665404 2565 710 256 510 256MC510A 256MC710 256MC710A Copyright 08 11 Mikael Gust 32GP302 Figure 3 5 Selecting MCU chip 3255606 From drop down list select MCU chip 256GP710A step 4 Browse for HEX file mikroMMB dsPIC33 examples Calculator Search Calculator i H decor of k x s 1 gt File V Help Organize New folder Write 53 Abort Name i Date modified Type Libraries m Calculator hex 28 12 2010 15 46 Documents Music 3 Pictures Videos Device 2565 710 amp Local Disk C Baud rate 9500 USB Serial Port CO Local Disk D mikro E Write program Local Disk E Local Disk J Write Eeprom Local Disk File name Hexfile Loading device database 492 devices found dm Loading port plugin d amp 30LoaderPortSerial dll found 2 parts 03 NX Figure 3 7 Pop up window for HEX file choosing Copyright 06 31 Mia 1412 select desired HEX file Folder list Figure 3 6 Browse for HEX file 2 Click Open button Click on Browse button and from pop up window figure 3 7 select HEX file which will be uploaded to MCU memory Page 15 step 5 Set Baud rate File View Help gt Write Abort
8. ka http www mikroe com visualtft Page 42 VISUAL TET GUI design made easy SOFTWARE VisualTFT SOFTWARE DISCLAIMER All the products owned by MikroElektronika are protected by copyright law and international copyright treaty Therefore this manual is to be treated as any other copyright material No part of this manual including product and software described herein may be reproduced stored 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 damag
9. 0UT USBDM USBDP VCC 3 3 R53 220 LD3 4 TX RX VCC USB 10 Accelerometer t 2 Figure 10 1 Accelerometer module On board ADXL345 accelerometer is used to measure acceleration in three axes x y and z The accelerometer s function is defined by the user in the program loaded into the microcontroller Communication between the accelerometer and the microcontroller is performed via the 126 interface You can set the accelerometer address to O or 1 by re soldering the SMD jumper zero ohm resistor to the appropriate position Jumper is placed in address 1 position by default 10uF VCC 3 3 VCC 3 3 C31 1 10 10 22 2 SOSCO RC14 SOSCO 5 DM SCL1 RG2 4 SOSCI RC13 sosa 32 5 RDO SiG 12 ACC ADDRESS 7 RD10 22pF vcc33 9 RD8 C2 10 RA15 RG6 SCK2 14 a RG7 SDI2 GND 22pF ADXL345 nu 8MHz Ci RG8 SDO2 CLKO RC15 MCLR dsPIC33FJ256GP710A RG9 GND Mee RAO 12 13 SCL1 RG2 RB5 SDA1 RG3 RB4 SCK1 RF6 RB3 SDI1 RF7 RB2 AN2 SDO1 RF8 1 U1RX RF2 U1TX RF3 VCC 3 3 3 3 22pF 100nF 100nF SCLi RG2 1 N N S RB6 PGEC1 RB7 PGED1 RA9 Vref RA10 Vref AVCC RB8 AN8 RB9 AN9 RB10 AN10 AGND 35 decoupling capacitors
10. Board is equipped with an BMHz crystal oscillator X1 circuit that provides external clock to the microcontroller OSC pins This base frequency is suitable for further clock multipliers and ideal for generation of the necessary USB clock which ensures proper operation of bootloader and your custom USB based applications Board also contains 32 768kHz m Crystal oscillator X3 which provides external clock for the internal RTCC module 6 The use of crystal all other schematics is implied even if note _ it is purposely left out because of the schematics clarity INA un N r VCC 3 3 GND 22pF SOSCO RC14 SOSCI RC13 RD0 C30 RD11 RD10 RD9 22pF RD8 C2 RA15 14 GND 22pF dsPIC33FJ256GP710A kro xt FJ pas SCL1 RG2 SDA1 RG3 SCK1 RF6 SDI1 RF7 SDO1 RF8 U1RX RF2 U1TX RF3 a RA9 Vref RA10 Vref4 AVCC RB8 AN8 RB9 AN9 RB10 AN10 AGND L L 100nF 100 100 100nF decoupling capacitors VREF 1 8 Figure 5 2 Crystal oscillator schematics 6 1 microSD 5101 Board contains a microSD card slot for using microSD cards in your projects It enables you to store large amounts of data externally thus saving microcontroller memory microSD cards use Serial Periphera
11. C14 lt 0 4 2 a SOSCI RC13 Hosa g 9 4 2 eI 1 L s 7 9 n H RD8 8 2 H 36 2 Heu 37 0512 8 8 R Iur 2 23 dsPIC33FJ256GP710A 3 39 Nu re 41 ts 41 L T 5 g MOSII RF8 __ 12 SCL1 RG2 NES 44 E Cs 5 7 20 RX 47 21 48 A 22 SC MOSIi RF8 23 SDA 59 24 51 Am HW REV 1 10 ir 23 decoupling capacitors Pads HDR2 Pads HDR1 lp ae mm ERE M 2 c Figure 12 1 Pads connecting schematic cx SDA RG3 3 30 YI Most microcontroller available further connectivity via two 1 26 rows connection pads on both sides of the mikromedia board They are designed to match additional shields such as Battery Boost shield Gaming PROTO shield and others Page 38 13 Pinout qoom lt Won ee lt EN 5V power supply Reference Ground 10 AN2 SS1 sen sPa AN3 4 5 8 9 AN20 AN21 AN6 SCK1 SDI1 5001 COFS SCKo SDI2 SDO2 Reference Ground Pin functions 5V GND RB1 i RB4 RB5 RB8 RB9 RA12 RA13 RA14 15 RB6 RB7 RF6 RF7 RG15
12. CS MP3 RST R2 10 10072 1008 100nF 100 100 100nF c31 decoupling capacitors 22pF SOSCO SOSCO RC14 SOSCI RC13 SOSCI X3 32 768KHz RDO C30 b 2 VCC 3 3 R33 E2 10uF RD10 RD9 22pF 18 R18 RD8 C2 3 3nF 100K 15 2 866 R5 7 RG6 SCK2 14 1 MH MCIR dsPIC33FJ256GP710A mi 40 715 B VCC c e 3 3nF 100 GND RAG cco L RAO RA3 22pF XDCS BSYNC 38 T RA2 IOVDD1 22 _ 10 SCLI RG2 ram VCO 2H pu SDA1 RG3 2 DGND1 zT gt 5 1 6 a RP E SDI1 RF7 XTAL1 XI E IOVDD2 22 a 25 U1RX RF2 DONDE 40 PHONEJACK U1TX RE3 1 DGND3 39 ma 5 5980552 T DGND4 5 71 1 1 2 4 1 1 1 1 101 1 2 2 2 1 1 1 16223 1 1 112 37 CVDD2 ph R30 31 4827 12 288MHz C20 C19 22pF 22pF 20 120 10 n 10nF 47nF 4444 u VREF 1 8 L 10uF 100nF MOSI2 RG8 SCK2 RG6 decoupling capacitors Figure 8 3 Audio module connection schematic Mikromedia contains a USB MINI B connector which is positioned next to the battery connector FT232RL USB UART IC enables you to implement UART serial communication functionality via USB cable since
13. F 22K 1 R50 VCC 3 3 OR R39 4 7 3 3 VCC SYS R35 LD2 R36 x E7 C40 10K CHARGE 10K R45 1 4 R38 2 2uF NN NN R37 10K 5 AJ AJ E STAT PROG 10K VSS E5 4 2 5 E VDD je BC846 BC846 MCP73832 Charging Current approx 250mA Figure 1 3 Power supply schematics 3 3 VCC SYS HDR1 Q N i 2 LM 2 dSPIC33FJ256GP710A microcontroller mikromedia for dsPIC33 development system comes with the dsPIC33FJ256GP710A microcontroller This high performance 16 bit microcontroller with its integrated modules and in combination with other on board modules is ideal for multimedia applications Key microcontroller features Up to 40 MIPS Operation 16 bit architecture 256KB of program memory 30 720 Bytes of RAM 85 1 0 pins Internal Oscillator 7 37 MHz 512kHz nanoWatt features Fast Wake Fast Control 2 UART 2 SPI 2 12 2 CAN DAC ADC etc Page 10 40 60 MIPS 16 hj 6 b Optimal It Core MCU DSP Resources 16 Core DSP Jmulator Engine Shadow Set 16 16 Multiply Instruction j 2 2 Bus Flash RA 256 30KB Data Bus Input Output Capture Compare 16 bit PWM Timers Audio Cont rol 10 1 2 p a DAC 2 wire Interrupt Debug Controller 1 l
14. O C30 5 RD11 RD10 e RD9 22pF o RO 208 2 KE 15 5 RG6 SCK2 RA14 3 GND 22pF RG8 SDO2 CLKO RC15 xi Cl dsPIC33FJ256GP710A ibuk 15 RG9 1 16 NM r 17 18 PE SCL1 RG2 SDA1 RG3 gt SCK1 RF6 VCC 3 3VCC 3 3 SDI1 RF7 224 mos 1 25 10 10 U1TX RF3 LCD RST LCD CS VCC 3 VCC 3 VCC 3 3 VCC 3 3 vi 100nF 1000 100nF Cal C22 R42 18 18nF 300K i LCD XL decoupling capacitors LCD YU RB10 AN10 RA10 Vref4 11 RB6 PGEC1 RB7 PGED1 RA9 Vref RB8 AN8 RB9 AN9 AGND 26 27 28 29 30 31 VREF 1 8 VCC 3 3 VCC SYS Sm Sums Na M v 12 SEC n Na ama NI Mi o oo 1 OD un MI 0283QT 9A 8 Audio module mikromedia dsPIC33 features a stereo audio codec VS1053 This 11111111111 module enables audio reproduction using stereo headphones connected E to the system a 3 5mm connector All functions of this module controlled by the microcontroller over Serial Peripheral Interface SPI Figure 8 1 151053 codec Figure 8 2 3 5mm headphones jack 9 10uF VCC 3 3 7 VCC 1 8 VCC L8 1 8 18 3 3 ki 10K 33 MP3
15. cessories What s next 18 19 20 22 24 26 28 30 32 34 36 38 39 40 41 42 Introduction mikromedia for dsPIC33 mikromedia for dsPIC33 is a compact development system with lots of on board peripherals which allow development of devices with multimedia contents The central part of the system is a 16 bit dsPIC33FJ256GP710A microcontroller mikromedia for dsPIC33 features integrated modules such as stereo MP3 codec TFT 320x240 touch screen display accelerometer USB connector audio connector MMC SD card slot 8 Mbit flash memory 2x26 connection pads and other It comes pre programmed with UART bootloader but can also be programmed with external programmers such as mikroProg or ICD2 3 Mikromedia is compact and slim and perfectly fits in the palm of the hand which makes it a convenient platform for mobile devices TOUCH SCREEN USBUART 320 240 ms Package contains E 5 2 2 e 2 LJ e e e LLL mikromedia dsPIC33 development system mikromedia for dsPIC33 Compact development system rich with on board peripherals for all round i multimedia development on dsPIC33FJ256GP710A device 1 i x 1 i i
16. dsPIC33FJ256GP710A does not support USB protocol Figure 9 1 Connecting USB cable to programming connector Before connecting the board make sure that you drivers installed on your computer Tx Rx LED flashes when USB and controller communicate N N Iro l S q 5 m MCLR 10uF RG15 RES REG RE7 2 RC3 RC4 RG6 SCK2 RG7 SDI2 RG8 SDO2 dsPIC33FJ256GP710A RG9 GND RAO RA12 RA13 RB5 RB3 RB2 AN2 RB1 RBO RB6 PGEC1 RB7 PGED1 RA9 Vref RA10 Vref4 RB10 AN10 RB11 GND VCC RAL RF13 RF12 RB12 RB13 RB14 RB15 GND NGG RD14 Figure 9 2 USB module connection schematics SOSCO RC14 SOSCI RC13 RDO RD11 RD10 RD9 RD8 RA15 RA14 GND CLKO RC15 CLKI RC12 VCC RA5 RA4 RA3 RA2 SCL1 RG2 SDA1 RG3 SCK1 RF6 SDI1 RF7 SDO1 RF8 U1RX RF2 U1TX RF3 RF4 VCC 3 3 61 on on on on Ov 4 C31 h 22pF X3 32 768 2 C30 VCC 3 3 MCU RX 22pF C2 MCU TX 22pF xi 8MHz Ci 22pF BU 3 3 3 3 VCC 3 5 100 100nF decoupling capacitors FT232RL N m N u OSCO OSCI TEST AGND NC CBUS0 CBUS1 GND RESET GND 3V3
17. es 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 navigation 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 mikroPascal mikroProg Ready MINI mikroBUS EasyPIC EasyMX click boards 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 O 2014 MikroElektronika All Rights Reserved If you want to learn more about our products please vi
18. headers wire jumpers and more Gaming shield Li Polimer batterv Page 41 BatteryBoost shield B PROTO shield Wire Jumpers Stacking headers What s next You have now completed the journey through each and every feature of mikromedia for dsPIC33 board You got to know its modules and organization Now you are ready to start using your new board We are suggesting several steps which are probably the best way to begin Find useful projects and tutorials on the Libstock website www libstock com Join our Forum www mikroe com forum and get help from a large ecosystem of users Compiler You still don t have an appropriate compiler Locate dsPIC compiler that suits you best mikroC on our site PRO for dsPIC http www mikroe com dspic compilers Choose between mikroC mikroBasic and mikroPascal and download fully functional demo version so you can begin building your first applications COMPILER COMPILER mikroBasic PRO for dsPIC mikroC PRO for dsPIC 6 Visual 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 enables you to quickly create your GUI It will automatically generate code compatible with MikroElektronika compilers Visual TFT is rich with examples which are an excellent starting point for your future projects Download it from the link bellow
19. ip Outstanding performance easy operation and Figure 3 12 elegant design it s key features Connecting mikroProg to mikromedia mikroProg Suite for PIC software oe mikroProg programmer requires special programming software called mikroProg Suite for This software is used for programming all microcon troller families including 10 PIC12 PIC16 PIC18 dsPIC30 33 PIC24 and PIC32 Software has intuitive interface and SingleClick programming technology Just by downloading the latest version of mikroProg Suite your programmer is ready to program 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 bit ccp2 B Output M L a Table Read Protect tortie m FF Code 00000 007FF FF FF J FF Type Device Status Idle Revision Memory Size 32 KB Program DATA Sae 256 Bytes Address Oh J Mikrotie COMPILERS 1 BOOKS Aw sim gle Figure 3 13 Main Window of mikroProg Suite for PIC programming software Page 19 The microcontroller can be also programmed with ICD2 or ICD3 programmer These programmers connects with mikromedia board via ICD2 CONNECTOR BOARD Figure 3 15 Connecting ICD2 or ICD3 programmer In order to enable the ICD2 and ICD3 program
20. l Interface SPI for communication with the microcontroller 10uF Ida E 100nF 100nF al 100nF decoupling capacitors Ca GND 22pF guae soscr A UE IE 132 768 RDO C30 RD11 RD10 RD9 22 RD8 C2 VCC MMC VCC 3 3 15 li 22pF ER LM C38 14 56 2 yer dsPIC33FJ256G P710A akra RG9 62 e 5 3 A u 59 E SCL1 RG2 SD SDA1 RG 22 gt SCK1 RF6 723 SDI1 RF7 53 R10 VCC MMC SDO1 RF8 Harem 5 zi U1RX RF2 25 Wn de ooz 51 SD CS gs MOSI2 RG8 Ce L 5335 scx R16 GND 27 2 CD VREF 1 8 I Figure 6 2 microSD Card Slot module connection schematics 7 Touch screen The development system features a TFT 320x240 display covered with a resistive touch panel Together they form a functional unit called a touch screen It enables data to be entered and displayed at the same time The TFT display is capable of showing data in 262 144 different colors Figure 7 1 Touch Screen CERE USBUART i 10uF LCD BLED LCD BLED C31 BAT43 Q2 16 12 2 GND 22pF Q3 2 sosco RC14 32 768KHz SOSCI RC13 q 4 RD
21. mers be connected to the development system it is necessary to provide an appropriate connector such as the ICD2 CONNECTOR BOARD This connector should be first soldered on the CN5 connector Then you should plug the ICD2 or ICD3 programmer into it Figure 3 14 10uF VCC 3 3 6 1 PGC1 2 5 M1X5 C31 GND 22pF 05 4 2 768 SOSCI RC13 3 192 768kHz RD0 C30 RD11 RD10 RD9 22pF 62 10 RA15 RG6 SCK2 14 GND 22pF 88 5002 CLKO RC15 xi J MCLR dsPIC33FJ256GP710A 1 Ci 60 17 59 18 58 19 57 _ 19 SCL1 RG2 SDA1 RG3 gt gt SCK1 RF6 CN5 SDI1 RF7 MCLR 6 5 SDO1 RF8 0025 22 lt U1TX RF3 3 lt lt a c AAA 1 15 li R14 100 100 1 6 RB6 8 VCC 3 3 VCC 3 3 VCC 3 3 VCC 3 3 5 C 10u 1 decoupling capacitors Figure 3 16 ICD2 ICD3 amp mikroProg programmer connection schematics Board is equipped with a reset button which is 4 USB UART located at the top of the front side Figure 4 2 If you want to reset the circuit press the reset button It will generate a low voltage level on the microcontroller reset pin input In addition a reset can be externally provided through pin 27 on side headers Figure 4 3
22. mikromedia for dsPIC33 Compact development system rich with on board peripherals for all round multimedia development on dsPIC33FJ256GP710A device MikroElektronika or DEVELOPMENT TOOLS COMPILERS BOOKS JO VAL JED CUSTOMER want to express my thanks to you for being interested in our products and for having confidence in 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 Table of Contents Introduction to mikromedia for dsPIC33 Package contains features System specification 1 Power supply USB power supply Battery power supply dsPIC33F 256GP710A microcontroller Key microcontroller features 3 Programming the microcontroller Programming with mikroBootloader step 1 Choosing COM port step 2 Choosing device family step 3 Choosing device step 4 Browse for HEX file step 5 Set Baud rate step 6 Uploading HEX file c 10 10 11 12 13 14 14 15 16 16 Programming with mikroProg programmer mikroProg Suite for PIC Software Programming with ICD2 or ICD3 programmer 4 Reset buttons 5 Crystal oscillator 6 microSD card slot 7 Touch screen 8 Audio module 9 USB UART connection 10 Accelerometer 11 Flash memory 12 Pads 13 Pinout 14 Dimensions 15 mikromedia ac
23. sit our website at www mikroe com If vou are experiencing some problems with anv of our products or just need additional information please place vour ticket at www mikroe com support If vou have questions comments or business proposals mikromedia for Manual ver 1 100000 024614 do not hesitate to contact us at office mikroe com
24. spic33 mikroc mikro 27 Hex4ie E mikrommb_dspic33_mikroc mikroMM 256GP710A Device dsPIC33FJ 256GP710A te 256000 Port USB Serial Port CO Baud 256000 Port USB Serial Port CO dsPIC33FJ E Write program Write Eeprom Initiating write Searching for bl Found dsPIC33FJ256GP7104 fw ver 2 0 1 Waiting for bootloader to be ready ok Writing flash Write program Write Eeprom Initiating write Searching for bl Found dsPIC33FJ256GP 710A fw ver 2 0 1 Waiting for bootloader to be ready ok Writing flash ak Write finished Tx 59kB Rx 346 bytes 6 48 Copyright 08 11 Mikael Gustafsson 141 Copyright amp 08 11 Mikael Gustafsson Figure 3 10 Program uploading Figure 3 11 Uploading is finished Progress bar indicates HEX file upload process After uploading is finished you will get a notice 9530 Loader history window Page 17 The microcontroller can be programmed with mikroProg programmer and mikroProg Suite fo software The mikroProg programmer is connected to the development system via the CN6 connector Figure 3 12 mikroProg is a fast USB 2 0 programmer with mikrolCD hardware In Circuit Debugger Smart engineering allows mikroProg to support 10 PIC12 16 PIC18 dsPIC30 33 PIC24 and PIC32 devices in a single gt programmer It supports over 570 microcontrollers from 4 Microch
25. tive CONSUMPTION board dimensions 81 2 x 60 5 mm 3 19 x 2 38 inch weight 50g 0 11155 class B product Product complies with the Class B limit of EN 55022 and can be used in the domestic residential commercial and industrial environments CAUTION Electrostatic sensitive device Permanent damage occur on devices subjected to high electrostatic discharges which readilv accumulate on the human body or test equipment and can discharge without detection 1 Power supply Battery power supply You can also power the board using a Li Polymer battery via on board battery connector On board battery charger circuit MCP 73832 enables you to charge the battery over a USB connection LED diode RED will indicate when the battery is charging Charging current is 25 and charging voltage is 4 2V DC Connecting USB power supply PES 1 FOS USB power supply You can apply power supply to the board using MINI B USB cable provided in the package On board voltage regulators provide the appropriate voltage levels to each component of the board Power LED GREEN will indicate the presence of power supply Figure 1 2 Connecting Li Polymer battery DATA BUS VCC SYS VCC USB PMEG3010ER D1 DMP2160UW 1 FP2 FERRITE VCC BAT VCC BAT R6 4K7 R49 VCC 1 8 VSENSE R34 5 R47 VREF 1 8 VCC 1 8 4K7 FP3 120K FERRITE E11 MIC5205 ADJ R46 10u
26. twork adapters Y Ports amp LPT LYS Communications Port COMI YE Printer Port LPT1 USB Serial Port 5 gt Processors 4 Sound video and game controllers b System devices gt Universal Serial Bus controllers Figure 3 2 Identifying COM port Device Manager see which port is assigned to mikromedia in this case COM5 step 1 Choosing COM port Help Write Abort Baud rate 5500 Write program 01 Write Eeprom Loading device database 492 devices found Loading port plugin 9530 dll found 2 ports Loading settings ok Copyright amp 08 11 Mikael Gustafsson Figure 3 3 Selecting COM port From drop down list select USB COM port which is used for communication with a PC in this case COM5 Page 13 step 2 Choosing device family File View Help Write Abort dsPIC30F Baud rate PIC12F Write PIC16F PIC18F Write E pictae a Lal USB Serial Port 01 devices found Port Serial dll found 2 ports Copyright amp 08 11 Mikael Gustafsson Figure 3 4 Selecting MCU family From drop down list select MCU family dsPIC33F Page 14 step 3 Choosing device File View Help Write Abort Hexdile Device Baud rate 9600 1655402
Download Pdf Manuals
Related Search
Related Contents
RCA RS2047 Stereo System User Manual DMM Product MAnual USER`S MANUAL - prop controller home SNAKE-12 取扱説明書(5.1MB) Rodin Maroufi - School of Engineering Science Page 8 - Solid Axle Industries Ontrack® PowerControls™ 4.0 DVI LCD Console CL6700 User Manual 取扱説明書 - RPI H シリーズ Copyright © All rights reserved.
Failed to retrieve file