Home

NMIN-0803-Mini User Manual

image

Contents

1. 18 de IS VD TID ads da 18 eA MR OL IS OO RSS QUI RR nas 18 o E i SU ENIM M ria f 19 JO ADC 5 Z uu 19 6 9 5 Onde LCD CONNECTION uu u u u da i den etae ERES A 19 7 MA UFACFURER asi asas as ei ka a RS Saya Sua 20 8 MEBECITANICA Irves os ksi Ai ds si sd s 20 9 ELECTRICA uuu uu u w 20 10 EMBEDDED SOFTWARE DEVELOPMENI 22 10 1 OVERVIEW s savas tee nt mee ae LEE 22 10 2 ML M ELO 22 10 3 COMPIEBR AN ASSBMBLEBR 25 de Ro 22 a CR 23 TU 3 2 HAaIlhsSeriat BOoHloQdeE E Ee u SDS L aya 23 COMMUNICA TION y s diska ven doa ste reb ao veu sae bes ee 27 11 1 NIMITDERM y nm t m MEL nm 27 11 2 das as ds 28 11 3 TR MATIN rs as ss i as ss MI 29 12 REFERENCE E ui u uma n
2. hai annua die an s 17 FIGURE I2 CONNECTORS J2 13 14 19 AND JO v sais seta aka taj adas 18 FIGURE a3 CONNECTORS 17 JS AND c oc sc Debido telae 19 FIGURE 14 EMBEDDED SOFTWARE DEVELOPMENT 661 22 FIGURE 15 SOFTWARE DEVELOPMENT USING 0 00 0000000000000 22 FIGURE 16 SOFTWARE DEVELOPMENT USING JTAGu c cccccccccsccsceccecceccscescuscesescescescessscescesceseesescaseseeces 23 FIGURE 17 SOFTWARE DEVELOPMENT USING SERIAL BOOTLOADER 0 0000000 000 23 Tables TABI AL CONNECTOR zs nasi asai ass t a 12 TABLE 2 ABSOLUTE MAXIMUM RATINGS L uuu u uD uQ luluq usu 20 TABLE 3 RECOMMENDED OPERATING CONDITIONG ccceccecceccececcesceccecescesceccecescescscesescescescesescescasceseess 21 TABLE 4 DC EUECTRICAL CHARACTERISTICS uuu uu i ua dese ee ed topa ai adas 21 NMIN 0803 Mini User Manual 1 GETTING STARTED Thank you for buying the NMIN 0803 Mini We hope you will find the NMIN 0803 Mini to be the incredibly useful small controller board we intended it to be and easy to use as possible If you are new to the NMIN 0803 Mini we know you will be in a hurry to see it working That s okay We understand 0
3. Figure 6 Red LED off To turn it back on type REDLED ON DSPS6PF R03 Figure 7 Red LED on Now let s use the Green LED Type GRNLED OFF NMIN 0803 Mini User Manual Figure 8 Green LED off To turn it back on type GRNLED ON DSPS6FRO3 Figure 9 Green LED on Now you should have a good feeling because you can tell your NMIN 0803 Mini is working It s time for an overview of what your NMIN 0803 Mini has for features First though a few comments on IsoMax revision level The first port of IsoMax M to the NMIN 0803 Mini 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 NMIN 0803 Mini User Manual 10 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 NMIN 0803 Mini purchased prior to V1 0 release can be returned to the factory at customer s expense for shipping and we will upgrade the V0 x release to V1 0 without charge 1 2 Instructions for Users with Small and a JTAG Cable A Small C program will have been flashed to the 803
4. ERAAD LAE Figure 1 NMIN 0803 Mini 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 NMIN 0803 Mini which hopefully you ve already gotten from us Then we need power such as from a 6VDC wall transformer which hopefully you ve NMIN 0803 Mini User Manual 5 already gotten from us If we have those connections correct we will be able to talk to the NMIN 0803 Mini interactively The wall transformer can supply the power to the NMIN 0803 Mini board but do not connect it to the board yet The board can be seen in the figure below showing the connections of VIN 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 GND i08 NC vu D5PS56F803 GND VIN 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 MaxTerm or NMITerm or HyperTerminal Set the program for the desired communications channel COM1 COM2 etc and set the communications parameters to 9
5. 0 NUL SOH STX ETX EOT BEL BS HT LF VT FF SO SI 1 PLE CE Des D04 NAK SYN ETB SE IU ALLAN NMIN 0803 Mini User Manual 32 13 GLOSSARY 1 double and triple row connectors 24 pin socket 74 04 9600 8 1 adapter ASCII CAN BUS Caps carrier board computing and control function communications channel communications settings COMI COM2 COM3 COM4 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 M NMIN 0803 Mini language Levels Translation LED LM3940 LM2937 Low Voltage Detector male NMIN 0803 Mini User Manual 33 mobile robot Multitasking PCB board PWM PWM connectors Power Supply Programming environment prototyping RS 232 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 G H State machine pioneer wrote A Method for Synthesizing Sequential
6. j outscichar a b int a unsigned char b i Int status do status SCIOSR while status amp 0xC000 0xC000 a b do status SCIOSR while statusx0xC000 0x C000 j delay unsigned int 1 J for i 0 1 lt 3 1 for j 0 lt OxFFFF j j main program main i char c int val SCIOBR 22 set up SCI 115 200 amp 8N1 SCIOCR 12 and display instructions outsci SCIODR n To download a new program simply reset or recycle the NMIN 0803 Mini power outsci SCIODR n You have 10 seconds before the blinkgrn test program is restarted PEIAR 0 set up GPIO PEIENR 0 PEIPOLR 0 PEIESR 0 NMIN 0803 Mini User Manual 25 0x00F3 PEDDR 0 000 PEPUR 0x00FF val 0x0008 0x0004 PEDR val while 1 set both on loop forever val 0x0008 PEDR val delay val amp 0x00F7 PEDR val delay PE3 high Green Led On PE3 low Green Led Off NMIN 0803 Mini User Manual 26 11 PC Communication A variety of programs are available which allow a PC to communicate directly with the NMIN 0803 Mini 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 k
7. 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 803 Mini via the RS 232 cable using Communications Program on the PC and the Serial Bootloader software on the 803 Mini The cable and Flash Utility not shown are optional NMIN 0803 Mini User Manual 23 10 4 Blinking Green Led Test Program blinkgrn c GPIO example program for the NMIN 0803 MINI see http www newmicros com Modified from ledsmini c by Peter F Gray petegray ieee org 6Feb03 include scdefs h GPIO registers define PEPUR 0x0FF0 define PEDR OxOFFI define PEDDR 0x0FF2 define PEPER 0x0FF3 define PEIAR OxOFF4 define PEIENR OxOFF5 define PEIPOLR OxOFF6 define PEIPR OxOFF7 define PEIESR OxOFF8 SCI registers define SCIOBR 0x0F00 define SCIOCR 0x0F01 define SCIOSR OxOF02 define SCIODR 0x0F03 routines for SCI 1 e PC hyperterm or minicom communication inscichar a b int a unsigned char b t int status do status SCIOSR while status amp 0x3000 0x3000 j outsci a b int a unsigned char b NMIN 0803 Mini User Manual 24 t unsigned int status while b do status SCIOSR while status amp 0xC000 0xC000 b j do status SCIOSR while status amp 0xC000 0xC000
8. 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 on NMI s website 10 3 Compiler amp Assembler Using this method software 1s developed on the PC and transferred to the NMIN 0803 Mini using either the RS 232 serial cable or a JTAG cable Note that the diagrams below show the components required for each scheme Additional components are optional NMIN 0803 Mini User Manual 22 10 3 1 With JTAG PC 303 Mini 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 803 Mini via the JTAG cable using a Flash Utility on the PC The RS 232 cable and communications program not shown are optional The JT AG cable plugs into the PC s parallel port and J6 on the 803 Mini 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 e the parallel port so a utility must be used which permits this such as UserPort 10 3 2 With Serial Bootloader PG 303 Mini Comms Program RS232 cable serial Bootloader Editor Compiler Other
9. 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 chip 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 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 uses about 30 mA from the 3 3V supply A shutdown 15 provided controlled by TD1 http pdfserv maxim ic com arpdf MAX3221 MAX3243 pdf 3 2 CAN BUS Levels Translation A TJA1050 buffers the CAN BUS signal http my semiconductors com acrobat datasheets TJA1050 3 pdf 3 3 LED s A 74HC04 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 NMIN 0803 Mini User Manual 13 3 4 RESET A S80728HN Low Voltage Detector asserts reset when t
10. 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 examination information with the use of special debugging hardware This level of access is beyond the expected average user of the NMIN 0803 Mini and will not be addressed in this manual NMIN 0803 Mini User Manual 15 5 Online Resources 5 7 NMIN 0803 Mini Forum amp Technical Support http www newmicros com discussion 5 2 NMIN 0803 Mini Manual http www newmicros com store product_manual nmin 0803 mini pdf 5 3 Small C amp Assembler website http home attbi com petegray 5 4 MaxFORTH Glossary Reference Page http www ee ualberta ca rchapman MFwebsite V50 Alphabetical Brief index html This has explanations for the definitions for the procedural language under the IsoMax TM Finite State Machine language 5 5 Motorola DSP56F803 Users Manual http e www motorola com brdata PDFDB docs DSP56F801 7UM pdf 5 6 Motorola DSP56F800 Processor Reference Manual http e www motorola com brdata PDFDB docs DSP56800FM pdf 6 CONNECTORS J1 PWM Quad Encoder amp Interrupts PWM V GND Quad Faults ISx IRQx J2 CAN BUS Speed Control Jumper High Low J3 CAN BUS Network Port CANL CANH GND J4 unavailable 15 Reset 5V V amp Ground Reset amp GND 5V amp GND V amp GND J6 JTAG connector Jtag int
11. ss A 30 NMIN 0803 Mini User Manual 3 12 1 2X 9C IEGCEHARRT uyay u xy 30 12 2 SIMPLI Boos DQ uuu urma au 32 13 GLOSS RY RSS 33 14 ARTICLES AND SUGGESTED READING 34 15 MECHANICAL DRAWINLCG ERROR BOOKMARK NOT DEFINED SCHEMATIC oent sinc et 35 Table Of Figures FIGURE NMHNO US MINild atst tais ass 5 FIGURE POWER AND SERIAE CONNECTIONS uu 6 FIGURE 3 an s 7 saska a a NAR 7 FIGURE EPS sedis nas ad 8 FOURRO RI DI LE cat Be 9 REP PE DOD 9 BIGUR S ada aa aaa Sises Si 10 PIGURE 9 ON a i S kia 10 FIGURE 10 BOARD EBATUBES Pacte 12 FIGURE CONNECTOR
12. 0 P X s UpprcaeP o 81 11 51 L JUppraeQ o 82 12 52 R X JUpprcaeR ee 16 56 V UppercaseV 987 127 57 W X JUpprcaeW 88 13 58 X 89 131 59 Y 90 132 Z 91 13 5 X Openingsquare bracket 92 14 5c Reverseslant Backslash 93 135 bd Qlosingsquarebracket 0 NMIN 0803 Mini User Manual 3l 95 137 f Hnderscore 96 140 60 Qpeningsingequote 97 141 61 3 kowercasea 3A 98 142 62 A Lowecaeb 99 143 63 X A Lowecaec 7 100 14 64 A Lowrased Z o Z 101 145 65 o 102 146 66 f A Lowercasef S O 103 147 67 A kowercaseg 104 150 68 h AJ kowercaseh Z o Z o 105 151 61 A kowercasei 106 152 A Loweraej 3 107 13 6b k o Z o o 108 14 kowercasel 9 109 155 69 qm 110 156 n X A Lowerceen 111 157 6f 7 Lowercaeo O Z o O i O 112 160 70 2 113 161 71 116 164 74 t 118 16 76 119 167 77 Lowecaseew amp o 120 170 78 kx 3 kowercasex 124 174 erticalline 2 126 176 7 approximate 127 17 7171 Delete rubout cross hatch box 12 2 Simple ASCII Chart
13. 600 8N1 Operate the program to get past the opening setups and to the 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 A simple serial cable can be made with Digikey part CFPO9T ND a female D sub 9 CSCIOT ND a 10 pin female connector and a short length of 10 circuit ribbon cable NMIN 0803 Mini User Manual 6 tA amp Lr FEMALE BEL Figure 3 The Serial Cable Plug the wall transformer into the wall but do not plug it into the 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 NMIN 0803 Mini board Be very careful not to plug it in reverse polarity here even though the regulator LM2937 has the reverse voltage protection Both the Red and Green LED s should come on If the LED s do not light unplug the power to the NMIN 0803 Mmni quickly NMIN 0803 Mini User Manual 7 Figure 5 The LEDs If the LED glows then check the screen on the computer When the power is applied before any user program installed the PC terminal program should show IsoMax MV 5 or whateve
14. A2 DI PA1 8 7 DUPAO EUPE4 6 5 RWPES NMIN 0803 Mini 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 nmin 0803 mini pdf Email technical questions techsupport newmicros com Email sales questions nmisales newmicros com 8 MECHANICAL Board size is 1 7 x 2 1 Mechanical Drawing on page 34 9 ELECTRICAL The total draw for the NMIN 0803 Mini under maximum speed is approximately 180 mA Sleeping or slowing the processor can substantially reduce current consumption Each digital pin is capable of sinking 4 mA and sourcing 4 mA Each PWM pins can sink 16mA and source 10mA Each LED draws approx 12 mA when lit Table 2 Absolute Maximum Ratings Characteristic Symbol Min Supply voltage All other input voltages excluding Analog inputs Vss 5 5V Analog Inputs ANAx VREF VDDA 0 3V Current drain per pin excluding VDD Vss PWM outputs 10 TCS VPP VDDA VSSA NMIN 0803 Mini User Manual 20 Storage temperature range Table 3 Recommended Operating Conditions Symbol Min Max Unit Supply voltage 30 36 V Ambient operating temperature Table 4 DC Electrical Characteristics Operating Conditions Vssa 0 V VDD 3 0 3 6 V 40 to 85 C CL l
15. Circuits Bell System Tech J vol 34 pp 1045 1079 September 1955 Moore E F 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 NMIN 0803 Mini User Manual 34
16. G CABLE 11 1 3 INSTRUCTIONS FOR USERS WITH SMALL C WITHOUT A JTAG CABLE 11 2 OUICK i i rra ivive u Qua Di w 11 3 CIRCUIT DESCRIPTIC Nida sag des A w W Oe ee 13 S 5232 PEVEES TREANSIEAQWIIONu uuu lu eat e uyu amna T Susu u suan ays 13 32 GANLBJLS EEVE S TRANSL ZZ an n Tq G au Su un izu 13 13 sp 0 6 AREA COE Re IT LE S et 14 D ERS SU cal 14 4 TROUBCESHOOTING momo EU 15 5 ONLINE RESOURCES 5 2 2 3 l a a a ds siem 16 51 NMIN 0503 MINI WEBSITEB eee epe ces 16 52 GLOSSARY REFERENCE PAGE ccceccecceccccescecceccsceccsceccscescescestscescescescecescasceseess 16 5 3 MOTOROLA DSP56F803 USERS MANUAL 16 5 4 MOTOROLA DSP56F800 PROCESSOR REFERENCE MANUAL 16 6 CONNECTORS ananasus a i 16 JLPWM QUAD ENCODER 5 17 62 gt AZCAN BUS 18 65 MAR DIS ENABEE dis 18 OF WS ER
17. Mini User Manual 29 12 12 1 Decimal Octal Hex ASCII Chart O 0 0 Nulcharacter 4 EOT Endoftransmission notthesameasETB 5 6 6 I Acknowledge clears ENQ logon hand 7 10 8 85 7 works on HP terminals computers 9 11 9 Horizontal tab movetonexttabstop 0 2 fF fine Feed 11 t3 b VT SVetialtab 220 13 5 Carriage Return 14 6 50 JgShiftOutaltematecharacerset 15 Ff mI Sh ttln resume defaultn characterset 00 ON with XOFF to pause listings okay to send 32 40 20 SP X Space 41 21 X Excdamationmark 34 42 2 X 35 43 22 Qrosshatch numbersign 36 44 4 Dpolasigp 38 6 6 8 Ampersand 89 47 27 Closing single quote apostrophe NMIN 0803 Mini User Manual 30 4 54 Dc omma A5 55 X pHyphendash minus A6 56 47 57 Slantlforward slash divide Zero 60 74 lt kessthansign 61 75 Bd Eaualssign 4 100 0 _ 65 11 41 X JpprcaeA 66 102 42 B X JUpprcaeB o 68 14 4 D XJ JpprcaeD 69 105 45 X UppercaseE 73 111 X JjJUpprcae l 75 113 db K o o 7 115 M z9 7 f 0 X UppraeO 80 120 5
18. Mini by NMI prior to shipping When you connect the power to the board you should observe the red LED and the green LED are both on After 10 seconds the green LED flashing and the red LED 15 stayed steady on this proves that the board is working This test program is listing on section 10 4 page 23 1 3 Instructions for Users with Small C without a JTAG Cable The 803 Mini will contain the Serial Bootloader and this will have been used by NMI flash the test program as detailed in the above section To ensure correct operation of the board connect the Serial Cable to your PC and the 803 Mini 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 Note there will be a 10 seconds delay and then the test program will run You should then observe the red LED on and the green LED flashing this proves that the board 15 working 2 QUICK TOUR Start by comparing your board to the diagram below Most of the important features on the top board are labeled NMIN 0803 Mini User Manual 11 de ANS RS232 SERIAL CAN BUS INTERFACE CONNECTOR CRYSTAL Y amp GROUND CAN BUS SPEED 8 CH 12 BIT CONTROL ADC FIM DSPS6F803 SHARED oO amp LCD CO
19. NMIN 0803 MINI DSP56F803 Controller Board User Manual L r BOT eee i CMM a 4 i F rr NEW MICROS INC 1601 Chalk Hill Read Dallas Texas 75212 Tel 214 339 2204 www newmicros coim 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 NMIN 0803 Mini IsoMax and Virtually Parallel Machine Architecture are trademarks of New Micros Inc Windows 1s 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 d
20. NNECTION QUAD ENCODER AND INTERRUPTS RED LED POWER SUPPLY GND VIN 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 J1 Quad encoder and interrupts J2 CAN BUS Speed control J3 CAN BUS Network Port JA unavailable J5 V 4 Ground J6 connector JJ RS 232 Serial Port Ja A D J9 Shared I O s amp LCD connection The table above explains the 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 All 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 NMIN 0803 Mini User Manual 12 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
21. amages 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 stored 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 nmin 0803 mini pdf Email technical questions techsupport newmicros com Email sales questions nmisales newmicros com Also see Manufacturer information near the end of this manual Internet NMIN 0803 Mini Discussion List We maintain the NMIN 0803 Mini discussion list on our web site Members can have all questions and answers forwarded to them It s a way to discuss NMIN 0803 Mini issues To subscribe to the NMIN 0803 Mini list visit the Discussion section of the New Micros Inc website http www newmicros com discussion This manual is valid with the following software and firmware versions IsoMax V0 5 or newer or 2000 2001 Motorola Inc S Record loader Version 1 3 If you have any questions about what you need to upgrade your product please contact New Micros Inc NMIN 0803 Mini User Manual 2 Table of Contents 1 GETTING STARTED 22 5 Acs ds ds ee Re eee 5 ll INSTRUCTIONS BOR ISONAX USERS tbt ss S 7 1 2 INSTRUCTIONS FOR USERS WITH SMALL C AND A JTA
22. ave clock source fosc 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 the 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 VEL 7 Power on reset occurs whenever the internally regulated 2 5V digital supply drops below While power is ramping up this signal remains active for as long as the internal 2 5V supply is below 1 5V no matter how long the ramp up rate is The internally regulated voltage is typically 100 mV less than VDD during ramp up until 2 5V is reached at which time it self regulates NMIN 0803 Mini User Manual 21 10 Embedded Software Development 10 1 Overview 803 Mint Comms Program RS232 cable IsaMax Serial Bootloader Other Devices Editor 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 303 Mini 5232 cable Comms Program Isalvlax
23. ded DOS terminal program from New Micros Inc Usually provided in ZIP Un ZIP in a subdirectory such as C MAXTERM To start the program click or double click the program icon Maxterm ico Max Term 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 COML amp COM2 Baud rates from 300 through 38400 Control over RTS and DTR lines Capture files which record all terminal activity to disk 32K scroll back buffer editable and savable as a file On line Interactive Programmer s Editor OPIE File downloader Programmable function keys Received character monitor Co which displays all data in HEX Quick start commands Set comport ALT 1 or ALT 2 It does not support com3 amp 4 Baud default 9600 DTR On Off ALT T Download ALT D PACING ALT P IsoMax default decimal 10 OY 01 For further information use the Help screen ALT H or the program documentation MAXTERM Help alt B Change baud rate alt M Character monitor mode alt C Open or close capture file alt O Toggle sounds alt D Download a file all text alt P Change line pace char alt E Edit a file Split screen alt R Toggle RTS altek alt H alt I alt K alt L Edit function keys Help Program Information Toggle redefini
24. erface J7 RS 232 Serial Port TXD RXD GND J8 A D A DO A D7 J9 Shared I O amp LCD connection PAO PA7 PE4 PE6 TD2 NMIN 0803 Mini User Manual 16 Figure 11 Connector 1 6 7 J1 PWM Quad Encoder amp Interrupts 30 27 24 21 18 15 12 FAULT2 7 PHASEAO 3 NMIN 0803 Mini User Manual 17 Figure 12 Connectors J2 J3 J4 5 and J6 Connectors in above top view J1 to left picture and on page below have same oriented pin upper left 6 2 J2 CAN BUS speed control Jumper J2 can be used to switch between high speed mode or silence mode CAN BUS operation based on TD2 output low or high respectively Also to use the control speed Pin amp 2 must connect together By default J2 is not connected and the control pin S is normally pulled low This enabled the High Speed mode operation 6 3 J4 unavailable 6 4 J5 Power Reset amp Ground GND 5 6 v 6 5 J3 CAN BUS Connector 6 6 J6 JTAG connector ij ls 14 2 0 8 6 4 2 NMIN 0803 Mini User Manual 18 DSPS6F R03 Figure 13 Connectors J7 J8 and J9 Connectors in above top view J1 to left picture and on page below have same oriented pin lower right 6 7 J7 RS232 Connector 10 8 6 4 2 6 8 J8 ADC ANA5 5 6 4 ANA3 7 8 ANA LANAI 9 10 69 J9 Shared I Os amp LCD connection D3 PA3 10 9 D2 P
25. he voltage is below operating levels This prevents brown out runaway and a power on reset function http www seiko instruments de documents ic_documents power e s807 e pdf 3 5 POWER SUPPLY A 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 drops the 5V to the 3 3V needed for the processor At full current 180 mA these two regulators will get hot They can provide current to external circuits if care 1s 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 NMIN 0803 Mini User Manual 14 4 TROUBLE SHOOTING There are no user serviceable parts on the NMIN 0803 Mini 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 1s 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
26. nown as a Serial Cable One end of this cable plugs into the PC s COM port and the other end is for the 803 Mini 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 NMITerm Provided Windows terminal program from New Micros Inc Usually provided in a ZIP Un ZIP in a subdirectory such as C NMITerm To install the program click or double click the SETUP EXE program icon Once the program is installed click on START PROGRAMS NMITerm NMITerm icon to start NMITerm LNK NM ITerm is a simple Windows based communications package designed for program development on serial port based embedded controllers It runs under Windows 95 98 200 NT and XP NMlITerm provides 1 support for COMI through COMIGO 2 Baud rates from 110 through 256000 3 Control over RIS and DTR lines 4 Capture files which record all terminal activity to disk 5 Scroll back buffer editable and savable as a file 6 On line Programmer s Editor 7 File downloader 8 Programmable function keys Quick start commands 1 Baud default 9600 24 DIR ON OFF ALT T 3 Download ALT D For further information click on HELP TOPICS under HELP menu This program can be downloaded from http www newmicros com download NMITerm zip NMIN 0803 Mini User Manual 27 11 2 Provi
27. r the version currently 1s see upgrade policy later at the end of this chapter or O 2000 2001 Motorola Inc S Record loader Version 1 3 If the LED s don t light and the screen doesn t show the message unplug the power to the NMIN 0803 Mini Check the power connections particularly for polarity This is the 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 or 2000 2001 Motorola Inc S Record loader Version 1 3 Odds are you re there Congratulations Now let s do something interactive with the NMIN 0803 Mini To start with IsoMax programming in the terminal program on the PC type in woRps all in caps as the language 1s 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 NMIN 0803 Mini Now let s blink the LED s Port lines control the LED s Type REDLED OFF NMIN 0803 Mini User Manual 8
28. 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 interactive 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 your application or 1f 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 NMIN 0803 Mini 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 NMIN 0803 Mini 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 NMIN 0803 Mini can then be programmed and plugged into the circuit in question But don t be too anxious to take this step If the first NMIN 0803 Mini
29. t 50 pF fop 80 MHz Characteristic Symbol Min Max Unit Inputhighvollage VH 20 55 Inputlowvotage 103 08 v Input current low pullups pulldowns disabled 4 1 A Input current high pullups pulldowns disabled 1 J1 A Typical pullup or pulldown resistance 30 input output tri state curent owon 10 10 ja Input outputtri state current 77 40 10 A Output High Voltage at IOH Vpp 07 V Output Low Voltage atIOL Vo 04 v OuputHighCurent 0 7 4 mA Output Low Current 4 mA Input capacitance 2 8 IPF Output capacitance 712 PWM pin output source currents WOHP 0 mA PWM pin output sink current2 16 mA Totalsupplycurrent Runs 1 2 126 162 mA Waits 0 0 0 0 172198 mA Stop J 160 184 mA PoweronReset7 V oa 17 20 V 1 PWM pin output source current measured with 50 duty cycle 2 PWM pin output sink current measured with 50 duty cycle 3 IDDT IDDA Total supply current for VDD VDDA 4 Run operating IDD 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 w
30. tion catcher Open Sckollbaok dod alt alt T lt Uu alt W alt x Unsplit the screen Toggle DTR Change colors Wipe the screen EXIT alt 1 2 3 4 Select Com port alt Z Download a file no fat fl f10 Programmable function keys dz Re enter OPIE NMIN 0803 Mini User Manual 28 status line mode indicators r rts dtr L log file 5 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 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 as appropriate then Okay In the COMx Dialog box which follows set up the port as follows Bits per second 9600 Data bits 8 Parity None Flow Control None then Okay The ATN signal must be unconnected when using this program There 1s no option to remotely set and reset the board using the DTR line with this program NMIN 0803

Download Pdf Manuals

image

Related Search

Related Contents

Help Desk Authority Integration Guide for PacketTrap IT  User Guide - ChSchuetz  4-BAY SATA NETWORK STORAGE ENCLOSURE DNS-343  APPELEZ LE    RST600 User Manual  IPL, RT900, 96092002901, 2013-04, TILLER  AOI Specification Cover Sheet    HP Compaq Presario A9B27EA notebook  

Copyright © All rights reserved.
Failed to retrieve file