Home

NMIN-0803-Mini User Manual

image

Contents

1. 11 FIGURE 1T CONNECTOR Jla rere ett ette ete eee eripe venite teeth tre eei ee eve eee ves ee 16 FIGURE 12 CONNECTORS 12 13 J4 15 6 000000000000 11 n enne en enhn nennen eet nn nennen 17 FIGURE 13 CONNECTORS 77 J8 9 20 01 0 0 0 0000000000000 00 18 FIGURE 14 EMBEDDED SOFTWARE DEVELOPMENT 020 00 00 0 1111 11 23 FIGURE 15 SOFTWARE DEVELOPMENT USING ISOMAX eececeeeeere eee rhet 23 FIGURE 16 SOFTWARE DEVELOPMENT USING 24 FIGURE 17 SOFTWARE DEVELOPMENT USING SERIAL BOOTLOADER cese eene enne nennen 24 Tables TABLE CONNECTORS E Ast reus eerte 11 TABLE 2 ABSOLUTE MAXIMUM RATINGS 20 TABLE 3 RECOMMENDED OPERATING 85 2 020000 0000000000000000000000000000 21 TABLE 4 DC ELECTRICAL CHARACTERISTICS 2 2 2 2 0100000000000000000000000000 21 MinPod User Manual 4 1 GETTING STARTED Thank you for buying the MinPod We hope you will find the MinPod to be the incredibly useful small controller board we intended it to be and easy to use as possible Figure 1 MinPod If you are new to the MinPod we know you will be in a hurry to see
2. 4 3 ANAO VSSA 2 1 VREF MinPod User Manual 18 DSPS6F803 Figure 14 Connectors J9 6 10 J9 PWM s Current sense amp Fault Input connection FAULT2 22 21 ISA2 FAULTI 20 19 ISAI FAULTO 18 17 5 0 6 11 J9 Shared LCD 8 I O SPI connection E2 PE3 16 I5 59 D7 PA7 14 13 D6 PA6 DS PAS 12 1 D4 PA4 D3 PA3 10 9 D2 PA2 DIPAI 8 7 DO PAO E1 PE4 SCK 6 5 RW PES MOSI RS PE6 MISO 4 3 Vo sv 2 1 MinPod User Manual 19 7 MANUFACTURER New Micros Inc 1601 Chalk Hill Rd Dallas TX 75212 Tel 214 339 2204 Fax 214 339 1585 Web site http www newmicros com This manual http www newmicros com store product_manual MinPod Email technical questions techsupport newmicros com Email sales questions nmisales newmicros com 8 MECHANICAL Board size is 1 8 x 2 1 9 ELECTRICAL The total draw for the MinPod under maximum speed is approximately 150 mA Sleeping or slowing the processor can substantially reduce current consumption Jumper J4 can be closed to shut down the RS 232 converter saving about 30 mA when not used for transmission if the receiving unit will not sense this as noise Jumper J2 can be used to switch between High and Low speed CAN BUS operation based on input from PE3 Each digital pin is capable
3. 6 1 J1 PWM Timers Quad Encoder amp Interrupts 42 GND 4 V 40 39 GND 38 V 37 PWMA4 36 GND 35 V 34 33 GND 32 V 31 PWMA2 30 GND 29 V 28 27 GND 26 25 PWMAO 24 GND 23 V 22 TD2 21 GND 20 V 19 TD1 18 GND 17 V 16 15 GND 14 V 13 TA2 INDEX0 12 GND 11 V 10 TAI PHASEBO 9 GND 8 V 7 TAO PHASEAO 6 5 4 GND 3 GND 2 V 1 5V MinPod User Manual 16 05 56 Figure 12 Connectors J0 42 J3 J4 J5 and J6 6 2 40 Controller Power Input VIN 1 2 GND 6 3 J2 CAN BUS speed control I 2 6 4 J3 CAN BUS 1 CANL 2 GND 3 CANH 6 5 J4 RS232 Disable Enable 12 6 6 J5 RC Servo Power Input GND 1 2 v 6 7 J6 JTAG connector RESET TDO TDI 3V 9 1 5 3 1 10 8 6 4 2 TRST DE TMS GND GND MinPod User Manual Pin1 Pinl DSPS6FS03 Pin 1 Pin 1 Figure 13 Connectors J7 J8 6 8 J7 RS232 GND DTR RXD TXD 9 d 5 3 1 10 8 6 4 2 N C NC TO4 6 6 9 8 ADC 10 9 ANA6 ANAS 8 7 ANA4 ANA3 6 5 ANA2
4. 12 1 DECIMAL OCTAL HEX ASCII 28 12 2 SIMPLE A SCIL CHART tui ee 30 13 GLOSSARY ec ulia et evi eda oov Po eov aee ve e eR cv 31 14 ARTICLES AND SUGGESTED 1 1 16 sss seta 32 15 SCHEMATIC Gi isiccssssscississctesssescalesiccesesescetsbeoseccsesveecesbesciees ERROR BOOKMARK NOT DEFINED 16 STLIKSGREEN pm 33 FIGURE EE 5 FIGURE 2 POWER AND SERIAL CONNECTIONS csesesssseseceesessssececececeesssaececececsesssaeeeeeeeeseseeaeeeesceenentsaeeeeecs 6 FIGURE 3 THE SERIAL CABLE 6 FIGURE4 THE POWER CABLE od erede 7 FIGURE S THE EEDS ete Ete eee e E ETE 7 FIGURE 6 RED L ED OFF i eee re eet ec vive 8 FIGURE 9 FIGURE 8 GREEN LED OFFS 9 FIGURE 9 GREEN LED ON 10 0 6
5. B Change baud rate alt alt C Open or close capture file alt alt D Download a file all text alt alt E Edit a file Split screen alt alt F Edit function keys alt alt H Help alt alt I Program Information alt alt K Toggle redefinition catcher alt alt L Open scrollback log alt alt 1 2 3 4 Select Com port alt fl f10 Programmable function keys 12 MinPod User Manual Character monitor mode Toggle sounds Change line pace char Toggle RTS Unsplit the screen Toggle DTR Change colors NMS GCHNDAHWOR Wipe the screen Exit Download a file Re enter OPIE no fat 26 Status line mode indicators rts d dtr L log file S sounds K redefinition P line pacing active 11 3 HyperTerminal Usually provided in Programs Accessories Communications HyperTerminal If not present it can be loaded from the Windows installation disk Use Add Remove Software feature in Settings Control Panel choose Windows Setup choose Communications click on Hyperterm then Okay and Okay Follow any instructions to add additional features to windows Ne Hypertrm exe C Program Files Accessories HyperTerminal Run HyperTerminal select an icon that pleases you and give the new connection a name such as Mini803 Now in the Connect To dialog box in the bottom Connect Using line select the communications port you wish to use with Direct Com1 Direct Com2 Direct Com3 Direct Com4
6. CANIBUS Sie estet tue i e stp etta ee 17 6 6 T AGI CONNECTOR 7 EO Tash oe PN Ve ERE 17 6 72 JPRS232 EA ER GG Bee eee tttm e Neto 18 6 8 cR i tte e t ettet e e aet P e RT Rt eR a Nasen 18 6 9 J9 LCD CONNECTION amp SHARED I O amp SPI eene en 19 7 MANUFACTURER 664 20 8 MECHANICAL ee Evo aga up 20 9 ELECTRICAL deer diese dose ava va qo va Ga aep eV a Ue e dud 20 10 EMBEDDED SOFTWARE DEVELOPMENT 4 eee ee eee tn nnne eerta see sa sse eese tasa 23 10 1 OVERVIEW a 23 10 2 Em LEE 23 10 3 COMPILER amp ASSEMBLER eere eren ene enhn nennen enne than asses rettet nsns essen tetas ness ener terna annee 23 TUS AA teh Ada 23 10 3 2 With Serial 24 ao Sese eu esee eno sane Pee 25 11 1 NMITERM tede 25 11 2 rm 26 11 3 lspausd sd IPC 27 MinPod User Manual 3 jMDn 7 C A 28
7. amp LCD amp SPI connection amp various inputs MinPod User Manual 11 The table above explains type of connection that can be made to each of the connectors As it can be seen from the table there os no connector assigned for J4 The power reset and ground can be used externally for various applications the connectors are dual or triple row male headers Connection can be made with female headers with crimped wire inserts or IDC headers with soldered or cabled wires Signals were put on separate connectors where possible such as with the RS 232 the Can Bus and PWM connectors The male headers allow insertion of individually hand crimped wires in connectors where signals are combined For instance R C Servo motor headers often come in this size connection with a 3x1 header These can plug directly onto the board side by side on the PWM connector The large chip at the center of the board is the CPU DSP56F803 The two LED s Red and Green are along the bottom of the CPU and are dedicated to user control On the back of the board the components are the voltage regulators If the total current draw were smaller we could make a smaller supply but to be sure every user could get enough power to run at full speed these larger parts were necessary A few smaller chips are also on the board the RS 232 transceiver and the LED driver and a handful of resistors and capacitors 3 CIRCUIT DESCRIPTION The processor ch
8. it working That s okay We understand Let s skip the features and get right to the operation Once we ve got communications then we can make some lights blink and know for sure that we re in business Let s make this Mini board talk to us We ll need PC running a terminal program Then we ll need a serial cable to connect from the PC to the MinPod which hopefully you ve already gotten from us Then we need power such as from a 6VDC wall transformer which hopefully you ve already gotten from us If we have those connections correct we will be able to talk to the MinPod interactively The wall transformer can supply the power to the MinPod board but do not connect it to the board yet The board can be seen in the figure below showing the connections of V IN and GND Connect the serial cable between the J7 connector and the PC The J7 upper row pinout can also be seen in the figure MinPod User Manual 5 GND DTR RX TX DSPS6F803 VIN GND Figure 2 Power and Serial Connections Once you have your serial cable and connectors and wall transformer and connectors ready follow these steps Start with the PC Install if not already installed and run the terminal communications program NMITerm HyperTerminal Set the program for the desired communications channel COMI 2 etc and set the communications parameters to 115200 8NI Operate the program to get past the opening setups and to t
9. needs to be changed to 115200 2 DTR On Off ALT T 3 Download ALT D For further information use the F1 Help screen This program can be downloaded from http www newmicros com download NMITerm zip MinPod User Manual 25 11 2 Provided DOS terminal program from New Micros Inc Usually provided in a ZIP Un ZIP in a subdirectory such as To start the program click or double click the program icon Maxterm ico MaxTerm is a simple DOS based communications package designed for program development on serial port based embedded controllers It can run under stand alone DOS or in a DOS session under Windows MaxTerm provides Support for COMI amp COM2 Baud rates from 300 through 3840 Control over RTS and DTR lines Capture files which record all 0 terminal activity to disk 32K scroll back buffer On line Interactive Programmer s File downloader Programmable function keys Received character monitor 15 N He which displays all editable and savable as a file Editor OPIE data in HEX Quick start commands Download ALT D PACING ALT P 165 eA Set comport ALT 1 or ALT 2 It does not support com3 amp 4 Baud default 9600 DTR On Off ALT T IsoMax default decimal 10 For further information use the Help screen ALT H or the program documentation MAXTERM Help alt
10. 5 15 Negative acknowledge 22 26 16 SYN Synchronous idle 23 27 17 ETB End transmission block not the same as EOT 24 30 17 Cancel line MPE echoes 25 31 19 EM End of medium Control Y interrupt 26 32 1 SUB Substitute 27 33 15 5 Escape next character is not echoed 28 94 1c FS File separator 29 35 1 GS Group separator 30 36 1 RS Record separator block mode terminator 31 97 1f US Unit separator DEC OCT HEX Character Description 32 40 20 Space 33 41 21 Exclamation mark 34 42 22 Quotation mark 35 43 23 m Cross hatch number sign 36 44 24 Dollar sign 37 45 25 Percent sign 38 46 26 amp Ampersand 39 47 27 Closing single quote apostrophe 40 50 28 Opening parentheses 41 51 29 Closing parentheses MinPod User Manual 28 42 52 2 Asterisk star multiply 43 53 2b Plus 44 54 2 45 55 2 H Hyphen dash minus 46 56 2e Period 47 57 2f Slant forward slash divide 48 60 30 0 Zero 49 61 31 1 One 50 62 32 2 Two 51 63 33 3 Three 52 64 34 4 Four 53 65 35 5 Five 54 66 36 6 Six 55 67 37 7 56 70 38 8 Eight 57 71 39 9 58 72 Colon 59 73 3b Semicolon 60 74 lt Less than sign 61 75 Equals sign 62 76 gt Greater tha
11. A variety of programs are available which allow a PC to communicate directly with the MinPod These programs are sometimes referred to as Communications Programs Comms programs or Terminal Programs because some emulate Computer Terminals These programs run on the PC and are used in conjunction with an RS 232 cable also known as a Serial Cable One end of this cable plugs into the PC s COM port and the other end is for the MinPod s RS 232 connector J7 Note The settings given in the following sections are IsoMax and JTAG users only Serial Bootloader users should refer to the relevant sections in this manual for the required settings 11 1 Provided Windows terminal program from New Micros Inc Usually provided in a ZIP Un ZIP in a subdirectory such as C NMITerm To start the program click or double click the program icon NMITerm LNK NMITerm is a simple Windows based communications package designed for program development on serial port based embedded controllers It runs under Windows NMITerm provides Support for COMI through 16 Baud rates from 110 through 256000 Control over RTS and DTR lines Capture files which record all terminal activity to disk Scroll back buffer editable and savable as a file On line Programmer s Editor File downloader Programmable function keys Quick start commands 1 Baud default 9600 This
12. COMI COM2 COM3 controller controller interface board dedicated computer deeply embedded double male right angle connector double sided sticky tape embedded embedded tasks female hand crimped wires headers high density connectors High Level Language HyperTerminal IDC headers and ribbon cable interactive IsoMax MinPod language Levels Translation LED LM3940 LM78L05 Low Voltage Detector male MinPod User Manual 31 mobile robot Multitasking PCB board PWM PWM connectors Power Supply Programming environment prototyping RS 232 RS 422 RS 485 R C Servo motor real time applications real time control registers RESET Resistor S80728HN SCI SPI serial cable stamp type controller stand alone computer board TJA1050 terminal program upgrade an existing application Virtually Parallel Machine Architecture VPMA wall transformer 14 Articles and Suggested Reading Mealy State machine pioneer wrote A Method for Synthesizing Sequential Circuits Bell System Tech J vol 34 pp 1045 1079 September 1955 Moore State machine pioneer wrote Gedanken experiments on Sequential Machines pp 129 153 Automata Studies Annals of Mathematical Studies no 34 Princeton University Press Princeton N J 1956 MinPod User Manual 32
13. LY LM2937 reduces the VIN DC to a regulated 5V In early versions a 7805C was used The LM2937 was rated a bit less for current 500 mA Max but had reverse voltage protection and a low drop out which was more favorable A drops the 5V to the 3 3V needed for the processor At full current 200 mA these two regulators will get hot They can provide current to external circuits if care is taken to keep them cool Each are rated at 1A but will have to have heat sinking added to run there http www national com ds LM LM2937 pdf http www national com ds LM LM3940 pdf MinPod User Manual 13 4 TROUBLE SHOOTING There no user serviceable parts on the MinPod If connections are made correctly operation should follow or there are serious problems on the board As always the first thing to check in case of trouble is checking power and ground are present Measuring these with a voltmeter can save hours of head scratching from overlooking the obvious After power and ground signal connections should be checked next If the serial cable comes loose on either end using your PC to debug your program just won t help Also if your terminal program has locked up you can experience some very quiet results Don t overlook these sources of frustrating delays when looking for a problem They are easy to check and will make a monkey of you more times than not if you ignore them One of the great advantages of having an interactiv
14. MinPod Controller Board User Manual Warranty New Micros Inc warrants its products against defects in materials and workmanship for a period of 90 days If you discover a defect New Micros Inc will at its option repair replace or refund the purchase price Simply call our sales department for an RMA number write it on the label and return the product with a description of the problem We will return your product or its replacement using the same shipping method used to ship the product to New Micros Inc for instance if you ship your product via overnight express we will do the same This warranty does not apply if the product has been modified or damaged by accident abuse or misuse Copyrights and Trademarks Copyright 2002 by New Micros Inc rights reserved MinPod IsoMax and Virtually Parallel Machine Architecture are trademarks of New Micros Inc Windows is a registered trademark of Microsoft Corporation 1 wire is a registered trademark of Dallas Semiconductor Other brand and product names are trademarks or registered trademarks of their respective holders Disclaimer of Liability New Micros Inc is not responsible for special incidental or consequential damages resulting from any breach of warranty or under any legal theory including lost profits downtime goodwill damage to or replacement of equipment or property and any costs of recovering reprogramming or reproducing any data store
15. ON i enia ees rro eoe annone veru eaae eto oan avara Cua een o Lv 986666066600 12 3 1 RS 232 LEVBLIS TRANS A TON eie 12 3 2 CAN BUS LEVELS 13 33 SEDIS um RM a iM Msc 13 dm uM er m 13 35 POWER SSUPPEY e Nee 13 4 TROUBLE SHOOTING a annee 14 5 ONLINE RESOURCES 5 Ye cube oro 15 5 1 MINPOD M WEBSITE ie err der ree a oerte tet ed eve eoe DE diet 15 5 2 GLOSSARY REFERENCE esee eene 15 5 3 MOTOROLA DSPS56F803 USERS MANUAL 15 5 4 MOTOROLA DSP56F800 PROCESSOR REFERENCE MANUAL eeer 00000000010 1 15 6 8 2559 NN eO cU SK 15 6 1 PWM Quad Encoder amp Interrupts esses e mem mese ens 16 6 1 CONTROLLER POWER 17 6 2 12 CAN BUS SPEED CONTROL Fea tetro ee pe eee eue 17 63 JARS232 DIS ENABE E diee ee e Dese e RR ERAS 17 64 JS GROUND to rH att en eet Pe D ies 17 6 55 JI
16. as appropriate then Okay In the COMx Dialog box which follows set up the port as follows Bits per second 115 200 Data bits 8 Parity None Flow Control None then Okay The ATN signal must be unconnected when using this program There is no option to remotely set and reset the board using the DTR line with this program MinPod User Manual 27 12 12 1 Decimal Octal Hex ASCII Chart DEC OCT HEX Character Control Action 0 0 0 NUL Null character 1 1 1 SOH Start of heading console interrupt 2 2 2 SIX Start of text 3 3 3 ETX End of text 4 4 4 EOT End of transmission not the same as ETB 5 5 5 ENQ Enquiry goes with ACK old HP flow control 6 6 6 ACK Acknowledge clears logon hand 7 7 7 Bell rings bell 8 10 8 5 Backspace works on HP terminals computers 9 11 9 HT Horizontal tab move to next tab stop 10 12 a LF Line Feed 11 13 b Vertical tab 12 14 FF Form Feed page eject 13 15 d CR Carriage Return 14 16 e SO Shift Out alternate character set 15 17 f SI Shift In resume defaultn character set 16 20 10 DLE Data link escape 17 21 11 DC1 XON with XOFF to pause listings okay to send 18 22 12 DC2 Device control 2 block mode flow control 19 23 13 DC3 XOFF with is TERM 18 flow control 20 24 14 DC4 Device control 4 21 2
17. ase 100 155 m Lowercase m 110 156 n Lowercase n 111 157 Lowercase 112 160 70 p Lowercase p 113 161 71 Lowercase q 114 162 72 r Lowercase r 115 163 73 S Lowercase s 116 164 4 t Lowercase t 117 165 75 Lowercase 118 166 76 Lowercase v 119 167 77 Lowercase 120 170 8 x Lowercase x 121 171 79 y Lowercase y 122 172 2 Lowercase 2 123 173 T Opening curly brace 124 174 Vertical line 125 175 Closing curly brace 126 176 Tilde approximate 127 177 Vf DEL Delete rubout cross hatch box 12 2 Simple ASCII Chart 0 1 2 3 4 5 6 7 8 9 B 5 D E F 0 NUL SOH STX ETX EOT BE BS HT LF VI FF CR SO 1 DLE 1 2 DC3 DC4 SYN ETB SUB ESC FS GS RS US 2 SP 5 amp bul s A 3 0 1 2 3 4 5 6 7 8 9 gt 4 J K L M N 5 5 T U V W X Y 2 N E 6 li a b T g h I J k 1 m n 7 p q 5 je V X DEL MinPod User Manual 30 13 GLOSSARY 1 double and triple row connectors 24 pin socket 74 04 115 200 8N1 A D adapter ASCII CAN BUS Caps carrier board computing and control function communications channel communications settings
18. d in or used with New Micros Inc products Internet Access Web site http www newmicros com This manual http www newmicros com store product_manual MinPod Email technical questions techsupport newmicros com Email sales questions nmisales newmicros com Also see Manufacturer information near the end of this manual Internet MinPod Discussion List We maintain the MinPod discussion list on our web site Members can have all questions and answers forwarded to them It s a way to discuss MinPod issues To subscribe to the MinPod list visit the Discussion section of the New Micros Inc website This manual is valid with the following software and firmware versions IsoMax 0 5 or newer If you have any questions about what you need to upgrade your product please contact New Micros Inc MinPod User Manual 2 Table of Contents 1 GETTING STARTED seco eoe enia oan eoe aeo Eno a Seen eae PUn a Sean ee po Liu ei ae Eee ea eo Do KE SUR eR UE 5 1 1 INSTRUCTIONS FOR ISOMAX USERS eee EE N 7 1 2 INSTRUCTIONS FOR USERS WITH SMALL C AND A JT AG CABLE 10 1 3 INSTRUCTIONS FOR USERS WITH SMALL C WITHOUT A JT AG CABLE 10 2 QUICK TOUR eene eio sese eo nee debe e Pee ee EY De DATE 11 3 CIRCUIT DESCRIPTI
19. e language embedded in a processor is if communications can be established then program tools can be built to test operations If the RS 232 channel is not in use in your application or if it can be optionally assigned to debugging talking to the board through the language will provide a wealth of debugging information The LED s can be wonderful windows to show operation This takes some planning in design of the program A clever user will make good use of these little light Even if the RS 232 channel is in use in your application and not available for debugging don t overlook the LED s as a way to follow program execution looking for problems The MinPod is designed so no soldering to the board should be required and the practice of soldering to the board is not recommended Instead all signals are brought to connectors So the best trouble shooting technique would be to unplug the MinPod and try to operate it separately with a known good serial cable on power supply If the original connections have been tested to assure no out of range voltages are present a second MinPod can then be programmed and plugged into the circuit in question But don t be too anxious to take this step If the first MinPod should be burned out you really want to be sure you know what caused it before sacrificing another one in the same circuit Finally for advanced users the JTAG connection can give trace single step and memory examinati
20. he board connect the Serial Cable to your PC and the MinPod and run the desired communications program with the following settings 115200 baud 8 bits no parity 1 stop bit Xon Xoff flow control When you connect the power to the board a message will be displayed via the communications program on your PC saying that the Serial Bootloader has started there will be a 10 second delay and then the test program will run You should then observe red LED and the green LED flashing this proves that the board is working MinPod User Manual 10 2 QUICK TOUR Start by comparing your board to the diagram below Most of the important features on the top board are labeled JTAG RS232 SERIAL CONNECTOR INTERFACE CAN BUS CONNECTOR CRYSTAL GROUND N Y CAN BUS SPEED 8 CH 12 BIT CONTROL AD TIMERS amp PWM DSPS6F803 SHARED yo amp LCD QUAD ENCODER CONNECTION AND INTERRUPTS POWER SUPPLY VIN GND RED LED LCD CONTRAST GREEN LED Figure 10 Board Features The features most important to you will be the connectors The following list gives a brief description of each connector and the signals involved Table 1 Connectors JO Controller Power Input PWM Quad encoder and Interrupts J2 BUS Speed J3 CAN BUS Network Port JA RS 232 Dis Enable 15 RC Servo Motor Power Input 16 connector 17 RS 232 Serial Port J8 Inputs J9 Shared
21. he terminal screen so it is ready to communicate If necessary visit the section on PC Communication if you have trouble understanding how to accomplish any of this Hook the computer end of the serial cable usually a DB 9 connector but may be a DB 25 or other on older PC s to the PC s communication channel selected in the terminal program Serial Cable Figure 3 The Serial Cable MinPod User Manual 6 Plug wall transformer into wall but do not plug it into board yet Figure 4 The Power Cable 1 1 Instructions for IsoMax Users Now while watching the LED s plug in the wall transformer connector to the power pins on the MinPod board Be very careful not to plug it in reverse polarity here because there is a chance to kill the board even though the regulator LM2937 has the reverse voltage protection Both the LED s should come on If the LED s do not light unplug the power to the MinPod quickly DSPS6F803 Figure 5 The LEDs MinPod User Manual T If the LED glows then check screen computer When power is applied before any user program installed the PC terminal program should show tsoMax v0 5 or whatever the version currently is see upgrade policy later at the end of this chapter If the LED s don t light and the screen doesn t show the message unplug the power to the MinPod Check the power connections
22. ing because you can tell your MinPod is working It s time for an overview of what your MinPod has for features First though a few comments on IsoMax revision level The first port of IsoMax M to the MinPod occurred on May 27 2002 We called this version V0 1 but it never shipped While the core language was functional as it then was we really wanted to add many I O support words We added a small number of words to identify the port lines and turn them on and off and shipped the first public release on June 3 2002 This version was V0 2 Currently we are shipping V0 5 As we approach a more complete version eventually we will release V1 0 We want all our original customers to have the benefit of the extensions we add to the language Any MinPod purchased prior to V1 0 release can be returned to the factory at customer s expense for shipping and we will upgrade the 0 release to V1 0 without charge 1 2 Instructions for Users with Small C and a JTAG Cable A Small C program will have been flashed to the MinPodTM by NMI prior to shipping When you connect the power to the board you should observe the red LED on and the green LED flashing this proves that the board is working 1 3 Instructions for Users with Small C without a JTAG Cable The MinPod will contain the Serial Bootloader and this will have been used NMI to flash the test program as detailed in the above section To ensure correct operation of t
23. ip contains the vast majority of the circuitry The remaining support circuitry is described here The power for the system can be handled several different way but as the board comes power will normally be supplied from the VIN pin on board 3 1 RS 232 Levels Translation The MAX3221 6 7 converts the 3 3V supply to the voltages necessary to drive the RS 232 interface Since a typical RS 232 line requires 10 mA of outputs at 10V or more the MAX3221 6 7 uses about 30 mA from the 3 3V supply A shutdown 15 provided controlled by TDO The RS 232 interface allows the processor to be reset by the host computer through manipulation of the ATN line When the ATN line is low a logical 1 in RS 232 terms the processor runs normally When the ATN line is high a logical 0 in RS 232 terms the processor is held in reset MinPod User Manual 12 http pdfserv maxim ic com arpdf MAX3221 MAX3243 pdf 3 2 CAN BUS Levels Translation A SN65HVD230 buffers the CAN BUS signal http focus ti com lit ds symlink sn65hvd230 pdf 3 3 LED s 74 04 drives the on board LED s Each LED has a current limiting resistor to the 3 3V supply http www fairchildsemi com ds 74 74AC05 pdf 3 4 RESET 580728 Low Voltage Detector asserts reset when the voltage is below operating levels This prevents brown out runaway and power on reset function http www seiko instruments de documents ic documents power 5807 e pdf 3 5 POWER SUPP
24. le Note that the diagrams below show the components required for each scheme Additional components are optional 10 3 1 With JTAG MinPod User Manual 23 803 Editor Other Devices Compiler Assembler JTAG cable Flash Utility Figure 16 Software Development using JTAG In this configuration an editor is used to write a program on the PC which is then compiled assembled and transferred to the MinPod the JTAG cable using a Flash Utility on the PC The RS 232 cable and communications program not shown are optional The JTAG cable plugs into the PC s parallel port and 76 on the MinPod board However the Windows Operating System does not allow a normal user program like the Flash Utility to directly control the computer s hardware 1 the parallel port so a utility must be used which permits this such as UserPort 10 3 2 With Serial Bootloader PC 803 Mini Comms Program RS232 cable Serial Bootloader Editor Compiler Other Devices Assembler Figure 17 Software Development using Serial Bootloader In this configuration an editor is used to write a program on the PC which is then compiled assembled and transferred to the MinPod RS 232 cable using the Communications Program on the PC and the Serial Bootloader software on the MinPod The JTAG cable and Flash Utility not shown are optional MinPod User Manual 24 11 PC Communication
25. n sign 63 77 3f Question mark 64 100 0 At sign 65 101 A Uppercase A 66 102 42 B Uppercase B 67 103 43 C Uppercase C 68 104 44 D Uppercase D 69 105 45 E Uppercase E 70 106 46 Uppercase 71 107 47 G Uppercase G 72 110 48 H Uppercase H 73 111 49 Uppercase 74 112 J Uppercase J 75 113 Ab K Uppercase K 76 114 L Uppercase L 77 115 Uppercase M 78 116 Me 79 117 Uppercase 80 120 50 81 121 51 Q Uppercase Q 82 122 52 R Uppercase R 83 123 53 S Uppercase S 84 124 54 85 125 55 U Uppercase U 86 126 56 Uppercase V 87 127 57 W 88 130 58 X Uppercase X 89 131 59 Y Uppercase Y 90 132 Z Uppercase Z 91 133 Opening square bracket 92 134 Reverse slant Backslash 93 135 Closing square bracket 94 136 Caret Circumflex MinPod User Manual 29 95 137 Underscore 96 140 60 Opening single quote 97 141 61 a Lowercase a 98 142 62 b Lowercase b 99 143 63 Lowercase 100 144 64 d 101 145 65 Lowercase 102 146 66 if Lowercase f 103 147 67 g Lowercase g 104 150 68 h Lowercase h 105 151 69 Lowercase i 106 152 Lowercase 107 153 60 Lowercase 108 154 Lowerc
26. of sinking 4 mA and sourcing 4 mA Each LED draws 1 2 mA when lit Table 2 Absolute Maximum Ratings Characteristic Symbol Min Max Unit Supply voltage VDD Vss 0 3 4 0 V other input voltages excluding Analog inputs VIN 88 0 3 Vss 5 5V V Analog Inputs ANAx VREF VIN 5 0 3 0 3 V Current drain per pin excluding VDD Vss PWM outputs 10 mA MinPod User Manual 20 TCS VDDA VSSA Current drain per pin for PWM outputs 20 mA Junction temperature TJ 150 Storage temperature range TsTG 55 150 Table 3 Recommended Operating Conditions Characteristic Symbol Min Unit Supply voltage VDD 3 0 3 6 V Ambient operating temperature TA 40 85 Table 4 DC Electrical Characteristics Operating Conditions Vss Vssa 0 V 3 0 3 6 V TA 409 to 85 C CL 50 pF fop 80 MHz Characteristic Symbol Min Typ Max Unit Input high voltage 2 0 5 5 V Input low voltage VIL 0 3 0 8 V Input current low pullups pulldowns disabled liL 1 1 Input current high pullups pulldowns disabled 1 1 uA Typical pullup or pulldown resistance RPU RPD 30 Input output tri state current low 1021 10 10 uA Input output tri state current low l
27. on information with the use of special debugging hardware This level of access is beyond the expected average user of the MinPod and will not be addressed in this manual MinPod User Manual 14 5 Resources 5 1 MinPod Technical Forum Discussion http www newmicros com discussion 5 2 MinPod Download Page http www newmicros com store product details download html 5 3 Motorola DSP56F803 Users Manual http www freescale com files dsp doc user guide DSP56F801 7UM pdf 5 4 Motorola DSP56F800 Processor Reference Manual http www freescale com files dsp doc ref manual DSP56800FM pdf 6 CONNECTORS The MinPod has 10 connectors 71 72 13 15 16 J7 18 19 are below JO Controller Power Input PWM Quad Encoder amp Interrupts J2 CAN BUS Speed Jumper J3 CAN BUS Network Port JA RS 232 Disable Enable Jumper 15 Motor Power Input 16 JTAG connector 7 RS 232 Serial Port J8 Analog Inputs 10 Shared LCD amp SPI amp IO s header And PWM s Fault Inputs VIN amp GND 6V to 9Vdc 200mA or higher Timers Encoder IRQx GND Default Low for Normal operating CANL GND CANH I O controls Ena Dis Power onboard RS 232 GND amp V 4 8V to 6Vdc JTAG interface connector SIN SOUT GND A D7 D0 D7 PA0 PA7 PE4 PE6 15 0 3 FAULTO 3 MinPod User Manual 15 DSPS6F803 Figure 11 Connector J1
28. ozH 10 10 pA Output High Voltage at IOH VOH Vpp 0 7 V Output Low Voltage at IOL VoL 0 4 V Output High Current 4 mA Output Low Current loL 4 mA Input capacitance CIN 8 pF Output capacitance Cour 12 pF PWM pin output source current 1 10 mA PWM pin output sink current 2 loLP 16 mA Total supply current IDDT 3 Run 4 126 162 mA Wait 5 72 98 mA Stop 60 84 mA Low Voltage Interrupt 6 VEI 2 4 2 7 2 9 V Power on Reset 7 VPOR 1 7 2 0 V 1 PWM pin output source current measured with 5096 duty cycle 2 PWM pin output sink current measured with 5096 duty cycle 3 IDD IDDA Total supply current for VDD VDDA 4 Run operating measured using 8MHz clock source All inputs 0 2V from rail outputs unloaded ports configured as inputs measured with all modules enabled 5 Wait IDD measured using external square wave clock source 8 MHz into XTAL all inputs 0 2V from rail no DC loads less than 50 pF on all outputs CL 20 pF on EXTAL all ports configured as inputs EXTAL capacitance linearly affects wait IDD measured with PLL enabled 6 Low voltage interrupt monitors VDDA supply When VDDA drops below VEI value an interrupt is generated For correct operation set VDDA VDD Functionality of the device is guaranteed under transient conditions when VDDA gt VEI 7 Power on rese
29. particularly for polarity This is most dangerous error to your board If the LED s come on but there is no communication check the terminal program Check the serial connections particularly for a reversal or rotation Try once more If you have no success see the trouble shooting section of this manual and then contact technical support for help before going further Do not leave power on the board for more than a few seconds if it does not appear to be operational Normally at this point you will see the prompt on the computer screen IsoMax v0 5 Odds are you re there Congratulations Now let s do something interactive with the MinPod In the terminal program on PC type in worps all in caps as the language is case sensitive and then hit Enter A stream of words in the language should now scroll up the screen Good we re making progress You are now talking interactively with the language in the MinPod Now let s blink the LED s Port lines control the LED s Type REDLED OFF 4 Y DSPS6F803 Figure 6 Red LED off To turn it back on type REDLED ON MinPod User Manual 8 DSPS6F803 Figure 7 Red LED on Now let s use the Green LED Type GRNLED OFF DSPS6F803 Figure 8 Green LED off To turn it back on type GRNLED ON MinPod User Manual DSPS6F803 Figure 9 Green LED on Now you should have a good feel
30. t occurs whenever the internally regulated 2 5V digital supply drops below While power 15 MinPod User Manual 21 ramping up this signal remains active as long as internal 2 5V supply is below 1 5V no matter how long ramp up rate is The internally regulated voltage is typically 100 mV less than during ramp up until 2 5V is reached at which time it self regulates MinPod User Manual 22 10 Embedded Software Development 10 1 Overview 803 Mini Comms Program RS232 cable IsoMax or Serial Editor Bootloader Other Devices Compiler Assembler JTAG cable Flash Utility Figure 14 Embedded Software Development Overview This diagram shows all of the components available for embedded software development Note that not all of the components will be used depending upon the scheme adopted by the developer These schemes and the required components are detailed below 10 2 IsoMax PC 803 Mini 32 Comms Program IsoMax Other Devices Figure 15 Software Development using IsoMax In this configuration the PC user runs a program which communicates with IsoMax via the RS 232 cable This allows interactive software development and testing Details of IsoMax can be found NMI s website 10 3 Compiler amp Assembler Using this method software is developed on the PC and transferred to the MinPod using either the RS 232 serial cable or a JTAG cab

Download Pdf Manuals

image

Related Search

Related Contents

High Performance Fume Hood  Manual del usuario para el sistema de inscripción en el  Model NJS0301 Warning information  

Copyright © All rights reserved.
Failed to retrieve file