Home
LV32MX v6™ - MikroElektronika
Contents
1. WA 818 C KA ja e ATA N a wout onn d pa Ba Ei an a CH e KH n A a e o ETA a Set A w W La Di M KZ oe Y ATAL ra 2 is i a 4 a S Si Bic ATA ey De E LA sa a E e BR af Y m wae ATA B ik dE IR H r 3 D Zei 2 H CC SL a a Ola ie ya Si m d st Ss AN A ATHR IS See ig Gr St CH e a e al LA toi e A Es KTK R42 T By pressing any button when jumper J15 is in the VCC 3 3 position a logic one 3 3V will be applied to the appropriate microcontroller pin as shown in Figure 20 2 By pressing a push button the appropriate pin will be driven high 1 zwe PIC32MX460F512L m RG9 GND VCC RAO m RES m RE9 m RB5 L CIS LC m RB2 MS ep Gen O VCC3 Figure 20 2 Push buttons and port PORTB connection schematic MikroElektronika e e le ej le e le Le Ka O a 1138 LV32MX v6 Development System 2 21 0 Input Output Ports Along the right side of the development system there are twelve 10 pin connectors connected to the microcontroller s I O ports Pins RBO RB1 and mRST are used for programming and therefore are not directly connected to the appropriate 10 pin connectors but via the programmer s multiplexer DIP switches SW1 SW11 enable each connector pin to be connected to one pull
2. 5V DEM ki ki ki MEN LE KE Wol kou ki an at ee er da Teed ele eae OSISISIENEIENEI GOLD PLATED EDGE CONTACT MCU CARD MIA ME RE S SL L D x Pa Bh a E ees sc AC mwan man ri A CA Ed A can 3 8 LEDs ON D gt MMC SD Wak da A possibility of reading MMC SD memory cards MEMORY CARD The PIC32FLASH program for programming provides a complete list of all supported microcontrollers The latest version of this program with updated list of Supported microcontrollers can be downloaded from our website at www mikroe com Package contains Development system LV32MX v6 CD product CD with relevant software Cables USB cable Documentation Manual for LV32MX v6 quick guide for installing USB drivers and electrical schematic of the system System specification Power supply over an AC DC connector 7 23V AC or 9 32V DC or over a USB cable for programming 5V DC IO A Power consumption 40mA in idle state when all on board modules are off ES RE Dimension 26 5 x 22cm 10 4 x 8 6inch Weight 440g 0 97lbs a LV32MXK v6 Development System ON BOARD PROGRAMMER USB LINK e PRG ICD E aa OC Wl sss TTT RSR UDI WISS ISIT 9 32V DC KE 7 23U AC WWW ll a da ke Ja ff Go a eee QED ay a eee dEl Eo SEEKELEEE LEDs ARE ACTIVATED BY LOGIC ONE 5V WSSISISISSIS LI WISS a
3. IW32NIK v6 User manual All MikroElektronika s development systems represent irreplaceable tools for programming and developing microcontroller based devices Carefully chosen components and the use of machines of the last generation for mounting and testing thereof are the best guarantee of high reliability of our devices Due to simple design a large number of add on modules and ready to use examples all our users regardless of their experience have the possibility to develop their project in a fast and efficient way Development System JMikroElektronika SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD waking it simple TO OUR VALUED CUSTOMERS l 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 The Microchip name and logo the Microchip logo Accuron dsPIC KeeLoq microlD MPLAB PIC PlCmicro PICSTART PRO MATE PowerSmart rfPIC and SmartShunt are registered trademarks of Microchip Technology Incorporated in the U S A and other countries LV32MX v6 Development System TABLE OF CONTENTS Introduction to LV32MX v6 Development System cccccsccccsseecceeeeecsecceeueeccseeesseeeeceuseessaeeesaaees 4 FEY SUING essa caida elas pi
4. a TEST AND nc CBUS1 CBUS1 VCC a e pa pa el el IHH i i RESET 3V3OUT USBDM USBDP besi osci IES AGND NC CBUS1 CBUS1 GND ve RESET No 3v3ouT USBDM USBDP VCC 3 3 VCC 5V C31 C29 100nF 100nF VCC 5V E16 10uF VCC 5V O Bottom view VCC 3 3 VCC 5V C32 C30 100nF 100nF VCC 5V E17 VCC 5V e 10uF VCC D D GND RSA USB B 10K e DEB m 2 P Bottom view MikroElektronika 14 LV32MX v6 Development System 10 0 CAN Communication Module CAN Controller Area Network is a communication standard primarily intended for use in automotive industry lt enables the microcontroller to communicate to a car device without using a host PC In addition such communication is widely used in industrial automation The LV32MX v6 uses the MCP2551 circuit for CAN communication This circuit provides an interface between the microcontroller and some peripheral device To enable connection between the microcontroller and MCP2551 it is necessary to set switches 1 and 3 on the DIP switch SW16 to ON position For the same purpose can be used switches 2 and 4 on the DIP switch SW16 Which of these switches is to be used depends solely on the arrangement of the microcontroller pins connected to CAN communication lines The RX line is connected to the microcontroller via RFO and RGO microcontroller pins whereas the TX line is connected to th
5. D ET m AUN Yo e DEVELOPMENT B ann SWITCH e o LV 32MX v6 ika ee Z7PORTA 7 O ANNANN Se W al gt ki 2 Ki ei 2 gt BREE aa TA am ou yon pon tou to ot HHUH ZS i OUE LILI LI Go ot pou La to an HN E SU ALE am on pou tou to ti INN SU LL v e 2 E GHEE SNS v O 2 e N NNNnnn v Sege HI NS ey 12C NOFProDD E wo o Up Pull Down A AW N NT HHQHQNRNRFRFHNHIRINRON N Bas O 8 e e 0 e e e LION LOLLL See eee E df al eee ii Ene LIT AUDIO IN OUT ga EN uy O 2 9 lt G SMH L EN j 0 0 Gas O O HAD SA e n Up Pull 4 Doun ojlo olo HHD v OJOA 8 e a D SS o O E E S Mo EN je e OO o 0 O 8 OO O 8 OO En GOLD PLATED EDGE CONTACT MCU CARD E NNNnnn os RS WER SPI gt DO0O0 po sd 4 a ai Efc a io He EHS HA ED LU W A Li f lt O a n E E uv O a m E E E ojE E TFT CONTROL eses WITH TOUCHPANEL SS Onn EH e in e v O a n EH je e S Mo 0 uE 0 0 Leem Ou Leg 0 8 En En En v A Bas O0 08 O0 0 O0 o 0 HE 0 O H NH e OHH ee el Gas 0 o 0 HEHE ene Sees U 00000 cel LILIA MSS 0 E e 2 z Q L l me O o 0
6. m RBO Figure 12 2 MCP9700A and microcontroller connection schematic MikroElektronika TK a N BLOSGTECL VCC 3 3 Y U10 GND VOUT MCP9700A NO LV32MX v6 Development System 13 0 Joystick A joystick is a movable stick that can be moved in several directions Every movement can be registered by the microcontroller The LV32MX v6 provides a joystick which can be moved in four directions and serves as a push button Its function is determined in the program written by the user and loaded into the microcontroller However the joystick can be assigned various functions In this case it is typically used for navigation through the user menu In addition to navigation function the joystick can serve as a push button Figure 13 1 Joystick Joystick has a navigation function O gt m o Silo Ti RG1 mm RF1 RFO mm ENVREG mm VCAP m RD7 RD6 mm RDS mm RD4 RD13 mu RD12 mm RD3 m RD2 RD1 Su PIC32MX460F512L Sie vw RIGHT RBI ARER OVCC3 GND RATO 7 NE VCC Rea LEFT AI mm RAO gt ma RES REO JOYSTICK ma RBS CONS m RB3 A A LEE O VCC3 Figure 13 2 Joystick and microcontroller connection schematic MikroElektronika 18 LV32MX v6 Development System 14 0 FLASH Module Since multimedia applications are getting increasingly demanding it is necessary to provide additional memory space to be used for storing programs by the microcontroller The M25P80 c
7. board P C32Flash programmer one of the external programmers ICD2 or ICD3 from Microchip can be used for programming microcontrollers Connection between the external programmer and development system is established by means of the ICD connector RJ12 Front view Side view Bottom view VCC 3 3 Figure 4 1 ICD connector C42 100nF Figure 4 2 ICD connector and microcontroller connection schematic For the hex file to be loaded into the microcontroller it is necessary to provide an adequate program The MPLAB program from Microchip is the right one You can use this program to write a code and load it afterwards into the microcontroller By means of the Programmer option contained in the MPLAB window you can select a programmer to be used for loading the code into the microcontroller 5 0 3 3V Voltage Regulator The LV32MX v6 development system is provided with a voltage regulator whose purpose is to reduce the power supply voltage of the development system from 5V to 3 3V The 3 3V power supply voltage is then used for powering the microcontroller and other on board modules The MC33269DT 3 3 circuit provided on the development system is used as a voltage regulator capable of providing 800mA current REGI VIN VOUT 2 E6 C5 E4 uF 100nF 10uF MC33269DT 3 3 Figure 5 2 Voltage regulator connection schematic MikroElektronika LV32MX v6 Development System Ti 6 0 Power supply The LV32MX v6 de
8. development system is also able to generate an audio signal using WM8731SEDS or MCP6022 circuit The WM8731SEDS is used to convert digital data from the microcontroller to audio signal to be transferred to headphones Communication between this circuit and the microcontroller is performed via SPI serial interface The MCP6022 circuit is used for filtering PWM signal generated by the microcontroller The headphones may be connected to the system using a 3 5mm connector CN22 The function of jumpers J13 and J14 is to select a signal to be transferred to the 3 5mm connector When jumpers J13 and J14 are set to PWM position as shown in Figure 16 4 the CN22 connector is fed with a signal from the MCP6022 circuit When jumpers J13 and J14 are set to ACD positon refer to Figure 16 3 the CN22 connector is fed with an audio signal from the WM8731SEDS circuit via LHPO and RHPO lines i Figure 16 3 Jumpers J13 Figure 16 4 Jumpers J13 and J14 in ACD position and J14 in PWM position Prior to headphones you can use on board speaker which is connected to left stereo channel In order to use this speaker it is necessary to place jumper marked with SPEAKER Figure 16 5 Figure 16 5 Enabling on board speaker MikroElektronika NI 0 LV32MX v6 Development System For the microcontroller to be connected to the audio module it is necessary to turn on the switches on the DIP switches SW13 SW14 and SW20 In case the microcontroller is used for generat
9. e oi Em pE Hr E D 0 O vr Z UM LU SL OL LL Bt SERN ZS y O 2 MOH LI EE D SE EE A besse VA 7 A E br SS QN Ne OARD HWREV 1 10 BY MIKROELEKTRONIKA 3 Y 13 16 17 18 19 20 Sch 22 23 24 25 26 27 TFT display with integrated touch panel Push buttons simulate microcontroller input pins Jumper for shortening the protective resistor Jumper for selecting push buttons logic state Reset button MMC SD card connector Power supply voltage regulator 85 LEDs indicate pins logic state CAN communication module On board 2x16 LCD Temperature sensor FLASH module EEPROM module LV32MX v6 Development System 1 0 Connecting the System to a PC Step 1 Install mikroProg Suite for PIC Follow the instructions provided in the relevant manual and install the mikroProg Suite for PIC program and the USB driver from the product CD They are essential for the proper operation of the on board programmer Step 2 Connect development system Use the USB cable to connect the development system to a PC One end of the USB cable with a USB connector of B type should be connected to the development system as shown in Figure 1 2 whereas the other end of the cable with a USB connector of A type should be connected to a PC When establishing a connection make sure that jumper J16 is placed in the USB position as shown in Figure 1 1 AC DC connector USB conne
10. easily simulate the operation of the target device ica AA A AA d d ESA IECH Full featured development a ME cel oR er ES z 3 MNT system for PIC32MX G t use LINK O Ze Mi mont BEE e es Bil e mai Ee GP 5 10 19 microcontroller based devices a r g NE Sez ce do Alan Gar Tes eg AAA w INC d lila ngo Y ul f dE AAA koche A oh lk n ENABLE COG USB UART AELE On board USB 2 0 programmer RBG DEG a A EJER 3 Laf via SOU EE F BND RAI lt manm nn n C a A w CH g A E Sl E a E AUDIO IN OUT res 054 GH ONO D34 BND 024 BNO Die BND DO lt A3 ES Re2 RSS we GND GNO 4 a8 en a ENENENENENENSI E AEE T RR E EEEE el ieleleieleie eko kok ohah al Teg LSILENLSIS Hea ea Lia bea Al PEN en H UCC lt OTST os fal ed hed bl mam EEES Yes EAS ia HA 2 J Y EERE SPISISISNFISNENS w Di a DI DI DI 3 S rr TFT display provides a palette 320X240 of 262 000 colours and an hee Integrated touch panel lalalala AAS N l Dr a aa ale aeaa ee Soya ds EK Ve Del Cf el 4 4 SPI KE TA To LA a use psu uE EN is Eier g Ki ep Navigation joystick used for A sa re osun 3 ris a easier orientation and navigation RESET oui REET ee de A TT petion souo through the user menu OL eA MED WID ee BUS BMX v6 3 sales 2285 855 BY MIKROELEKTRONIKA A LEDs ARE ACTIVATED BY LOGIC ONE
11. shown it is necessary to select appropriate port PORTA PORTB PORTC PORTD PORTE PORTF PORTF G or PORTG using DIP switch SW12 IE 4 RAS 05 a AB4 044 GND D34 GNO D24 GNO Dia GND DO W RB3 EU GND R W RB2 RSA 5U UCC 4 aon a uses COG2x16 CONTRAST do SDEHHARR PSUS a 123 LAJ LEDs ARE ACTIVATED BY LOGIC ONE 5V EE RS LC Raa eg Facing SNS TRES E La Ca GEI D A LA 8 ke esse dla fell a el ed ei ENENENENSKENE E EI 952000 2 ooo e Mozo Y GA Si CEE WG ASS 2 x N 3 ema pi H ag Bi a w 5 07000 RS ENE SMS LE ie I ad a8 LN RO BEAT ME K Re R R gi js fal leila ellie ala 5 ete eb et BEE me ao L Bi ol poe ma N 1 H GR OOOO Ja SENSE SSES led ee ell SHS NESS eel ee et ig AE D Al Rae es lll e a Yo Aia 3 a S D a N 6 a f N E N Bag a a a a VAN KA OS Sul HUA PORTA MM 7 PORTB MM PORTC MM E S A 2 wi kA in RG2 Figure 19 1 LEDs i 61 Port PORTB LEDs are turned on O 1H o 2 jo T RG1 m RF1 mm RFO mm ENVREG mu VCAP m RD7 RD6 RD5 mm RD4 mu RD13 mu RD12 RD3 RD2 mu RD1 mm Su PIC32MX460F512L SC m RAO m RES SC ol mE O VCC3 Figure 19 2 LEDs and port PORTB connection schematic Notch indicating the SMD LED cathode 8BL
12. source connection schematic MikroElektronika 12 LV32MX v6 Development System amp z 7 0 USB Communication Connector The CN21 USB connector enables a PIC32 microcontroller with a built in USB communication module to be connected to peripheral modules The microcontroller is connected to the CN21 USB connector via USB DM and USB DP lines The function of the LED marked as ON is to indicate connection between USB devices and the development system hence the microcontroller KA Moho T RIS e e Bottom view DIMM 168P Figure 7 1 USB connector Figure 7 2 USB connector and microcontroller connection schematic 8 0 USB HOST Connector The LV32MX v6 development system can be linked to peripheral units such as printer USB flash memory etc by means of the USB HOST connector Communication between the microcontroller and USB devices is performed via RG2 RG3 and RB14 microcontroller pins The USB HOST connector is linked to the microcontroller via the same pins as the USB communication connector so that it is not possible to use them simultaneously USB connector of A type is connected to the microcontroller Ei gt m o Sje T ENVREG Esch VCAP mm RD7 mm RDG mm RDS ES RD4 BS RD13 mm RD12 mm RD3 mm RD2 mm RD1 mm Figure 8 1 USB connector of A type m RG8 Evar PIC32MX460F512L Cel m CC RAO mu RES mm REQ m RBS me RB4 m RB3 m RB2 m RB1 m RBO USB PSW NANM AS
13. 8x10k resistor network To provide the RD8 pin with such signal it is necessary to set switch P1 on the DIP switch SW7 to ON position As a result every time you press the RD8 push button a logic one 3 3V will appear on the RD8 pin provided that jumper J15 is placed in the VCC 3 3 position In order to enable port PORTD pins to be connected to pull up resistors and the port input pins to be supplied with a logic zero 0 it is necessary to place jumper J7 in the Up position and jumper J15 in the GND position This enables any port PORTD input pin to be driven high 3 3V in idle state over the 10k resistor As a result every time you press the RD8 push button a logic zero OV will appear on the RD8 pin provided that the P1 switch is set to the ON position In case that jumpers J7 and J15 have the same logic state pressure on any button will not cause input pins to change their logic state 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 ma
14. A Figure 8 2 USB connector and microcontroller connection schematic MikroElektronika LV32MX v6 Development System 9 0 USB UART Modules USB UART modules enable the development system to be connected to a PC via a USB connector In addition to PC the development system can also be easily connected to other devices that use USB communication USB UART modules are connected to the microcontroller supplied on the development system via DIP switch SW15 In order to establish connection between USB UART 1 module and MCU turn ON switches 1 4 on DIP switch SW15 For USB UART 2 turn ON switches 5 8 on DIP switch SW15 Port RS 232A is connected to the microcontroller via RF2 RES RD14 and RD15 pins ERR m de lt W a O E T RE3 m RE2 mm RG13 mm RG12 mm RG14 mm RE1 mm REO mm RA7 mm RAG mm RGO mm RG1 mm RF1 m RFO mm ENVREG o VCAP m YA RD6 mm RD5 mm RD4 m RD13 mm RD12 mm RD3 mm RD2 m Sitt I O A a a C ARCHE CC m RE5 m REG m RE7 sey RC2 Cex m RC4 mm RGG m RG7 mm RG8 Bice PIC32MX460F512L m RG9 fein p C A00 RAO me RES m RE9 m RB5 m RB4 m RB3 m RB2 RB1 RBO Figure 9 2 USB UART modules and microcontroller connection schematic USB connector NAN ASA csus4 csus2 ll causa FT232RL FTDI1 US U2RX O Txo DTR Jeni en OVCC3 o Mieele RXD ll causa f csus2 ll causa FT232RL FTDI2 Oveeecrsesace iitikiitidiiis i e
15. EG m RE7 m RC 1 CNO mm RC3 me RC4 mm RGG m RG7 m RG8 ENVREG mm Sofa Suz PICZZMX460FS12L CIN el rkejiip m CC m RAO m RES m REY m RB5 m RB4 m RB3 RB2 m RB 1 m RBO 2 _ 12C SDA 12C SCL VCC 3 3 C1 100nF Figure 15 1 Serial EEPROM and microcontroller connection schematic MikroElektronika WPI Sch R47 R48 1K 1K O VCC 3 3 LV32MX v6 Development System 1 16 0 Audio Module Due to the on board audio module the LV32MX v6 development system can be connected both to a microphone and headphones A microphone can be interfaced to the system via a 3 5mm connector CN23 and the WM8731SEDS circuit This circuit is a stereo CODEC with an integrated headphones driver Its function is to convert an analog signal from interfaced microphone to a digital value then to transfer itto a microcontroller or as a sidetone to headphones output A sidetone volume control can be programmed by a software so an additional potentiometer is not necessary In case the microphone signal is transferred to headphones as a sidetone it is necessary to set jumpers J13 and J14 to ACD position as shown in Figure 16 3 It causes the WM8731SEDS headphones output to be connected to the 3 5mm headphones connector CN22 The WM8731SEDS output signal is transferred to the connector CN22 via LHPO and RHPO lines Figure 16 5 page 20 illustrates connection between jumpers LHPO and RHPO lines and the CN22 connector The LV32MX v6
16. FT display and touch panel together form a functional unit called a touch screen The TFT display can be used for displaying pictures videos and other graphic contents Owing to the touch screen it is possible to create interactive applications such as virtual keyboard when writing programs for the microcontroller For the TFT display to be connected to the microcontroller it is necessary to set all switches on the DIP switches SW17 and SW18 switches 2 8 on the DIP switch SW19 as well as switches 5 8 on the DIP switch SW16 to ON position mm RG8 Evar PIC32MX460F512L CAREN AY Ke Ros y E Res File eil A sl RD5 Figure 18 2 TFT display and microcontroller connection schematic LV32MX v6 Development System SA 8 ET TFT COLOR DISPLAY 320X240 WITH TOUCHPANEL EEEE MI0283QT2 TFT PMRD JEE ETERNU PTFTBPWMA er mer 225 LV32MX v6 Development System 19 0 LEDs 2 LED Light Emitting Diode is a highly efficient electronic light source When connecting LEDs it is necessary to use a current limiting resistor A common LED voltage is approximately 2 5V while the current varies from 1 to 20mA depending on the type of LED The LV32MX v6 uses LEDs with current 1mA There are 85 LEDs on the LV32MX v6 development system which visually indicate the state of each microcontroller I O pin An active LED indicates that a logic one 1 is present on the pin In order to enable the pin state to be
17. MOSI SCK MMC CS and MMC CD lines FP2 VCC 3 3 VCC MMC FERRITE 7 10uF VCC MMC O Ojo TI REIS RFO ENVREG mm VCAP mm RD7 RDG mm RD5 RD4 RD13 mm RD12 mm RD3 RD2 RD1 mm u o PIC32MX460F512L mm RG9 CHEN ma CC mm RAO m RES m REQ m RB5 m RB4 m RB3 m RB2 m RB1 m RBO Figure 11 3 MMC SD connector and microcontroller connection schematic MikroElektronika E LV32MX v6 Development System 12 0 Temperature Sensor A temperature measurement is one of the most commonly performed measurements The LV32MX v6 is capable of measuring temperature due to the MCP9700A circuit The temperature range of this circuit goes from 40 C to 125 C with accuracy of 2 C The MCP9700A circuit converts temperature into an analog voltage signal which is then transferred to the RB8 microcontroller pin The value of this voltage is temperature dependable and is converted into a digital number by means of the A D converter provided within the microcontroller The MCP9700A circuit measures temperature within the range of 40 C to 125 C Figure 12 1 Temperature sensor The RB8 microcontroller pin is fed with a signal sent by the MCP9700A circuit lt m co NW SEO 8 w o E Kal VCAP mu RD7 RD6 mm RD5 SS RD4 RD13 RD12 RUSS RD2 RD1 Su PIC32MX460F512L LC RG9 CHEN mm CC mm RAO m RES m REO m RB5 m RB4 m RB3 m RB2 m RB1
18. OGVECI MikroElektronika NI 20 0 Push Buttons LV32MX v6 Development System The logic state of all microcontroller input pins may be changed by means of push buttons Jumper J15 is used to determine the logic state to be applied to the desired microcontroller pin by pressing appropriate push button The function of the protective resistor is to limit the maximum current thus preventing the development system and peripheral modules from being damaged in case a short circuit occurs If needed advanced users may shorten this resistor using jumper J12 Right next to the push buttons there is a RESET button which is used to provide the MCLR pin with the microcontroller reset signal over the on board programmer E E A 3 E Top view Inside view es gt f a F ll ee y E2 LA N DR Sec i ere A Brig POWER l POWER K Push buttons used for simulating Ser esa La Bottom view Side view input pite OFF mi ON POWER SUPPLY Jumper J12 used to shorten protective resistor RESET button Jumper J15 used for selecting logic state to be applied to the NN pin by pressing push button Figure 20 1 Push buttons eil sili LEDs wo DR d 3 le Je 3 a aTa Je PIE A Ld ma 8 a E g im Gi Z TE de 7 w de e e je Ji 0 0 SEI LA a za Je 2 ko P E wh la Y 4 de Y x Ku x D F e Ax x a ji Ki
19. WISS Saa PEDO POP PP O BERR ee SESE eee eee eee LR Gef HEH POWER suppy POWER ext HO 6 uss m on Oo POWER SUPPLY Eee SS E A LON ON QQ O QQ O O O O O p y Jepekbeperg Jeseesees Jeeeeepes d J ME 2222208 Ji JI Ji Ji JE dE dE dE D VAVE Me D ji a D D j fe TE EE dee dee LEE IE Bebe LEE Jl Jl Jl Jl Jl d Jl Jl m ma oes EE MAT AE MIN AR ER ER E eegent pipi Hi e H E E WW H WW WW WW H kel I I I I I U I 1 I I I I I I ot m CAMA Mn DR RR n an pe gt SpA uy pa pr po pr pr p E H RR n n n n n n n MMC SD A KE A pen an CARD Mi LE PY PROPIO ceo oe oe JOU UCC3 H RR AO DHDIR n nn po D RESET SR s as as as a a a a tan L L L L L L L L DISABLE PROFECT JIS IS USED FOR SELECTING VOLTAGE LEVEL TO BE APPLIED WHEN BUTTON IS PRESSED Key Features 1 On board programmer PIC32Flash 2 Connector for external programmer ICD2 or ICD3 3 Audio module 4 Speaker 5 USB communication connector 6 USB HOST connector 7 USB UART 1 module 8 USB UART 2 module 9 DIMM 168P socket for MCU cards 10 Jumper for pull up pull down resistor selection 11 DIP switches enable pull up pull down resistors 12 I O port connectors 13 DIP switches turn on off on board modules 14 Navigation joystick VWA al CT N H DS WS EL II E N S KE OO NNA Nana TFT COLOR DISPLAY 320X240 mn m
20. ctor pq H IET AS A us E ES ON BOARD USB LINK PROGRAMMER o ts L ME a B47 J16 power supply selector Figure 1 1 Power supply Figure 1 2 Connecting USB cable Step 3 Load hex file Turn on your development system by setting the POWER SUPPLY switch to ON position Two LEDs marked as POWER and USB LINK will be automatically turned on indicating that your development system is ready to use Use the on board programmer PIC32Flash and the mikroProg Suite for PIC program to dump a code into the microcontroller and employ the system to test and develop your projects NOTE If some additional modules are used it is necessary to place them properly on the development system while it is turned off Otherwise either can be permanently damaged Refer to figure below for the proper placing of the additional modules A o E De 5 OFF ON POWER SUPPLY PEKER v gt s SE a D 3 a je l E ER 8 n AA AT Ta L Tan A Faka Ae do fe elo ie jo je Ge jie NI ere ibe USED 3 A Figure 1 3 Placing additional modules on the board MikroElektronika LV32MX v6 Development System 2 0 Supported Microcontrollers The LV32MX v6 development system provides a DIMM 168P connector to place an MCU card into This development system comes with an MCU card with the PIC32MX460F512L in 100 pin TQFP package soldered on it Figure 2 3 Besides the MCU card alone pro
21. e microcontroller via RF1 and RG1 microcontroller pins 9 32U DC Figure 10 1 CAN module o Figure 10 2 CAN module connector CAN communication is enabled via DIP switch SW16 W m o A TI VCAP mm RD7 RDG mm RD5 mu RD4 RD13 RD12 mm RD3 mu RD RD1 VCC 5V O ENVREG o 2 R10 5 10 Bee Win Geff CN16 ES oo LI Nee ern CAN e z Vref mm RG8 MCP2551 Eick PIC32MX460F512 Zwar PI MX460F L GND m CC m RAO CH mm RES KE mm REQ m RBS m RB4 m RB3 m RB2 m RB1 m RBO VCC 5V Figure 10 3 Microcontroller and MCP2551 connection schematic MikroElektronika LV32MX v6 Development System 1 11 0 MMC SD Connector The MMC SD connector provided on the development system serves as an interface for memory cards which enables the expansion of the memory available to the microcontroller The microcontroller communicates with these memory cards by means of serial communication To enable it it is necessary to set switches 4 8 on the DIP switch SW13 to ON position d SUPPLY POWER e e i 5 ow a LA SCH 8 a 8 vy a is ja Tien 2 08 g Gd tee RB15 j 3 OD 3 Q w e aay kate A SL e H ie e RB D DL e RSC e i CARD El 2 al 3 Li L ai e ka is n G JIS iS USED FOR SELEC Figure 11 1 MMC SD connector Figure 11 2 MMC SD memory card MMCI SD card communicates to the microcontroller via MISO
22. erda 5 1 0 Connecting the e e EEE O e 6 2 0 Supported Microcontrollers saciscaccsaceodaacscsecdanenceceanocansaedasintndee dosie AA dj eli ai toos 7 3 0 On board PIC32Flash Programmer succionar fal n la a ad e aaa l ka 9 A EI AS Pe te mee Ra et an a el p pm pan en 10 5 0 3 3V Voltage Regulator ee 10 6 0 P Wwer A A UI A A 11 7 0 USB Communication Connector aces ie ie nan ee of detan nit 12 86 0 USB HOS F CGONN C LO PP PP RO 12 90 USB UART MOGUIE avaro 13 10 0 CAN Communication Module EE 14 110 ME SE Re re 15 12 0 EE 16 AS APS e e E E sun tied KO do sind kn a a Pe an ia one 17 AO FA SA MOU MI raze n tee ia tet to e ki et e fl Sot e e e s aa tin a bete aie iii 18 15 EEP ele 18 18 05 AUdIO ele 19 PROMO as ZO LOD EE 21 O A 22 o A A 23 SCHER PFU D SUNON tica E k ke E erotica tenis 24 A O A 25 4 LV32MX v6 Development System Introduction to LV32MX v6 Development System The LV32MX v6 development system provides a development environment for experimenting with PIC32 microcontrollers from Microchip The system includes an on board programmer PIC32Flash which serves as an interface between the microcontroller and a PC You are simply expected to write a program generate a hex file and program your microcontroller using the mikroPROG Suite for PIC program Numerous modules such as TFT display with a resoultion of 320x240 on board 2x16 LCD serial EEPROM module etc are provided on the board and allow you to
23. he principle of their operation is the same as for all other microcontroller pins lt RE3 mu RE2 RG13 mm RG12 mm RG14 mm RE1 mm REO mu RA7 ma RA6 mu RGO m RG1 mm RF1 ma RFO NAH O 2 LU t e LU a 5 mu RG1 mm VCC RE5 mm REG RE7 m RC1 m RC2 RC3 RC4 mm RGG Caner m RG8 Ene PIC32MX460F5 Svar PIC32 12L ma GND mm VCC m RAO m RES m REQ m RBS mu RB4 m RB3 RB2 m RB1 m RBO OVCC3 VCC 3 3 O up pull p s Mn ian Bx10k ON down J7 sw7 12345678 wee Figure 21 5 Jumper J7 in pull down position and jumper J15 in pull up position lt Y Sje C RE3 mu RE2 m RG13 m RG12 mm RG14 m REIS REO mm RA7 RAG6 mu RGO RG1 ma REIS RFO mu NRO 2 VCAP mu RD7 1 RDG mm RD5 RD4 mu RD13 mu RD12 mm RD3 mu RD2 RD1 LI Ger D C ARCHE m CC RE5 mu REG RE7 m RC1 m RC2 RC3 mm RC4 CINES CARET m RG8 Ewer PIC32MX460F512L CAREN CEN m CC RAO RES REO mu RBS m RB4 mu RB3 m RB2 RB1 m RBO VCC 3 3 WVCC 3 3 O O up pull J7 Figure 21 7 Jumpers J7 and J15 in the same position MikroElektronika VCG33 et n DD 8x10K pu down 7 SW7 ON 12345678 In order to enable the PORTD port pins to be connected to pull down resistors it is necessary to place jumper J7 in the Down position first This enables any PORTD port pin to be supplied with a logic zero OV in idle state over jumper J7 and
24. ing audio signals it is necessary to set switches 7 and 8 on the DIP switch SW20 to ON position In case the WM8731SEDS circuit is used for the audio signal generation or microphone connection it is necessary to set switches on the DIP switch SW14 to ON position In addition switches 1 2 and 3 on the DIP switch SW13 can be optionally used Which of DIP switches is to be used depends on the microcontroller pinout Circuit WM8731SEDS is used for generating audio signals and connecting microphone F a SHUTDOWN VvoO2 N E oun M4846 R18 a STEREO OUTPUT VCCA 3 3 O E VOUTA VCC la C36 BVINA VOUTB la 18nF INES PWM LEFT VINB PWM RIGHT mm RG8 Evar PICZZMX460FS12L m RG9 N e amp al o gt N CO MCP6022 DBVCC DGND tw x2 CLKOUT ever ka 12 288MHz BCLK DACLRC ADCDAT ADCLRC J HPvpp LLINEIN f RHPOUT RLINEIN ACD SCK__ HPenD MICIN PLouT micBias H fe ACD MOSI L2 Gen VMID Dm zZ VCC 3 30 VCCA 3 3 MWA AGND f 10uF PHONEJACK WM8731SEDS MIC IN H Fr NANM ASA ANN m A SAN wo Figure 16 6 Audio module and microcontroller connection schematic MikroElektronika LV32MX v6 Development System 17 0 On board 2x16 LCD The on board 2x16 LCD is connected to the microcontroller via the 74LVCC3245 transceiver For this display to be used it is necessary to set switches 1 6 on the DIP switch SW20 to ON position thus connecting the display pins to the microcontrol
25. ircuit enables the microcontroller to use additional 8Mbit flash memory In order to connect this memory to the microcontroller it is necessary to set switches 6 7 and 8 on the DIP switch SW13 as well as switch 1 on the DIP switch SW19 to ON position Serial FLASH uses SPI communication m Kei lt oo VCC 3 3 O R44 gd 100K e FLASH CS Ics deet E F Eo OJD HWP sek EE os fejN SDII M25P80 o Cc RE3 mm RE2 mm RG13 mm RG12 m RG14 m RE1 mm REO mm RA7 mm RAG mm RGO mm RG1 mm RF1 mm RFO mm ENVPEG o 8 VCAP mm RD7 mm RDG mm RDS mm RD4 mm RD13 mm RD12 mm RD3 mm RD2 mm RD1 mm ma RG8 Evar PIC32MX460F512L m RG9 SPI MISO FLASH CS G t ica Figure 14 1 Flash memory and microcontroller connection schematic 15 0 EEPROM Module EEPROM Electrically Erasable Programmable Read Only Memory is a built in memory module used to store data that must be saved when power goes off The 24AA01 circuit is capable of storing up to 1Kbit data and uses serial EC communication to exchange data with the microcontroller via its pins RA3 and RA2 or RF4 and RF5 Serial EEPROM uses HC communication lt Q m Kei o G bal VCC 3 3 O RE3 mu RE2 mm RG13 mm RG12 mm RG14 mm REIS REO YAYA RAG mm RGO mu RG1 m RF1 mm RFO mm VCAP mm RD7 RD6 mm RD5 mm RDASS RD13 mu RD12 mm RD3 RD2 mu RD1 mm pe e LI a 5 m RG1 Wee m CC m RES m R
26. ivide by 256 PORTA 0x00 i i Tu 7 A USB PLL Enable Disable and bypass USB PLL a USB PLL Input Divider 12x Divider PORTB 0x00 AJ Tu sisane lg iritan S of options for setting the operation of the microcontroller to be used A number of options which enable the programming process are provided onthe right side of the window Positioned Write a code generate a hex file and employ kes e mm sann d the pan a ale AA i vann e window the Progress bar the on board PIC32Flash programmer to load the roms FJ Mikrotlektronika x code into the microcontroller A eebe enables Yon to monitor the programming progress PLL Input Divider 12x Divider PORTC Ox 0 E E E j Tu ral le eset Watchdog Timer Enable WDT Enabled Windowed Watchdog Timer Standard WDT Selected a gt Bopa Watchdog Ti Postscaler 1 PORTD 0x00 if Tu weg ler 1 1048576 oa ave Cik switching and Monitor Selection FSCM and Clock Switching are disabled 7 Eee e Peripheral Bus Clock Divisor PBCLK is SYSCLK div 8 D De lay ms 1 o o o r EX 1 CLKO Enable CLKO output signal active on the OSCO pin Primary Oscillator Configuration BEE Internal External Switch Over Enable Serandaru Accillatar KUETE toro tata pa fafaj ar Figure 3 3 Programming process MikroElektronika 10 LV32MX v6 Development System 4 0 ICD Connector In addition to the on
27. ixing the MCU card in closed position LV32MX v6 Development System 3 0 On board PIC32Flash Programmer A programmer is a necessary tool when working with microcontrollers It is used to load a hex code into the microcontroller and serves as an interface between the microcontroller and the PC The LV32MX v6 has an on board P C32Flash programmer The mikroProg Suite for PIC program is used for loading a hex file into the microcontroller Figure 3 3 shows connection between the compiler MikroProg Suite for PIC program and the microcontroller Programmer s USB connector SH prigen EXTERNAL ICD owsoanp EAEN PROGRAMMER D a RAS ki PRG ICD age Soy 2E 7 R6 BD mant an my pal HH ni At Figure 3 2 USB connector s front side Programmer s chip SH Figure 3 1 On board programmer O Write a program and generate a Compiling program hex file void main Use the PIC32FLASH program to select desired microcontroller to be ANSEL 1110001001 Bin programmed and load the hex file ANSELH 0110100011 C10N bit 0 Di O11112EC23AA7 3 Click the Write button to dump C20N_bit 0 1011 F43E0021A the code into the microcontroller Hex DA67F0541 TRISA TRISB if Loading hex code TRISC TRISD si L SS On the left side of the a PICS2FLASH program s main do d fk verw i AF window there are a number GN 8 PLL D
28. ler port PORTB Potentiometer P1 is used to adjust the display contrast E Min o 7 USB HOST El E UDIO IN OUT op MEG o WO D WW Se Figure 17 1 On board 2x16 LCD On board 2x16 LCD is turned on via DIP switch SW20 m ce lt oo o ke RES SS RE2 mm RG13 mm RG12 1 RG14 mm RE1 ma REO RA7 RAG mm RGO RG1 m lat RFO mm ENVREG kel VCAP mu RD7 RDG mm RD5 SS RD4 ma RD13 mu RD12 SS RD3 RD2 RD1 mm SC a m RG15 mm CC RES REG RE7 m RC1 Coney m RC3 RC4 m RG6 m RG7 mm RG8 ics PIC32MX460F512L m RG9 Kein p VCC RAD RES m RE9 mu RB5 MS epa MS eps LCE m RB1 RBO O VCC3 Be we de OZE m USB UART Lues t 5420 se RF2 ou RF8 RDI 4 RD15 Hr RFS RF12 RF13 R61 R62 R65 R66 R67 R68 100K 100K 100K 100K 100K 100K Figure 17 2 On board 2x16 LCD connection schematic vw EA DA ra o Wi co W guid af a va y e ou CA U DIP switch SW20 is used to turn the on board 2x16 LCD on Contrast adjustment potentiometer P1 ree COG D5 COG D6 COG D7 COG RS VCC 5V O vece roo Ney op COG RS cose ME cocos egene ocn pel pel EYA ero TALVCC3245 MikroElektronika 21 NI 2 18 0 TFT Display The LVS2MX v6 features a TFT display in a resolution of 320x240 covered with a touch panel It is capable of displaying 262 000 colours The T
29. nual 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 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 Activitie
30. s MikroElektronika and its suppliers specifically disclaim any expressed or implied warranty of fitness for High Risk Activities TRADEMARKS The Mikroelektronika name and logo the Mikroelektronika logo mikroC mikroC PRO mikroBasic mikro Basic PRO mikroPascal mikroPascal PRO AVRflash PICflash dsPICprog 18FJprog PSOCprog AVR prog 8051prog ARMflash EasyPIC5 EasyPIC6 BigPIC5 BigPIC6 dsPIC PRO4 Easy8051B EasyARM EasyAVR5 EasyAVR6 BigAVR2 EasydsPIC4A EasyPSoC4 EasyVR Stamp LV18FJ LV24 33A LV32MX PIC32MX4 MultiMedia Board PICPLC16 PICPLC8 PICPLC4 SmartGSM GPRS UNI DS 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 Mikroelektronika 2011 All Rights Reserved WO9 30 MILUB 39140 je SN JOBJUOI 0 aJeNSsay JOU op sjesodoud ssouisnq Jo Siueu uo suoi senb Aue aney no yi 5 poddns uejuoo sou MMM a bwa LOS SOMILIIMAM JE SSJIM A O JSIA ostajd sjonpoud ice BIER uJea oy fem NOA y Cd 1dOM 1300343 404 SNOLLNTOS JIVMAJVH ANY JAVWML1IOS E E lu E es
31. up pull down resistor Whether pins of some port are to be connected to a pull up or a pull down resistor depends on the position of jumpers J1 J11 B UANI lt PORTB 2x5 male connector Jumper for pull up pull down resistor selection SI G 313 S ag FEEF 1388 EEN Figure 21 2 J9 in pull down E T en AA AA Additional module connected u deel See gt KA ST ti position 19123 oe ji OS do to PORTC DN CH Saw ans wer Select DIP switch to turn on pull up pull down resistors for each port pin a 5 a e d BA E Figure 21 3 J9 in pull up ik S EL oe position Figure 21 1 I O ports o gym Port PORTB pins are connected to pull down resistors VCC 3 3 Ge A0 8x10K Pe ON J3 SW3 A RBO AN LD17 y A RB1 PJ LD18 NAP A m REG m RE7 m RC1 mm RC2 m RC3 mm RC4 mm RG6 m RG7 CET ever PIC32MX460F512L fej NB ma VCC CASINO m RES m REQ RB5 e RB4 m RB2 m RB1 L A ki Figure 21 4 Port PORTB connection schematic O VCC3 MikroElektronika NI LV32MX v6 Development System Pull up pull down resistors enable you to set the logic level on all microcontroller s input pins when they are in idle state Such level depends on the position of the pull up pull down jumper The RD8 pin with the relevant DIP switch SW7 jumper J7 and RD8 push button with jumper J15 are used here for the purpose of explaining the performance of pull up pull down resistors T
32. velopment system may use one of two power supply sources 1 5V PC power supply through the USB programming cable and 2 External power supply source connected to an AC DC connector provided on the development board The MC34063A voltage regulator and Gretz rectifier are used to enable external power supply voltage to be either AC in the range of 7V to 23V or DC in the range of 9V to 32V Jumper J16 is used as a selector of the power supply source To take advantage of the USB power supply jumper J16 should be placed in the USB position When using the external power supply jumper J16 should be placed in the EXT position The development system is turned on off by switching the position of the POWER SUPPLY switch AC DC connector SEBES E EEES En IIS LEDs ARE ACTIVATED Bi MAA META P gt ky S i a Power supply Da new ka voltage regulator J KZ ESCH an ES POWER SUPPLY signal LED sar USB L d Ji6 R46 Jumper J16 asa selector of the power supply source OFF jon e su POWER SUPPLY switch To Muse unk POWER SUPPLY E PRG ICD IR ARS n rY Figure 6 1 Power supply J16 a EXT a USB Powering over an AC DC connector Powering over a J16 EXT USB USB connector m A E Side view ll est pa Side view Sideview m 4x1N4007 Sideview D3 Top ge A Be ee A a 38 Side view Bottom view SEN view s EG Perm ide view Side view Figure 6 2 Power supply
33. vides an oscillator as well as 102 soldering pads connected to microcontroller pins Each pad is marked the same as the pin it is connected to Soldering pads also make connection between the MCU card and target device s modules easy DIMM 168P connector for placing the MCU card with microcontroller in TQFP package NU RAS v NS nt Figure 2 2 DIMM 168P connector with the MCU card Ree c40 8 S D re E E C12 ka ceca ry S Rc13 m li ljsoscr ES 1 0 USB i rc14 a ki a sosco A pech V usp 3 hal 170 RTC pes L Muse pm 1 0 osc F RF6 ai k Bjvuss RC15 i Meer d E rh V los Res Re12 at Len A Emad cio Li MIKO EE KO Ka VELOPMENT TOOLS FOR EMBEDDED WORLD TOUCHPANEL REO ac t Up RE2 Down KR RES Figure 2 1 DIMM 168P connector Figure 2 3 MCU card with a 100 pin microcontroller in TQFP package soldered on it RB1 MCU RB3 RB5 RB7 DIMM 168P RBO MCU RB2 RB4 RB6 Figure 2 4 Schematic of the DIMM 168P connector s pinout page el The MCU card should be placed into the DIMM 168P connector in the following way Open extraction levers A and B gt 25 gt e Yo Ye ae A gent a avi aveti 5 Push the MCU card down gently into the DIMM 168P connector and lift extraction levers slowly at the same time MikroElektronika LV32MX v6 Development System Extraction levers for fixing the MCU card in open position Extraction levers for f
Download Pdf Manuals
Related Search
Related Contents
Kingston Technology ValueRAM 64GB 1600MHz DDR3L Mode d`emploi - Restaurant DSR TRLED 36-3 PAR User Manual ImpiantiMeccaniciElaboratiDescrComuni_P-M DTP 03 Samsung NV4 User Manual ENGLISH User manual ORIGINAL BEDIENUNGSANLEITUNG AKKUBOHRMASCHINE 14,4 V PreSTo-Cabin - A Preliminary Sizing Tool for Copyright © All rights reserved.
Failed to retrieve file