Home
Getting Started with NI Circuit Design Suite
Contents
1.
2.
3. 3D 3
4. 1 NI
5. cs2 NI Circuit Design Suite 3 10 ni com jp 3 Ultiboard 2
6. Windows Wir Ls Multisim User Manual National Instruments Corporation 2 17 NI Circuit Design Suite Ultiboard Mulisim Multisim Ultiboard Mulfisim User Manuals TUltiboard User Manua
7. 2 ag ag ec83
8. BSIM3 and BSIM4 are developed by the Device Research Group of the Department of Electrical Engineering and Computer Science University of California Berkeley and copyrighted by the University of California The ASM51 cross assembler bundled with Multisim MCU is a copyrighted product of MetaLink Corp www metaice com MPASM macro assembler and related documentation and literature is reproduced and distributed by Electronics Workbench under license from Microchip Technology Inc All rights reserved by Microchip Technology Inc MICROCHIP SOFTWARE OR FIRMWARE AND LITERATURE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT IN NO EVENT SHALL MICROCHIP BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER LIABILITY ARISING OUT OF OR INCONNECTION WITH THE SOFTWARE OR FIRMWARE OR THE USE OF OTHER DEALINGS IN THE S
9. 1 National Instruments gt Circuit Design Suite 10 1 Ultiboard 10 1 Uliboord 2 3 Getting Started 4 Getting Started ewprj Utiboard National Instruments Corporation 3 3 NI Circuit Design Suite 3 Uliboard 5 GettingStarted Ultiboard GS1 Logn Orv E ATW P D T 8A O W B DeEEeu3S3 amp amp AA QQQQ G BB DIOR A II DO Vg Yo Yq Me Y YS copper Top 88 10 0000 mil vm lv REAL Ter 2h ah 4 Lo o aT DeG ad air GettingStarted u i cs1 i
10. 1 9 Multisim 1 MyGettingStarted ms10 2 7 LED OK
11. e Multisim MCU WMultisim User Guide Uliboord User Guided National Instruments Corporation 1 1 NI Circuit Design Suite Multisim Mulfisim Mulisim Multisim Multisim Circuit Design Suite EDA
12. TF PRL 0 copper Top Copper BottomA PD 1 ED 0 FB 0 7 We 3000 2000 5 00000 8 B UIiboard User Manual NI Circuit Design Suite 3 6 ni com jp 3 Uliboard 1
13. NI ni com jp dforum SSP NI E 1 ni com jp services ni com contact
14. sgsNp_parA MCU National Instruments Corporation 4 13 NI Circuit Design Suite NI ni com jp ni com jp support ni com jp support
15. NI Circuit Design Suite 2 10 ni com jp 2 Multisim 4 Digitol Counter VCc Vcc 5V 5V u1 R4 74LS47N 74HC190N_4V U3 R4 Mulisim User Manual 9 Counter Control ik Digital Counter 2 National Instruments Corporation 2 11 NI Circuit Design Suite 2 Multisim 5 VCC 5V ee vec e vec wv 5V 7 j Is U4 J3 J g C1
16. 3 Hole35 X HAE _ gt D amp Raa Through Hole Technolog 4 HOLE3S IC a Diodes F Bridge Rectifiers m 5032 voltage Regulators M 1A5033 DC DC Converters Led Displays MI 14803_4 Connectors 503_6 Batteries amp Sockets M 145037 Holes M h B03_8 Buzzers M eos Capacitors MI A e04_0 Buttons amp Switches Hl eos Crystals Oscillators MI A HOLE Relays E Hoss Power Rectifiers v v lt gt lt gt Cid ores 4 OK RefDes Value 5 H1 HOLE OK 6 National Instruments Corporation 3 11 NI Cir
17. BOM 1 SEVEN_SEG_DECIMAL_COM_A_BLUE Genericl75EGB A 74L5 74L547N CAP_ELECTROLIT 1uF CAP_ELECTROLIT 10nF CAP_ELECTROLIT 100uF CONNECTORS HDR1X4 SWITCH SPDT LED_blue RESISTOR 1kQ 5 POTENTIOMETER 50k RESISTOR 2002 5 IPC 2221A 22 016 IPC 7351 Chip IPC 7351 Chip IPC 7351 Chip GenericlHDR 1 gt Generic SPDT Ultiboard LED9 IPC 7351 Chip Generic LIN_P IPC 7351 Chip RPACK_VARIABLE_2X7 180 Ohm 1PC 2221A 222 14 gt Windows
18. 1 5 Ulibogrd 9 7 cs5 U 1 J1 J2 J3 LEDI WUIliboard User Manual NI Circuit Design Suite 3 18 ni com jp 3 Ultiboard Getting Started ewrj 1 Ultiboard cs5 2
19. F7 1 PCB NI Circuit Design Suite 3 14 ni com jp 3 Ultiboard 2 J3 IT WD gt Se J3 2 Q
20. Grqphicql LCD T6963C for Mulfisim LCD V LCD LCD 2 1 LCD LCD m National Instruments Corporation 4 3 NI Circuit Design Suite 4 Multisim MCU DATA BUFFER EQU 0x20 DATA_BUFFER2 EQU 0x21 CMD BUFFER EQU 0x22
21. Uliboard Getting Started eworj 1 Ultiboard cs3 2 A 3 National Instruments Corporation 3 19 NI Circuit Design Suite 3 Uliboard
22. MCU hex MCU MCU National Instruments Corporation 49 NI Circuit Design Suite 4 Multisim MCU 2 main asm
23. NI NI NI NI Ex FIR monospace gt
24. Q WUIHiboqrd User Manual Uliboard es4 N
25. 6 Anqlog Amplifier V1 0 2 Vpk gt R3 50kN 1kHz 2 Key A 0Deq 5 NI Circuit Design Suite 2 8 ni com jp 2 Multisim AC 7 Byposs Capacitors VCC VCC 5V 5V C 1 C2 3 1uF POL 10nF 100uF POL T T T Lt lt b GND 8 J3 Bosic Connectors 9 2 Elt Multisim
26. CD patents txt ni com patents Some portions of this product are protected under United States Patent No 6 560 572 National Instruments Corporation 1 National Instruments Corporation NI NM 2 ERDE
27. NI Circuit Design Suite A 2 ni com jp al 2 2 9 BOM 2 16 M MCU 4 2 4 1 MCU 4 7 4 7 Multisim 2 3 Multisim 2 9 Multisim 2 5 Multisim 2 5 Multisim 2 5 N NI A 1 U Uliboord dB 3 11 Ultiboard 3 21 Ultiboard 3 3 Ultiboard 3 12 Ultiboard 3 14 Uliboard 3 10 3 7 Ultiboard 3D 3 22 44 2 16 2 1 3 1 National Instruments Corporation 1 A A 1 4 13 2 14 2 4 2 12 A1
28. 1 NI Circuit Design Suite NICireuit DesigniSuile 2 ee 1 1 Eh 1 1 2 Multisim Mulfisim inihua ahia nnan hiana hadani in 2 1 EE 2 3 TEU ER Bel u 2925 5 A thes casita E sass asada EE E NR S AESAAT WA A eth lt 2 4 Bs ca 00 1 acca 3 Gn A gt On paan leere nina 2 5 TYR FRI PEMET 2 2 5 2 9 rA ea een 2 12 AIR AEE Tegel RE nennen anni A A 2 12 SPIN SS EAE A ETEA EAEE 2 14 2 15 3 2 16 7 2 16 II 2 16 3 Ultiboard Ultiboard A737 2 ROHR na nn 3 1 NN 3 3 Nk ii ilk lt k vE 3 4 FEST Ka PHC ea NS 3 7 nennen 3 8 a vessssssssssssssssesssssssssssesssssnsnsesessssersssnseesssessnsnseesseessssens 3 9 nennen 3 10 vccccsssssssssssssssssssssssssssssssssssssessssssseesssssseesssseseesssssesses 3 11 ERR 3 12 3 14
29. gt 2 Getting Started MCU 7 Grqphical LCD T6963CC for Multisim LCD n 3 4 U1 MCU National Instruments Corporation 4 11 NI Circuit Design Suite 4 Multisim MCU main asm 599 reste Eob 7 600 READ DATA 601 00182 CALL SET_PORT_B_INPUT 11 0 1 602 00188 MOVLU 0x04 0100 ame ial 603 0018C MOVUF PORTA 604 0018D MIOVF PORTB GET 16st Ey Ha 605 00185 MIOVWF DATA BUFFER 606 0018F RETURN INDF nn 00 o 607 608 el er 609 SEND_DATA n m 610 00190 CALL SET_PORT_B OUTPUT 611 00191 MIOVF DATA_BUFFER 0 output E
30. 200 Q CTrLR U1 U2 HOT National Instruments Corporation 2 7 NI Circuit Design Suite 2 Multisim 5 Counter Control SPDT VCC 5V J1 in Key Space J2 en Key Space sb GND 9 SPDT Bosic Switch W os REA gt
31. Mulfisim Q cetting Started samples Getting Started 1 ms10 National Instruments Corporation 29 NI Circuit Design Suite 2 Multisim L 2 2 Multisim o A UD RO O MAX MIN LK SND 74HC190N 4V 3
32. MCU RETL 0x46 b amp Si fel RETLW 0x4c 4 1 ART 1 BCF Getting Started MCU CLRF I BF Getting Started MCU CLRF I 3 0 LCD Workspace project1 BSF main pem MOVLU z Getting Started M MCU MOVUF MCU C er e D m gt M D HES MOYUF lt MCU gt UN NI Circuit Design Suite 4 8 ni com jp 4 Multisim MCU main asm project a main asm 1 include pi16f84a inc gt This includes PIC16F54A 2 I 3 Controlling a Toshiba T6963C controller based graph 4 5 errorlevel 302 6 7 DATA_BUFFER EQU 0x20 8 DATA_BUFFERZ EQu Oxzi1 9
33. F8 3 Uliboord X National Instruments Corporation 3 15 NI Circuit Design Suite 3 Ultiboard 2 o u gt 3 NI Circuit Design Suite
34. 2 1 2 GS1 1 9 PCB National Instruments Corporation 3 7 NI Circuit Design Suite 3
35. 6 ana1og_out AC 1 ae Ls 2 AC Baar RRA yay ERAADA W2 v 20 B WCvcc m HIE gt 8a gt HREN TUREJ LESER HEBDO FISHER At FALL ATOR iv TEAR LIEN E74 ARE 3 v analog_out V analog_out NI Circuit Design Suite 2 14 ni com jp 2 Multisim
36. 74 RETLW 0x49 ST 39 RETL Ox4d i 1 77 START BA 78 BCF STATUS RPO BANK 0 a Z Getting Started MCU 79 CLRF PORTA BY Getting Started MCU so CLRF PORTB 3 0 LCDWorkspace 81 ff projectt 82 BSF STATUS RPO BANK 1 main asm 83 MOVLW 0x80 DISABLE WEAK PULLUP RESISTORS amp Getting Started MCU Description 84 TIOVWF OPTION_REG 85 NOVLY 0x00 SET PORTA AS OUTPUTS 86 MOVUF TRISA 87 MOVLW 0x00 SET PORTB AS OUTPUTS 88 MIOVUF TRISB 1 By Getting Started MCU main asm MCU 1 gt
37. LCD START BCF STATUS RPO 7 BANK O CLRF PORTA CLRF PORTE BSF STATUS RPO BANK 1 MOVLW 0x80 DISABLE WEAK PULLUP RESISTORS MOVUF OPTION REG MOVLW 0x00 SET PORTA 45 OUTPUTS MOVUF TRISA MOVLU 0x00 SET PORTB AS OUTPUTS NOVUF TRISE ECF STATUS RPO BANK O MOVLW OxOF 1111 no commands ready MOVUF PORTA 71 SET DISPLAY MOVLU MOYUF CALL MODE to GRAPH TEXT mode cursor off Ox9C CMD_BUFFER CMD National Instruments Corporation 4 5 NI Circuit Design Suite 4 Multisim MCU LCD MCU RAO RA2 75 write string MOVLU MOVUF MOVLW MOVUF CALL MOVLW MOVUF CALL MOYLW MOYUF CALL MOVLW MOYUF LOOP_READ_DATAZ MOVF CALL MOVUF CALL INCF MOYF SUBLU BTFSS GOTO MOYLW MOVUF CALL Ox7D DATA_BUFFER 0x29 DATA_BUFFER2 DT2 CMD ADPSET CMD_BUFFER CMD external CG start at 1400h CND_AWRON CMD BUFFER CMD 0x00 ADDR_INDEX Initial the counter r ADDR INDEX 0 TXPRT STARTING data ADDRESS DAT
38. FI1 National Instruments Corporation 2 3 NI Circuit Design Suite 2 Multisim samples Getting Started Getting Started 1 ms10 Getting Started 2 ms10 amp Getting Started Final Multisim Getting Started Final Joe ME REO EEO MUM
39. AU NI 5 Nofionol Instruments Corporation National Instruments NI NI
40. RB AE UHiboorg User Manual NI Circuit Design Suite 3 8 ni com jp 3 Ultiboard 1 2 1 Utiboard 3 U 1 os L J3 BERANE So aim
41. Circuit Design Suite EDA Electronics Design Automation Multisim PCB Multisim Multisim Uliboord CAD KK Ultiboard e Multisim Multisim Ultiboard Multisim
42. A 1 2 15 NI A 1 3 21 HAR 216 BA AT NI A 3 19 3 18 2 12 3 14 NI A 1 NI Circuit Design Suite 3 20 1 1 3 17 411 4 13 4 13 4 13 NI A 1 1 1 NI A 1 NI A 1 NI A 1 NI A 1 A1 NI Circuit Design Suite 12 3 8 39 4 10 NI 1 N
43. LCD U2 U2 LCD 3 LCD MCU Lrcpworkspace MCU NI Circuit Design Suite 42 ni com jp 4 Multisim MCU rain asm 1 DOT project1 lL rain asm main asm
44. 6 7 O 8 NI Circuit Design Suite 4 12 ni com jp ith No 2 3 gt 3 4 l Bu ls 2 gt iml 4 Multisim MCU MOVWF PORTB SEND_DATA SEND_DATA sgNp_parA sgNp_parA MCU
45. sEnp_parA SEND_DATA SEND_DATA SEND_DATA CALL SEND_DATA MCU CD sgsNp_parA
46. 35 3 LCD OFF MOVL WCMD_AWROFF MOVWF CMD_BUFFER CALL CMD 76 draw wave once MOVF ADDR_L 0 BTFSC STATUS Z CALL DRAW_WAVE MCU Mulfisirmn MCU MCU C asm inc c h amp MCU
47. 3 16 ni com jp 3 Ultiboard L a 2 J3 3 U4 2 4 Ultiboard 7 1 2 1 3 Ulfiboord National Instruments Corporation 3 17 NI Circuit Design Suite 3 Ultiboard 4 auch
48. ni com jp training NI ni com jp a11iance NI ni com jp N EA N National Instruments Corporation A l NI Circuit Design Suite A Worldwide Offices ni com niglobal
49. 3 12 ni com jp 3 Ultiboard Q WUIHibogrd User Manuall 9 1 Shiff
50. 2006 2008 National Instruments Corporation All rights reserved NI eh 90 NI NI NI RMA Return Material Authorization NI NI
51. A 3 4 3 20 v 2 1 3 17 2 16 ni com jp
52. 13 4 PCB NI Circuit Design Suite 2 2 ni com jp 2 Multisim Multisirm Multisim
53. tw Bax E E RTD Y IKD DEHRA amp HEWN AaQsiaevdd bh Awe achet Getting Started Final AC A A 100M W analgq_aut Multisim 1 2 National Instruments Corporation 2 15 NI Circuit Design Suite 2 Multisim 7 aax F E RTO T DHR se HIM Aa Qala evyds bh Hae lt kK gt il D S a a FE 1 achir S5C1 500 0m Getting Started Final 4 0m 8 0m 12 0m 16 0m 20 0m
54. 4 Digitol Counter SEND 74HC190N 4V Vcc Vcc 5V 5V U1 LED1 R1 2000 R4 74LS47N ky u m V 7 RLC Bl PCB RIC
55. LCDWorkspace LCD Toshibq T6963C I RAM Mulfisim LCD PIC LCD LCD LCD LCD HIGH LOW National Instruments Corporation 4 1 NI Circuit Design Suite 4 Multisim MCU GRAPH LCD_M RA RA4TOCKI 3 BUS1 MCLR OSCLCLKIN PIC16F84A LCD U2 U RBO RB7 LCD RAO RA2 MCU Ul
56. G Q MD VAM MKO ROW lalx DESVARIA w BBdvBs maye ler ulm o amp 0P37AJ R2 50kn 50 VCC VCC Key A 5V 5V Digital Counter el _t zu ui j LED 1 br Ri se von EN R4 En ia reack 180 Ohm an U2 TTTTT g el 74LS47H 74LS190H Getting Started Final Kin NI Circuit Design Suite 2 4 ni com jp 2 Multisim Mulfisim 1 National Instruments gt Circuit Design Suite 10 1 gt Multisim 10 1 1 1 Windows 2 MyeettingStarted
57. Gerber RS 274X RS 274D UIHiboqrd User Manual National Instruments Corporation 3 2 NI Circuit Design Suite 3 Uliboard 3D Uliboard 3 UIiboard User Manual PCB WUliboard User Manual NI Circuit Design Suite 3 22 ni com jp Multisim MCU NI Circuit Design Suite Y samples Getting Started Getting Started MCU ms10
58. NI Be NI NI JEE NI NI NI a LEN Er na an cade NI NI 1 NIE NI BRS REE
59. 1 MCU main asm National Instruments Corporation 4 7 NI Circuit Design Suite 4 Multisim MCU MCU MCU MCU 1 MCU gt MCU PIC 16F84A U1 BD 2 MCU MCU PIC 16F84A U1 gt
60. Ultiboard Ulibooard Circuit Design Suite PCB EDA Electronics Design Automation Uliboard CAD UHiboard Uliboard National Instruments Corporation 3 1 NI Circuit Design Suite 3 Ultiboard N fe ITN QW 7 gt bettingStarted Joe OV REE Vg Bahia tea OVP Rw AWT 3 x QPE QRQQQ Bin OD LLP HPA MPR Aw T B ph i10 0000 mi vm wv a PCB a or 1 vl Copper Bottom M Kaapit Layer v v lt cst ff 652 ff 653 G54 TE css x p Ga te Se Fl 2 S Ss Bl Aaja am Shes 5 Shaadi DoF 2 16 ci ju 0 0000 e Cs 10nF KE i 0 0000 0 0000 a c3 10 EL tut 0 00
61. 6 0235 i SPDT SW_S3P WAZ 10 0000 0 0000 Ban e 32 SPDT SW_S3P 10 0000 0 0000 UL i e 3 HDR1X4 HDRIX4 AT 0 0000 0 0000 Bau e LED1 LED_blue LEDS 0 0000 0 0000 lt gt National Instruments Corporation 3 9 NI Circuit Design Suite 3 Uliboard 2 J3 J3 3 J3 J3 eu ERT Ultiboard
62. i seyen_seg_qdecima1_com_a_b1ue National Instruments Corporation 2 5 NI Circuit Design Suite 2 Multisim TARA ANSI v beven_seg_decimal_com_a_ 5 3 ozs El VOLTMETER H HEF ammeter BB prose SEGMENT DISPLAY WITH DECIMAL POINT IR BUZZER OMMON ANODE Lamp VIRTUAL_LAMP Bex pserav D El sarcrarH TRAY Bere Generic 7SEGBDIP14B Generic DISP1105 Nathalie 1 seyen_seq_decimal com_a_blue 3 U1 NI Circuit Design Suite 2 6 ni com jp 2 Multisim
63. 3 Klicken Sie unter Verf gbare Bauelemente auf HOLE35 Die Kom ponente wird daraufhin in der Vorschau angezeigt Bauelement aus Datenbank abrufen Filter alle Arten lv Abmessungen anzeigen 7 Datenbank Verf gbare Bauelemente Vorschau RARA Through Hole Technology a HOLE3S IC B03_0 Diodes Bridge Rectifiers K 503 2 Voltage Regulators m DC DC Converters 148033 Led Displays m 14503_4 Connectors m 145036 Batteries amp Sockets m 14037 Holes Ml soss Buzzers fl e039 Capacitors M 504 Buttons amp Switches Hl 505 Crystals Oscillators M JA HOLE Relays M Hoss Power Rectifiers v v lt gt lt gt Teilbaumstrukturinhalte anzeigen Abbrechen Hilfe 4 Klicken Sie auf OK Das Dialogfeld Bauelement aus Datenbank abrufen wird ausgeblendet und Sie werden dazu aufgefordert eine Referenzbezeichnung REFDES und einen Wert VALUE einzugeben 5 Geben Sie als Referenzbezeichnung des Bohrlochs H1 und als Wert HOLE an und klicken Sie auf OK 6 Bewegen Sie den Mauszeiger ber die Leiterplatte Die Komponente ist nun dem Mauszeiger unterlegt 7 Sobald sich das Loch im Bereich der oberen linken Ecke befindet legen Sie es durch einen Mausklick auf der Leiterplatte ab 8 Bs erscheint erneut das Dialogfeld Referenzbezeichnung f r Bauteil eingeben Die Referenzbezeichnung wird automatisch auf H2 erh ht 9 Geben Sie als Wert HOLE ein und klicken Sie auf OK um die n ch ste
64. J 2E MCU 74 RETLW 0x49 75 RETLW Ox4d 76 77 START ser STATUS RPO BANK 0 79 CLRF PORTA 50 CLRF PORTB B1 82 BSF STATUS RPO BANK 1 83 MOVLU 0x80 DISABLE WEAK PULLUP RESISTORS 84 _ MOVUF OPTTON REG 85 MOVLW 0x00 SET PORTA AS OUTPUTS 86 MOVUF TRISA 87 MOVLW 0x00 SET PORTB AS OUTPUTS sg MOVUF TRISE lt mM 1 PN Getting Started mcu main asm 5 U1 1 U 2 main asm 3 START BcF STATUS RPO NI Circu
65. 1 2 es1 3 NI Circuit Design Suite 3 4 ni com jp B38 Ultiboard DRC 4 5 National Instruments Corporation 3 5 NI Circuit Design Suite B38 Ultiboard 6
66. XSC1 50 lt f gt _A B 43 0 0005 0 000 740 846 mV Test A B NE 2 ms Div 500myipiy 5Wpv S Io F w xe o Y 0 Y o Ab oo v CATAE EJEA 47 Gina ior auto fone 7 LED HAMLET 5 E LOW L LOW TS Shiff A A National Instruments Corporation 2 13 NI Circuit Design Suite 2 Multisim Q AC
67. A Multisim BOM BOM 5 1 kQ NI Circuit Design Suite 2 16 ni com jp 2 Multisim
68. Um die St ckliste auszudrucken klicken Sie auf die Schaltfl che Drucken Daraufhin ffnet sich das Windows Druckdialogfeld in dem Sie den gew nschten Drucker die Anzahl der Kopien usw ausw hlen k nnen Erste Schritte mit NI Circuit Design Suite Kapitel 2 Einf hrung in Multisim Klicken Sie zum Speichern der Stiickliste auf die Schaltflache Speichern Daraufhin ffnet sich das Windows Dialogfeld zum Speichern von Dateien in dem Sie den Pfad und den Dateinamen angeben k nnen Da die St ckliste haupts chlich zur Unterst tzung bei der Beschaffung und Herstellung gedacht ist enth lt sie lediglich reale Bauteile also z B keine Quellen oder virtuellen Bauelemente Bauelemente ohne zugewiesene Footprints erscheinen nicht in der St ckliste Wenn Sie eine Liste der Bauelemente in Ihrer Schaltung sehen wollen bei Vir denen es sich nicht um reale Bauelemente handelt m ssen Sie auf die Schaltfl che Virtuelle Bauelemente anzeigen klicken Daraufhin wird ein weiteres Fenster ge ffnet in dem nur diese Bauelemente angezeigt werden Genaue Angaben zu St cklisten und anderen Berichtarten finden Sie im Benutzerhandbuch zu Multisim Erste Schritte mit NI Circuit Design Suite 2 20 ni com Einf hrung in Ultiboard In diesem Kapitel wird die praktische Erstellung von Platinen anhand der im Multisim Kapitel beschriebenen Schaltpl ne erl utert Tipp Das Importieren von Multisim Schaltpl nen ist im Benutzerha
69. PIC16F84A Uber diese Anleitung Die Datenleitungen von LCD U2 sind mit den Anschlussstiften RBO bis RB7 des Mikrocontrollers U1 verbunden Die Steuerleitungen der LCD Anzeige sind mit den Anschliissen RAO bis RA2 des Mikrocontrol lers verbunden Die MCU U1 kommuniziert mit dem LCD U2 ber diese Verbindungen Die Daten werden parallel an U2 bermittelt wobei die Signale auf den Steuerleitungen das Timing und den Typ der gesendeten Daten d h Adresse oder Daten bestimmen Die LCD Grafikanzeige kann in drei verschiedenen Modi arbeiten im Textmodus Grafikmodus oder einem kombinierter Modus aus Text und Grafik Im Beispiel befindet sich die Anzeige im kombinierten Modus Die Software zur Ausf hrung der MCU befindet sich in einem MCU Arbeits bereich der in der Entwurf Toolbox als LCDWorkspace angezeigt wird Erste Schritte mit NI Circuit Design Suite 4 2 ni com Kapitel 4 Einf hrung in Multisim MCU Der Arbeitsbereich enth lt ein Projekt namens project1 das nur aus der Quellcodedatei main asm besteht Um die Datei zu betrachten f hren Sie die folgenden Schritte aus 1 Klicken Sie in der Entwurf Toolbox doppelt auf main asm Im Arbeitsbereich zur Schaltungserfassung erscheint eine Registerkarte namens main asm auf der das Assembly Programm angezeigt wird xl 74 RETLU 0x49 W D amp ei fie i RETL Ox4a a 2 Schaltungt 7ESTART ER Schaltungt 78 BCF STATUS RPO BANK 0 Ge
70. Sie k nnen entweder mit der bisher verwendeten Datei fortfahren oder GS3 ffnen Achten Sie darauf dass die Oberste Kupferlage ausgew hlt ist bevor Sie beginnen Die Oberste Kupferlage sollte auf der Registerkarte Lagen der Entwurf Toolbox rot hervorgehoben sein Tipp Dr cken Sie bei Bedarf zum Einblenden des gesamten Plans die Taste lt F7 gt Um eine Leiterbahn manuell anzuordnen f hren Sie die folgenden Schritte aus 1 W hlen Sie Platzieren Linie Tipp Mit diesem Men punkt wird eine Linie auf einer beliebigen Lage erzeugt Die Art der Linie ist je nach ausgew hlter Lage unterschiedlich Wenn die ausgew hlte Lage zum Beispiel die Siebdrucklage ist wird damit auf der gedruckten Leiterplatte eine Linie erzeugt Bei einer Kupferlage wird mit dieser Option eine leitende Verbindung hergestellt National Instruments Corporation 3 15 Erste Schritte mit NI Circuit Design Suite Kapitel 3 Einf hrung in Ultiboard 2 Suchen Sie links auf der Leiterplatte nach J3 Finden Sie heraus wo sich der unten gezeigte Start Anschlussstift befindet 1 Bauteil J3 2 Start Anschlussstift ug Tipp Bei Schwierigkeiten mit dem Auffinden des Bauelements nutzen Sie die Suchfunk tion auf der Registerkarte Bauteile Wahlen Sie ein Bauelement auf der Registerkarte Bauteile aus und klicken Sie dann die Schaltfl che Bauteil suchen und ausw hlen an Das Bauelement wird im Arbeitsbereich angezeigt Bei Bedarf k nnen Sie
71. m 1 Ei ws lt E Hierarchie Sichtbarkeit Pre gt R schakungi getna tytedz x i a ej Gel Ey K Be Pe Be ee FafBez Blatt Abschnitt Absschnittsname Famile wert Tokrane Herstdlsr Footprint Beschretung East wc Get n POWER _ SW cs Gettin POWER vec y neuen PT gt Ergebnisse Netze Byjskmcntc Lagen auf der Laitdrplekte Senulstion O 1 Men leiste 5 Ansicht Symbolleiste 8 Liste verwendeter 10 Text rollen links rechts 2 Entwurf Toolbox 6 Simulations Bauelemente 11 Schaltungsfenster 3 Bauelemente Symbolleiste 9 Instrumenten 12 Tabellen Ansicht Symbolleiste 7 Haupt Symbolleiste Symbolleiste 13 Aktive Registerkarte Standard Symbolleiste Die Meniileiste enth lt die Befehle f r s mtliche Funktionen Die Entwurf Toolbox erm glicht die Suche nach den verschiedenen Dateien eines Projekts z B Schaltplandateien Leiterplattenlayoutdateien oder Berichten die Anzeige einer Schaltplanhierarchie und das Ein und Ausblenden verschiedener Lagen Erste Schritte mit NI Circuit Design Suite 2 2 ni com Kapitel 2 Einf hrung in Multisim Die Bauelemente Symbolleiste enth lt Schaltfl chen zur Auswahl von Bauelementen aus den Multisim Bauelementedatenbanken zum Platzieren in Schaltungen Die Standard Symbolleiste enth lt Schaltfl chen f r die meistverwende ten Funktionen wie Speichern
72. 1800 300 800 43 662 457990 0 31 0 348 433 466 800 433 3488 82 02 3451 3400 1800 226 5886 41 56 2005151 46 O 8 587 895 00 3491 640 0085 386 3 425 42 00 662 278 6777 886 02 2377 2222 8621 5050 9800 420 224 235 774 45 45 76 26 00 4989 7413130 90 212 279 3031 0800 553 322 47 0 66 90 76 60 358 0 9 725 72511 0157 66 24 24 32 0 2 757 0020 55 11 3262 3599 48 22 3390150 351 210 311 210 1800 887710 27 0 11 805 8197 01 800 010 0793 961 O 1 33 28 28 7 495 783 6851 ni com Jp Info Code feedback
73. CMD_BUFFER EQU Ox22 10 REF_BUFFER EQU 0x24 11 12 T 1 ADDR INDEX EOU Ox25 1 ss Getting Started MCU main asm E Figu 1 Mulfisim LCD Microchip Microchip 1st Multisim
74. Electronics Design Automation Multisim PCB National Instruments Corporation 2 1 NI Circuit Design Suite 2 Multisim Multisim 5 ME Y OPS7AL Kay Space ev EELEE ELEL CE ENTE 1 fe fa a hi Fe me BEY guga thb WCC Getin vec Gettin Fri POWER_ N POWER N La c al Se PET gt 1 5 8 11 2 6 9 12 3 7 10
75. Zum Festlegen der Au enkontur der Platine gibt es folgende M glichkeiten e Durch Ziehen eines Umrisses mit den Zeichenwerkzeugen e Durch Importieren einer DXF Datei Durch Nutzung des Leiterplatten Wizards 3 4 ni com Kapitel 3 Einf hrung in Ultiboard Um mit dem Leiterplatten Wizard zu arbeiten f hren Sie die folgenden Schritte aus 1 Klicken Sie auf der Registerkarte Lagen doppelt auf Board Outline 2 Klicken Sie auf den vorhandenen Leiterplattenumriss im GS1 Entwurf und dann auf lt Entf gt 3 W hlen Sie Extras Leiterplatten Wizard Leiterplatten Wizard Leiterplatten Technologie Lagentechnologie ndern Hierdurch k nnen DRC Fehler entstehen wenn Durchkontaktierungen oder Bauteile bereits vorhanden sind auf Entwurf und Kupferfl chen die auf zu entfernenden Lagen platziert wurde werden gel scht Technologien Citroen re 4 Aktivieren Sie die Option Lagentechnologie ndern um zu den ande ren Optionen zu gelangen 5 W hlen Sie Mehrere Lagen mit doppelseitigen Leiterplatten und Einzellagenstapeln und klicken Sie auf Weiter National Instruments Corporation 3 5 Erste Schritte mit NI Circuit Design Suite Kapitel 3 Einf hrung in Ultiboard 6 Das nachfolgende Dialogfeld erm glicht es Ihnen berschichtungs einstellungen f r die Platine vorzunehmen Bei dieser bung wird jedoch keine der Einstellungen ver ndert Leiterplatten Wizard Lei
76. amp r amp 100 10k iM 100M Frequenz Hz Gew hlte Leiterbahn analog_out Die Graphanzeige In der Graphanzeige k nnen Sie Diagramme und Tabellen anzeigen las sen modifizieren speichern und exportieren In diesem Fenster werden die Ergebnisse aller Multisim Analysen in Graphen und Diagrammen oder Kurvengraphen dargestellt wie bei einem Oszillographen Zur Anzeige der Simulationsergebnisse in der Graphanzeige 1 Starten Sie die Simulation wie oben beschrieben 2 W hlen Sie Ansicht Graphanzeige National Instruments Corporation 2 17 Erste Schritte mit NI Circuit Design Suite Kapitel 2 Einf hrung in Multisim Datei Bearbeiten Ansicht Extras DEHER HEH AQGaGevds B Alle AC Frequenzanalyse Oszilloskop xSC1 Getting Started Final o 500 0m On g a cp 500 0m a A al_A ae 15 0 4 0m 12 0m 16 0m 20 0m Gew hlte Leiterbahn Kanal A Der Postprozessor Im Postprozessor k nnen Sie die Ergebnisse einer Schaltungsanalyse bearbeiten oder in Form eines Diagramms oder Graphen darstellen Auf die Ergebnisse k nnen arithmetische trigonometrische logarithmische kom plexe logische sowie Exponential und Vektorfunktionen angewandt werden Berichte In Multisim k nnen unterschiedliche Arten von Berichten erzeugt werden St cklisten BOMs Einzelheiten zu Bauelementen Netzlisten Schalt planstatistiken Auflistungen
77. gt R3 50k0 1kHz SIKO Key A Deg 5 After you place the AC voltage signal source double click on it Change the Voltage Pk to 0 2 V and click OK to close the dialog Getting Started with NI Circuit Design Suite 2 8 ni com Chapter 2 Multisim Tutorial 7 Place the parts in the Bypass Capacitors section as shown below vcc VCC Tv sv C2 C3 Ea iur Pot GND 1 1uF POL T 8 Place the header and associated parts as shown below Tip J3 is in the Basic Group Connectors Family 9 Tip Once you have wired a circuit you can drop two pinned components like resistors directly onto a wire The connection is automatically made by Multisim Wiring the Circuit All components have pins that you use to wire them to other components or instruments As soon as your cursor is over a pin Multisim knows you want to wire and the pointer changes to a crosshair Tip You can wire the circuit that you placed on the workspace or you can use Getting Started 1 ms10 from the Getting Started folder found inside the samples folder wg National Instruments Corporation 2 9 Getting Started with NI Circuit Design Suite Chapter 2 Multisim Tutorial Complete the following steps to wire the circuit 1 Click on a pin on a component to start the connection your pointer turns into a crosshair and move the mouse A wire appears attached to your cursor 2 Click on a pin on t
78. 3 14 Fe UL A CE S BSR EEE 3 17 Baro ae MEY Rennen C EAE 3 17 EE toT BNE Le a E E E Ne 3 18 FIRE El SHER RAE a T E E nee 3 19 National Instruments Corporation vii NI Circuit Design Suite NE ELDER Eee ore EE eT Ce 3 20 SR 3 20 RAN IE NG Se REED 3 21 FFANZLIAN MT ansehe le 3 21 BBN OD C I 3 22 4 Multisim MCU ER 4 1 OWEN 4 2 EA Ae FNE I NER NE ae 4 4 TES Te ne energie 4 4 HRP 45 TAARBEOD SFA IO ZB TFT D ann 4 6 MCU TINI A ERE ZEN Da ar Ser 4 7 Fd NF Pe On E ae enden 4 7 ZEIT ZFZENT Brenn 4 10 DIN IC ATI Z iani anan es nite hae aia gla ei aha le aetna A 4 1 I YT LSC NSS ee ee 4 13 EE 4 13 IU IR LIE HE ke ec Se ta a 4 13 4 13 A NI Circuit Design Suite viii ni com jp NI Circuit Design Suite NI Circuit Design Suite NI Circuit Design Suite
79. Switches M eos Crystals Oscillators M Hoe Relays MI TAH Power Rectifiers v j v lt gt lt gt show subtree contents 4 Click OK The Get a part from the database dialog box disappears and you are prompted to enter the RefDes and Value 5 Enter the hole s reference designator H1 and value HOLE and click OK 6 Move the pointer over the board The part is attached to the pointer National Instruments Corporation 3 11 Getting Started with NI Circuit Design Suite Chapter 3 Ultiboard Tutorial 7 When the hole is in position in the top left corner click to drop it on the board 8 The Enter Reference Designation for Part dialog box reappears with the reference designator automatically incremented to H2 9 Enter the value HOLE and click OK to place the next mounting hole in the top right corner and repeat to place H3 in the bottom right corner and H4 in the bottom left corner 10 Click Cancel to stop and click Cancel again to close the Get a part from the database dialog box Moving Parts You can use the same methods for moving parts as you do for placing them To select a part already on the board simply click on it To specify the X Y coordinates to which the selected part is to move press the key on the numeric keypad Alternatively in the Parts tab select a placed part indicated by a bright green light beside it and drag it to a new location Getting Started with NI Circuit
80. Technische Ressourcen Diese Website bietet Ihnen Soforthilfe bei Fragen und Problemen Au erdem finden Sie hier Treiber Updates eine umfassende Wissensdatenbank KnowledgeBase Bedienungsanleitungen Anleitungen zur Probleml sung Tausende Beispielprogramme autodidaktische Kurse und Appli cation Notes Registrierte Nutzer k nnen sich auch an den Diskussionsforen auf ni com forums englisch beteiligen Jede im Forum eingereichte Frage wird garantiert beantwortet Standard Service Program Teilnehmer dieses Programms k nnen sich telefonisch oder per E Mail direkt mit unseren Appli kationsingenieuren in Verbindung setzen und jederzeit die Schulungseinheiten im Services Resource Center nutzen Beim Erwerb eines Produkts von National Instruments sind Sie auto matisch ein Jahr lang zur Teilnahme am Standard Service Program berechtigt Danach ist die Mitgliedschaft kostenpflichtig Welche Art der technischen Unterst tzung es in Ihrer N he gibt erfahren Sie unter ni com services d oder bei einer unserer Niederlassungen ni com contact Training und Zertifizierung Auf ni com training d finden Sie Lehrmaterial und Informationen zur Zertifizierung Hier k nnen Sie sich auch f r eine der weltweit angebotenen Software Schulungen anmelden e Systemintegration Wenn Sie aus Zeit oder Personalmangel oder aus anderen Gr nden bei einem Projekt in Verzug geraten k nnen Ihnen die Mitglieder des NI Alliance Programms weiterhelf
81. Ultiboard Mulfisim U1 1 Ul UI IF8 PUltiboard User Manual 2 Ul 7
82. den Betrieb oder die Wartung auf Ver nderungen des Produktes Missbrauch oder Fehlgebrauch des Produktes auf einer Unterbrechung der Energieversorgung Feuer Wassersch den Unf lle Handlungen Dritter oder anderen Geschehnissen die nicht im Verantwortungsbereich von National Instruments liegen beruhen Urheberrechte Gem den Bestimmungen des Urheberrechts darf diese Publikation ohne vorherige schriftliche Zustimmung der Firma National Instruments Corporation weder vollst ndig noch teilweise vervielf ltigt oder verbreitet werden gleich in welcher Form ob elektronisch oder mechanisch Das Verbot erfasst u a das Fotokopieren das Aufzeichnen das Speichern von Informationen in Retrieval Systemen sowie das Anfertigen von bersetzungen gleich welcher Art National Instruments achtet das geistige Eigentum anderer und fordert seine Nutzer auf dies ebenso zu tun Die Software von National Instruments ist urheberrechtlich und durch andere Rechtsvorschriften zum Schutz geistigen Eigentums gesch tzt Wenn Sie NI Software nutzen um Software oder andere Materialien die im Eigentum Dritter stehen zu vervielf ltigen d rfen Sie NI Software nur insoweit nutzen als Sie die betreffenden Materialien nach den jeweils anwendbaren Lizenzbestimmungen oder Rechtsvorschriften vervielf ltigen d rfen BSIM3 and BSIM4 are developed by the Device Research Group of the Department of Electrical Engineering and Computer Science University of California Be
83. hlt jedes Bauelement aus und unterlegt es dem Mauszeiger so dass Sie es an der gew nschten Stelle absetzen k nnen Anschlie end wird automatisch das n chste Bauelement aus der Liste ausgew hlt Erste Schritte mit NI Circuit Design Suite 3 10 ni com Kapitel 3 Einf hrung in Ultiboard Einf gen der Bauelemente dieser Einf hrung Die Platine sollte am Schluss der bung so best ckt sein wie in der Abbil dung unten Die genaue Vorgehensweise bleibt Ihnen berlassen Sie k nnen aber auch die Datei GS2 in Ihrem Projekt ffnen die bereits ent sprechend vorbereitet wurde Ihr Entwurf sollte wie folgt aussehen Einf gen von Bauelementen aus der Datenbank Statt Bauelemente und andere Komponenten aus einer Datei zu importie ren k nnen Sie sie auch direkt aus der Datenbank auf die Platine einf gen Im Folgenden wird auf diese Weise eine Montagebohrung vorgenommen Um die Komponente aus der Datenbank einzuf gen f hren Sie die folgen den Schritte aus 1 W hlen Sie Platzieren Aus Datenbank Es erscheint das Dialogfeld p Bauelement aus Datenbank abrufen 2 Erweitern Sie unter Datenbank in der Ultiboard Hauptdatenbank die Kategorie Through Hole Technology Parts und wechseln Sie zur National Instruments Corporation 3 11 Erste Schritte mit NI Circuit Design Suite Kapitel 3 Einf hrung in Ultiboard Kategorie Holes Daraufhin werden unter Verf gbare Bauelemente alle Bohrlochtypen angezeigt
84. in das Feld Taste f r Schalter f r J1 E ein f r J2 L und f r R2 A Bet tigen Sie lt E gt um den Z hler zu aktivieren oder klicken Sie auf die verbreiterte Linie die erscheint wenn sich der Cursor ber J1 befindet National Instruments Corporation 2 13 Erste Schritte mit NI Circuit Design Suite Kapitel 2 Einf hrung in Multisim 2 Um einen Oszillographen einzuf gen w hlen Sie Simulieren Instrumente Oszillograph Verbinden Sie das Ger t wie im Schritt 4 dargestellt mit der restlichen Schaltung 9 Tipp Um einfach zwischen den Kurven auf dem Oszillographen zu unterscheiden klicken Sie die Leitung die zum Eingang B des Ger ts f hrt mit der rechten Maustaste an und w hlen Sie aus dem Kontextmen die Option Segment einf rben aus W hlen Sie eine andere Farbe als die tung z B beim n gt 3 der Leitung an Eingang A aus z B Blau Beim Bearbeiten der Schal dern der Leitungsfarbe darf die Simulation nicht laufen Klicken Sie das Symbol fiir den Oszillographen doppelt an um die Vorderseite des Ger ts mit der Anzeige und den Bedienkn pfen einzu blenden Wahlen Sie Simulieren Start Im Oszillographen wird nun das Ausgangssignal des Operationsverst rkers angezeigt Stellen Sie die Skalierung der Zeitbasis auf 2 ms pro Skalenteil und die Empfindlichkeit von Kanal A auf 500 mV pro Skalenteil ein Der Oszillograph zeigt die Kurven dann folgenderma en an
85. scht Um alle L taugen ohne Anschluss an Leiterbahnsegmente oder Kupferfl chen zu l schen klicken Sie bei ge ffnetem Schaltplan auf Entwurf Noch nicht verwendete Durchkontaktierungen l schen Hinzuf gen von Kommentaren Mit Hilfe von Kommentaren k nnen Sie nderungsvorgaben oder bestimmte Hintergrundinformationen an die Ingenieursabteilung bermitteln Sie k nnen einen Kommentar direkt in einen Arbeitsbereich einf gen oder an ein Bauelement anheften Wenn Sie das betreffende Bauelement ver schieben so verschiebt sich der Kommentar ebenfalls Weitere Informationen finden Sie im Benutzerhandbuch zu Ultiboard Erste Schritte mit NI Circuit Design Suite 3 22 ni com Kapitel 3 Einf hrung in Ultiboard Exportieren von Dateien Beim Erstellen einer Ultiboard Exportdatei werden alle Angaben zu einer Platine in einem Format zusammengefasst das durch den Hersteller der Leiterplatte gelesen werden kann Eine exportierte Datei enth lt vollst n dige Informationen dar ber wie eine Leiterplatte anzufertigen ist Zu den exportierbaren Dateien geh ren Gerber RS 274X und RS 274D Dateien Weitere Informationen finden Sie im Benutzerhandbuch zu Ultiboard 3D Ansicht von Entw rfen In Ultiboard kann jederzeit eine dreidimensionale Voransicht Ihrer Leiter platte eingeblendet werden Weitere Informationen finden Sie im Benutzerhandbuch zu Ultiboard 9 Tipp Die Interne Ansicht erm glicht Ihnen einen Blick
86. 49 89 7146035 Fax 43 662 457990 19 Fax 41 56 2005155 Lokaler technischer Support Deutschland ni germany ni com www ni com germany sterreich ni austria ni com www ni com austria Schweiz ni switzerland ni com www ni com switzerland Technischer Support und Produktinformation weltweit ni com National Instruments Corporate Firmenhauptsitz 11500 North Mopac Expressway Austin Texas 78759 3504 USA Tel 001 512 683 0100 Internationale Niederlassungen Australien 1800 300 800 Belgien 32 0 2 757 0020 Brasilien 55 11 3262 3599 China 86 21 5050 9800 D nemark 45 45 76 26 00 Finnland 358 0 9 725 72511 Frankreich 01 57 66 24 24 Gro britannien 44 0 1635 523545 Indien 91 80 41190000 Israel 972 3 6393737 Italien 39 02 41309277 Japan 0120 527196 Kanada 800 433 3488 Korea 82 02 3451 3400 Libanon 961 0 1 33 28 28 Malaysia 1800 887710 Mexiko 01 800 010 0793 Neuseeland 0800 553 322 Niederlande 31 0 348 433 466 Norwegen 47 0 66 90 76 60 Polen 48 223 390150 Portugal 351 210 311 210 Russland 7 495 783 6851 Schweden 46 0 8 587 895 00 Singapur 1800 226 5886 Slowenien 386 3 425 42 00 Spanien 34 91 640 0085 S dafrika 27 0 11 805 8197 Taiwan 886 02 2377 2222 Thailand 662 278 6777 Tschechische Republik 420 224 235 774 T rkei 90 212 279 3031 Weitere Informationen finden Sie im Anhang unter Technische Unterst tzung und professioneller Service F r Kommentare und Anregungen zu unserer Dokumentation geben Sie bitte
87. COMPUTER BETRIEBSSYSTEM FEHLENDER EIGNUNG VON UBERSETZUNGS UND ENTWICKLUNGSSOFTWARE DIE ZUR ENTWICKLUNG EINER ANWENDUNG EINGESETZT WERDEN INSTALLATIONSFEHLERN PROBLEMEN BEI DER SOFTWARE UND HARDWAREKOMPATIBILITAT E FUNKTIONSSTORUNGEN ODER AUSFALL DER ELEKTRONISCHEN UBERWACHUNGS ODER KONTROLLGERATE VORUBERGEHENDEN FEHLERN DER ELEKTRONISCHEN SYSTEME HARDWARE UND ODER SOFTWARE UNVORHERGESEHENEN EINSATZES ODER MISSBRAUCHS ODER FEHLERN DES ANWENDERS ODER DES ANWENDUNGSENTWICKLERS ENTGEGENWIRKENDE FAKTOREN WIE DIESE WERDEN NACHSTEHEND ZUSAMMENFASSEND SYSTEMFEHLER GENANNT BEEINTRACHTIGT WERDEN JEDE ANWENDUNG BEI DER EIN SYSTEMFEHLER EIN RISIKO FUR SACHWERTE ODER PERSONEN DARSTELLT EINSCHLIESSLICH DER GEFAHR KORPERLICHER SCHADEN UND TOD SOLLTE AUFGRUND DER GEFAHR VON SYSTEMFEHLERN NICHT LEDIGLICH AUF EINE FORM VON ELEKTRONISCHEM SYSTEM GESTUTZT WERDEN UM SCHADEN UND U U TODLICHE VERLETZUNGEN ZU VERMEIDEN SOLLTE DER NUTZER ODER ANWENDUNGSENTWICKLER ANGEMESSENE SICHERHEITSMASSNAHMEN ERGREIFEN UM SYSTEMFEHLERN VORZUBEUGEN HIERZU GEHOREN UNTER ANDEREM SICHERUNGS ODER ABSCHALTMECHANISMEN DA JEDES ENDNUTZERSYSTEM DEN KUNDENBEDURFNISSEN ANGEPASST IST UND SICH VON DEM TESTUMFELD UNTERSCHEIDET UND DA EIN NUTZER ODER ANWENDUNGSENTWICKLER SOFTWAREPRODUKTE VON NATIONAL INSTRUMENTS IN VERBINDUNG MIT ANDEREN PRODUKTEN IN EINER VON NATIONAL INSTRUMENTS NICHT GETESTETEN ODER VORHERGESEHENEN FORM EINSETZEN KANN TRAGT DER NUTZER BZW DER ANWENDUNGS
88. Digital Counter 74LS47H eee ee ee 74LS190H i Getting Started Final al gt Offnen und Speichern der Datei Um Multisim zu starten f hren Sie die folgenden Schritte aus 1 W hlen Sie Start Programme National Instruments Circuit Design Suite 10 1 Multisim 10 1 Es ffnet sich eine leere Datei im Arbeitsbereich namens Schaltungl National Instruments Corporation 2 5 Erste Schritte mit NI Circuit Design Suite Kapitel 2 Einf hrung in Multisim So speichern Sie die Datei unter einem anderen Namen 1 W hlen Sie Datei Speichern unter Es ffnet sich das Windows Dia logfeld zum Speichern von Dateien 2 W hlen Sie einen Speicherort f r die Datei aus Geben Sie anschlie Bend als Dateinamen MeineErstenSchritte ein und klicken Sie auf die Schaltfl che Speichern a Tipp Um versehentlichem Datenverlust vorzubeugen sollten Sie ber die Registerkarte Speichern des Dialogfelds Voreinstellungen regelm ig Sicherheitskopien erstellen Um eine vorhandene Datei zu ffnen f hren Sie die folgenden Schritte aus 1 W hlen Sie Datei Datei ffnen w hlen Sie eine Datei aus und klicken Sie auf die Schaltfl che ffnen Tipp Zum ffnen von Dateien aus lteren Multisim Versionen w hlen Sie im Dialogfeld Datei ffnen unter Dateityp die entsprechende Version aus Einf gen der Bauelemente Um Bauelemente ein
89. Drucken Ausschneiden oder Einf gen Die Ansicht Symbolleiste enth lt Schaltfl chen zur Ver nderung der Bildschirmanzeige Die Simulations Symbolleiste enth lt Schaltf chen zum Start Stopp und andere Simulationsfunktionen Die Haupt Symbolleiste enth lt Schaltfl chen f r allgemeine Multisim Funktionen Die Liste verwendeter Bauelemente enth lt eine Liste aller im Entwurf verwendeter Bauelemente Die Instrumenten Symbolleiste enth lt Schaltfl chen f r jedes Instrument Im Schaltungsfenster das auch als Arbeitsbereich bezeichnet wird wird der Schaltplan gezeichnet Die Tabellen Ansicht erm glicht die Anzeige von Parametern und Bau elementeinformationen wie Platzbedarfsinformationen Referenz bezeichnungen Attribute und Entwurfsregeln Sie k nnen die Parameter werte f r einige oder alle Bauelemente in einem einzigen Schritt ndern und weitere Funktionen verwenden National Instruments Corporation 2 3 Erste Schritte mit NI Circuit Design Suite Kapitel 2 Einf hrung in Multisim berblick In diesem Dokument werden alle Aspekte der Erstellung einer technischen Schaltung vom Erstellen eines Schaltplans ber die Simulation der Schal tung bis hin zur Analyse der Ergebnisse beleuchtet Nach dem Abarbeiten der beschriebenen Schritte erstellen Sie eine Schaltung mit der ein analo ges Kleinsignal erfasst und verst rkt wird und dessen Auftreten mit einem einfachen digitalen Z hler ermittelt wird
90. Erste Schritte mit NI Circuit Design Suite Kapitel 4 Einf hrung in Multisim MCU Es ffnet sich eine weitere Registerkarte im Arbeitsbereich der Schal tungserfassung namens Debug MCU Referenzbezeichner in diesem Fall Debug U1 Quelldatei Debug Auflistung main asm Projektzerlegung project Quelldatei Debug Auflistung main asm 1 include p16f84a inc gt This includes PIC16F84A 2 je 3 Controlling a Toshiba T6963C controller based graph 4 5 errorlevel 302 6 7 DATA BUFFER EQU 0x20 8 DATA BUFFERZ EQU Ox21 9 CMD_BUFFER EQU Ox22 10 REF_BUFFER EQU 0x24 11 12 1 ADDR INDEX Eou 0x25 s Schaltungi E Getting Started MCU Bl man asm Debua U1 1 Drop down Liste In der Dropdown Liste im oberen Bereich der Debug Auflistung vgl Abbildung k nnen Sie zwischen den intern von Multisim erzeugten Disas sembly Anweisungen und der vom Assembler oder Compiler erzeugten Auflistungsdatei umschalten Das Format der Auflistungsdatei richtet sich nach dem Tool mit dem Sie die Programmdatei erzeugt haben Im Beispiel der LCD Grafikanzeige wurde der Programmcode in Assem bler geschrieben und mithilfe der Mikrochip Assembly Tools in eine Programmdatei umgewandelt Der Mikrochip Assembler erzeugt eine Auflistungsdatei 1st mit allen Opcodes die f r jede Assembly Anweisung erzeugt w
91. F Oszilloskop XSC1 lt Hg om 859 T2 bis T1 Zeitbasis Kanal A Skalierung 2 ms Div Skalierung X Position 0 Y Position v YIT Hinzuf gen Bia as CAED Gleichspannuna ac io Gleichspannung GC Typ Einzeln Normal Automatisch Keine T Kanal_B 740 846 my ERW Trigger Kanal B Trigger 500 mWiDiv Skalierung 5 WiDiv Signalflanke F _ 5 0 Position 0 Pegel 0 Erste Schritte mit NI Circuit Design Suite 2 14 ni com Kapitel 2 Einf hrung in Multisim W hrend der Simulation der Schaltung z hlt die 7 Segment Anzeige aufw rts Wenn der Z hler einmal durchgez hlt hat leuchtet eine LED auf 5 Dr cken Sie w hrend der Simulation die Taste lt E gt um den Z hler zu aktivieren oder zu deaktivieren Das Starten ist low aktiv Mit L wird der Z hler auf Null gestellt Das Zur ckstellen ist ebenfalls low aktiv Dr cken Sie lt Shift A gt und beobachten Sie was beim Drehen am Potentiometer geschieht Wiederholen Sie das Ganze aber dr cken Sie diesmal nur lt A gt 9 Tipp Statt mit den genannten Tasten k nnen Sie die Bauelemente auch mit der Maus bedienen National Instruments Corporation 2 15 Erste Schritte mit NI Circuit Design Suite Kapitel 2 Einf hrung in Multisim Analyse In diesem Abschnitt f hren Sie an Ihrer Schaltung eine AC Analyse durch um den Frequenzgang des Verst rkers zu berpr fen So f hren Sie eine AC Analyse am Ausgang des
92. GND vi El m R3 0 2Vpk 21kQ 50kKQ 50 Vcc_ vec 1kHz 5 Key Space 5V BV 0Deg Y A u1 LED1 Counter Control x VCC R1 5V J1 ae LIIIIII Ry U2 U3 RPACK7 1800 Ne TTT Key Space a we a aa at eH F D w fp ars ETEN Ea LT oF a RCO ee Bure li ey Space GNI 74LS47N 74HC190N_4V Simulation Simulating your circuits with Multisim catches errors early in the design flow saving time and money Virtual Instrumentation In this section you will simulate the circuit with the virtual oscilloscope Tip You can also use Getting Started 2 ms10 from the Getting Started folder found inside the samples folder 1 Jl J2 and R2 are interactive components Set up the interactive keys for J1 J2 and R2 by double clicking on each In the Key field enter E for J1 L for J2 and A for R2 Press E to enable the counter or just click on the widened switch arm that appears when you hover the cursor over J1 2 Select Simulate Instruments Oscilloscope to place the oscilloscope on the workspace Wire the instrument as shown in step 4 Getting Started with NI Circuit Design Suite 2 12 ni com ag Chapter 2 Multisim Tutorial Tip To easily differentiate between traces on the oscilloscope right click on the wire connected to the scope s B input and select Segment Color from the pop up Select a color that differs from the wire connected to the A input for example blue Simulation cannot
93. REF_BUFFER EQU 0x24 ADDR_INDEX EQU 0x25 STARTING ADDRESS IN EEPROM ADDR L EQU 0x26 STARTING ADDRESS L ADDR H EQU 0x27 STARTING ADDRESS H COUNTER_INDEX EQU 0x29 COUNTER BIT_INDEX EQU Ox2A BIT INDEX CMD_SET_CURSOR EQU 21H SET CURSOR CMD_TXHOME EQU 40H SET TXT HM ADD CMD TXAREA EQU 41H SET TXT AREA CMD_GRHOME EQU 42H SET GR HM ADD CMD_GRAREA EQU 43H SET GR AREA CMD OFFSET EQU 22H SET OFFSET ADD CHD_ADPSET EQU 24H SET ADD PTR CMD SETDATA INC EQU OCOH WRITE DATA AND INCREASE ADP CHD ARON EQU OBOH SET AUTO WRITE MODE CMD_AWROFF EQU OBZH RESET AUTO WRITE MODE LCD PIC W Rgrrw W 1 RETURN TXPRT LCD LCD T6963C
94. be running when changing wire color or performing any other editing function Double click on the scope s icon to show the instrument face Select Simulate Run The output of the opamp appears on the scope Adjust the Timebase to 2mS Div and Channel A s Scale to 500mV Div You will see the following displayed on the scope Oscilloscope XSC1 Time Channel_A Channel_B 72 021 ms 25 860 my 787 719 mV Ext Trigger Save Timebase Channel A Channel B Trigger Scale 2 ms Div Scale 500 mWiDiv Scale 5 VIDiv j Edge F 2 X position 0 Y position 0 Y position 0 Level 0 y me BAJE res National Instruments Corporation As the circuit simulates the 7 segment display counts up and the LED flashes at the end of each count cycle Press E on your keyboard while the simulation is running to enable or disable the counter Enable is Active Low Press L to load zeros into the counter Load is Active Low Press Shift A to observe the effect of changing the potentiometer s setting Repeat pressing A Tip Instead of pressing the above mentioned keys you can directly manipulate the interactive components on the schematic with your mouse 2 13 Getting Started with NI Circuit Design Suite Chapter 2 Multisim Tutorial Analysis In this section you will use AC Analysis to verify the frequency response of the amplifier Complete the following
95. bottoms of H3 and H4 and the left sides of Hl and H4 Placing Traces You have the following options for placing traces e Manual trace e Follow me trace e Connection machine trace A manual trace is placed exactly as you specify even running through a component or trace if that is the path you set out A follow me trace automatically draws a legal trace between the pins you select with your National Instruments Corporation 3 13 Getting Started with NI Circuit Design Suite Chapter 3 Ultiboard Tutorial mouse movements you can move from pin to pin leaving a legal trace A connection machine trace automatically joins two pins by the most efficient route though you have the option of changing it As you place a trace and before you click to fix it in place you can always remove a segment by backing up over it Each time you click while placing a manual trace or each time a follow me trace or connection machine trace changes direction a separate segment of that trace is created When performing operations on traces be sure to select either the appropriate segment or if you wish the whole trace Placing a Manual Trace You can continue with the design you have been working on or open GS3 Be sure you are on the Copper Top layer before beginning Copper Top should be highlighted in red in the Layers tab of the Design Toolbox ag Tip If necessary press F7 to show the whole design Complete the following step
96. cs2 i G53 dr 654 dr css gt TF ss TF 652 44 653 TF G54 TF ass IE F Kj Z zu a G k EKSE amp A 3 amp im 09595 BB era rey ER IRRE 0 0000 0 0000 CO Si c2 10nF KE 0 0000 0 0000 WOR Bu e c3 10 El 0 0000 0 0000 Hi n SPDT SW UWI 10 0000 0 0000 Ba v pRC 9 serve THE EP PCB mil 5 es1 DXF b
97. des Mikrocontroller Speichers Klicken Sie in der Werkzeugleiste Simulation auf die Schaltfl che Einzelschritt in den Funktionsaufruf hinein 4 13 Erste Schritte mit NI Circuit Design Suite Kapitel 4 Einf hrung in Multisim MCU 7 Die aktuelle Anweisung wird ausgef hrt und die Simulation bei der n chsten Anweisung unterbrochen a 8 W hlen Sie Simulieren Stopp Unterbrechen und aus Funktion herausspringen 1 F gen Sie in die SEND_DATA Subroutine unter MOVWF PORTB einen Haltepunkt ein 2 W hlen Sie Simulieren Start Die Simulation wird am Haltepunkt unterbrochen 3 Klicken Sie die Schaltfl che Aus Funktion herausspringen in der Werkzeugleiste Simulation um die SEND_DATA Subroutine zu verlassen Iml 4 Es werden alle verbleibenden Anweisungen in der SEND_DATA Sub routine ausgef hrt und bei der ersten Anweisung nach SEND_DATA wird die Simulation unterbrochen Unterbrechen und in Funktion hineinspringen I 1 W hlen Sie MCU Entferne alle Haltepunkte 2 Setzen Sie vor den Aufruf von SEND_DATA einen Haltpunkt also dort wo Sie soeben ber dem gelben Pfeil herausgesprungen sind 3 W hlen Sie Simulieren Ausf hren Die Simulation wird dort unter d brochen wo Sie soeben den Haltepunkt gesetzt haben Ge 4 Klicken Sie in der Werkzeugleiste Simulation auf die Schaltfl che In Funktion hineinspringen Die Simulation wird daraufhin in der SEND_DATA Subroutine unterbrochen Unterb
98. die folgenden Schritte aus 1 Klicken Sie den Ausgangspunkt f r die Verbindung an der Cursor ver wandelt sich daraufhin in ein Fadenkreuz und bewegen Sie die Maus Daraufhin erscheint unter dem Cursor eine Linie die eine Leiterbahn symbolisieren soll 2 Klicken Sie auf den Anschlussstift des zweiten Bauteils an dem die Verbindung enden soll Multisim erstellt die Verbindungen automa tisch und f gt die Leiterbahn automatisch an der richtigen Stelle und in der richtigen Konfiguration ein wie unten dargestellt Diese Funk tion spart insbesondere beim Verbinden gro er Schaltungen viel Zeit R1 2000 5 SND TAHC190N 4V 3 Die Lage der Leiterbahn kann durch Mausklicks bestimmt werden Bei jedem Klick wird die Leiterbahn an der entsprechenden Stelle fixiert National Instruments Corporation 2 11 Erste Schritte mit NI Circuit Design Suite Kapitel 2 Einf hrung in Multisim 4 Verbinden Sie die restlichen Bauteile f r den Z hlerbaustein entspre chend der Darstellung VCC VCC 74LS47N oN 74HC190N_4V Tipp Verbinden Sie Elemente mit mehreren Anschlussstiften wie U3 und R4 in einer Busleitung mit Hilfe von Bus Vektorverbindungen Einzelheiten dazu entnehmen Sie bitte dem Multisim Benutzerhandbuch Tipp Virtuelle Verdrahtung Damit die Verbindung nicht zu un bersichtlich wird k nnen Sie zwischen den Abschnitten Counter Control und Digital Counter virtuel
99. for each instruction that are being executed by the MCU The source code view is not capable of displaying all this extra information Instead each MCU component in the circuit design has its own Debug View that displays debugging information Complete the following steps to access the Debug View 1 Select MCU MCU PIC 16F84A U1 Build Note The Debug View is available only after you have successfully built your code so the preceding step is only necessary once 2 Select MCU MCU PIC 16F84A U1 Debug View Or Use the right click context menu on an item in the MCU workspace of the Design Toolbox all 74 RETLW Ox4c 75 RETLW Ox4c Dede a es bw 76 2 Circuit 7ISTART RT Circuit1 78 BCF E Getting Started MCU 79 CLRF F By Getting Started MCU 80 CLRF F 2 21 LCDWorkspace 81 project1 82 BSF main srm 83 MOVELW El Getting Started Remove MCU Source File 84 MOVUF MCU Code Manager BS HOVLW c Debug view a G HTa 1 Memory View 87 HOVLY c Buld 58 MOVWF 1 Another tab opens in the schematic capture workspace called Debug lt reference designator of MCU gt in this case Debug U1 Getting Started with NI Circuit Design Suite 4 8 ni com Chapter 4 Multisim MCU Tutorial Source file debug listing main asm Project disassembly projectil Source file debug listing main asm 1 include p16f84
100. gt 612 00192 MOVUF PORTB 613 00193 MOVLW OxOa 1010 7 614 00194 MOVUF PORTA 615 00195 BSF PORTA 2 616 00196 RETURN PC 0193 617 618 SEND_CHD ROM nn ml 02 EA 619 00197 CALL SET_PORT_B_OUTPUT Bel 2234 0000 0000 loo 620 00198 MIOVF CMD BUFFER O output cr 621 00199 MOVUF PORTB EEE 0000 0000 0000 00 622 00192 MOVLW OxOB 10111 0010 0782 3427 3452 34 623 0019B MOYUF PORTA 0018 3441 344C 3400 34 624 0019C BSF PORTA 2 0020 3416 3419 3416 34 625 0019D RETURN a In ee Ina 626 5 MCU gt MCU PIC16F84A UI gt U1 IROM pc 1 192 PC 193 TF AE MCU
101. indem Sie Automatische Leiterbahnf hrung Start Optimierung ausw hlen Sie k nnen die automatische Leiterbahnf hrung jederzeit anhalten und manuelle nderungen vornehmen Bei erneutem Start der automatischen Leiterbahnf hrung f hrt die Funktion an der letzten Stelle fort Alle manu ell verlegten Leiterbahnen m ssen fixiert werden damit sie nicht durch die Automatik verschoben werden National Instruments Corporation 3 21 Erste Schritte mit NI Circuit Design Suite Kapitel 3 Einf hrung in Ultiboard Tipp Die Einstellungen zum automatischen Best cken mit Bauelementen und zur auto matischen Leiterbahnf hrung befinden sich in den Leiterbahnf hrungsoptionen Einzelheiten dazu finden Sie im Benutzerhandbuch zu Ultiboard Vorbereitung f r Herstellung und Best ckung Ultiboard bietet eine Vielzahl verschiedener Ausgabeformate f r die Pro duktion und Fertigung der Platinen In diesem Abschnitt werden das Fertigen der Platine und Dokumentieren des gefertigten Produkts beschrieben Aufr umen der Leiterplatte Clean Up Bevor Sie die Leiterplatte in die Fertigung schicken sollten Sie alle offenen Leiterbahnenden und nicht genutzten L taugen von der Leiterplatte beseitigen Dies soll nun anhand des Gs4 Entwurf ge bt werden ffnen Sie den Ent wurf und w hlen Sie Bearbeiten L schen Kupferfl che Leiterbahn enden ohne Anschluss Dadurch werden alle nach einer Seite offenen Lei terbahnen aus dem Entwurf gel
102. mouse pointer so you can place it then selects the next one on the list Placing the Tutorial Parts Using any method or combination of methods make your layout look like the illustration below You can also simply open the next design file in the project GS2 which has already been set up this way Your design should look like this Getting Started with NI Circuit Design Suite 3 10 ni com Chapter 3 Ultiboard Tutorial Placing Parts from the Database In addition to placing parts imported as part of your design file you can place parts directly from the database The following uses this method to place the mounting holes Complete the following steps to place parts from the database 1 Choose Place From database The Get a part from the database fe dialog box opens 2 Inthe Database panel expand the Through Hole Technology Parts category and navigate to the Holes category The parts appear in the Available Parts panel 3 Inthe Available Parts panel select the Hole35 part The part displays in the Preview panel Get a part from the database Filter All types v Database Available Parts Preview QRBQ ag Through Hole Technology HOLE3S 1 ide 4603 0 BO3_1 Bridge Rectifiers MI Hee Voltage Regulators M A033 DC DC Converters M Led Displays 185034 Connectors 148036 Batteries amp Sockets M 803_7 Holes E 503s Buzzers W e039 Capacitors M eoo Buttons amp
103. nicht verbundener Gatter oder Querverweise In diesem Abschnitt soll f r den Beispielschaltplan eine St ckliste erstellt werden Erste Schritte mit NI Circuit Design Suite 2 18 ni com Stiickliste amp National Instruments Corporation 2 19 Kapitel 2 Einf hrung in Multisim Eine St ckliste ist eine Aufstellung der Bauelemente die f r eine bestimmte Schaltung und die Herstellung der zugeh rigen Leiterplatte ver wendet werden Sie enth lt folgende Angaben e Die St ckzahl jedes erforderlichen Bauelements e Eine Beschreibung in der der Bauteiltyp z B Widerstand und die Gr e des Bauteils z B 5 1 k enthalten ist e Die Kennung jedes Bauelements e Das Geh use oder den Platzbedarf jedes Bauelements Zum Erstellen einer Stiickliste f r Ihre Schaltung 1 W hlen Sie aus dem Men Berichte die Option St ckliste aus Nun wird die St ckliste ge ffnet die in etwa wie folgt aussieht Ea St cklistenanzeige gt Dokument Getting Started 2 Gehause SEVEN_SEG_DECIMAL_COM_A_BLUE Genericl75EG8 74L5 74L547N IPC 22214 22 016 CAP_ELECTROLIT 1uF IPC 7351 Chip CAP_ELECTROLIT 10nF IPC 7351 Chip CAP_ELECTROLIT 100uF IPC 7351 Chip CONNECTORS HDR1X4 Generic HDR1 gt SWITCH SPDT Generic SPDT LED_blue Ultiboard LED9 RESISTOR 1k 5 POTENTIOMETER 50k RESISTOR 2002 5 IPC 7351 Chip Generic LIN_Pt IPC 7351 Chip RPACK_VARIABLE_2X7 180 Ohm IPC 22218 22 14 gt
104. steps to perform an AC Analysis at the output of the opamp 1 Double click on the wire that is attached to pin 6 of the opamp and change the net name to analog_out in the Net dialog box 2 Select Simulate Analyses AC Analysis and click on the Output tab Yariables in circuit AC Analysis Frequency Parameters Output Analysis Options Summary Selected variables For analysis All variables All variables W 2 v 20 v 21 v 22 v 23 v 24 v7 vi 9 Y analog_out Vtand Vivec gt i gt Edit Expression More Options Filter Unselected Variables Unselected Variables Add Add Expression Fiter selected variables selected variables a Show all device parameters at end Add device model parameter of simulation in the audit trail Delete selected variable LST 3 Highlight v analog_out in the left column and click Add V analog_out moves to the right column Getting Started with NI Circuit Design Suite 2 14 ni com 4 Chapter 2 Multisim Tutorial Click Simulate The results of the analysis appear in the Grapher Grapher View ax File Edit View Tools Oaks AC Analysis 100m u E a bp S a Selected Trace analog_out amp a Getting Started Final AC Analysis A 10k IM 100M Frequency Hz The Grap
105. unten 4 Ultiboard stellt automatisch eine Verbindung zwischen beiden her Q Tipp Statt auf einen Anschlussstift k nnen Sie auch auf die Luftlinie zwischen den Bau elementen klicken Vollautomatisches Verlegen von Leiterbahnen Um eine Vollautomatische Leiterbahn einzuf gen f hren Sie die folgen den Schritte aus 1 W hlen Sie Platzieren Vollautomatisch 2 Klicken Sie die unten dargestellte Luftlinie an 1 Luftlinie anklicken Erste Schritte mit NI Circuit Design Suite 3 18 ni com Kapitel 3 Einf hrung in Ultiboard 3 Beim Bewegen Ihres Cursors schl gt Ultiboard automatisch verschie dene Leiterbahnverl ufe um Hindernisse herum vor 4 Wenn Sie sich f r eine Leiterbahnf hrung entschieden haben fixieren Sie die Leiterbahn durch einen Klick Sie m ssen dazu nicht auf die Luftlinie oder den Endanschlussstift klicken 1 Es erscheinen Leiterbahnsegmente zwischen Anschlussstiften 5 Mit der rechten Maustaste beenden Sie die Leiterbahnplatzierung National Instruments Corporation 3 19 Erste Schritte mit NI Circuit Design Suite Kapitel 3 Einf hrung in Ultiboard Automatische Bauteilplatzierung Neben den bisher beschriebenen M glichkeiten zum Best cken von Plati nen bietet Ultiboard auch eine vollautomatische Bauteilplatzierungs funktion f r fortgeschrittene Benutzer Tipp Vor dem automatischen Best cken der Platine m ssen Sie alle Bauelemente die vom autom
106. 00 0 0000 v lt gt sim orc ape Bun Ne THE SAN gt PcEL SRO Mest 497 9987 Y 905 5167 dx 7 4833 dr 37 4162 L 38 1572 mi T 1 5 8 11 2 6 9 12 3D 3 7 10 13 4 NI Circuit Design Suite 3 2 ni com jp 3 Ultiboard
107. 0x00 Initial the counter MOVUF ADDR_INDEX LOOP READ DATAZ NOVF ADDR INDEX 0 STARTING data ADDRESS CALL TXPRT MOVUF DATA BUFFER LOAD CHAR data TO W CALL ADT INCF ADDR_INDEX 1 MOVF ADDR_INDEX 0 SUBLW DATA NUM 35 chars BTFSS STATUS Z GOTO LOOP_READ_DATAZ MOVLU CMD AWUROFF NOVUF CMD BUFFER CALL CMD Zum Beispiel werden mit dem oben dargestellten Programmabschnitt die mit der TXPRT Subroutine angegebenen Zeichen aus der Hauptschleife an die im Textmodus befindliche LCD Anzeige tibertragen Mit den folgenden Befehlen wird die LCD Anzeige in den Auto Schreib modus umgeschaltet MOVLW CMD_AWRON MOVWF CMD_BUFFER CALL CMD National Instruments Corporation 4 7 Erste Schritte mit NI Circuit Design Suite Kapitel 4 Einf hrung in Multisim MCU An diesem Punkt beginnt das Programm zu z hlen und f hrt die Schleife LOOP_READ_DATA2 35 Mal aus Durch TXPRT ruft die Schleife den Text ab und l dt ihn in das W Register Dann ruft sie die Subroutine ADT auf welche wiederum SEND_DATA aufruft Dadurch werden die Werte im W Register an den Port B gesendet so dass sie an die Datenleitungen der LCD Anzeige bermittelt werden k nnen Nach dem Senden der Daten wird der passende Wert von Port A des Mikrocontrollers an die Steueran schlussstifte der LCD Anzeige bertragen um zu signalisieren dass die Daten gelesen werden k nnen Nach Ausf hrung jeder Subroutine kehrt das Programm wieder an das Ende des
108. A_BUFFER ADT LOAD CHAR data TO U ADDR_INDEX 1 ADDR_INDEX 0 DATA_NUM STATUS 2 LOOP READ DATA2 35 chars a CND_AWROFF CMD BUFFER CMD LCD rxprr LCD MOVLW CMD_AWRON MOVWF CMD_BUFFER CALL CMD NI Circuit Design Suite 46 ni com jp 4 Multisim MCU LOOP_READ_DATA2 35 mrxpRr W LCD B W SEND_DATA apr A LCD
109. Bohrung in der rechten oberen Ecke zu platzieren Fahren Sie so mit H3 in der rechten unteren Ecke und H4 in der linken unteren Ecke fort Erste Schritte mit NI Circuit Design Suite 3 12 ni com Kapitel 3 Einf hrung in Ultiboard 10 Klicken Sie zum Beenden des Vorgangs auf Abbrechen und schlie en Sie das Dialogfeld Bauteil aus Datenbank abrufen indem Sie noch mals auf Abbrechen klicken Bauelemente verschieben Die verschiedenen Vorgehensweisen zum Einf gen von Bauelementen gelten ebenso f r das Verschieben Um ein Bauelement auszuw hlen das sich bereits auf der Leiterplatte befindet m ssen Sie nur darauf klicken Zum Festlegen der Koordinaten an die das Bauteil verschoben werden soll dr cken Sie auf dem Ziffernblock der Tastatur die lt gt Taste Stattdessen k nnen Sie auch auf der Registerkarte Bauteile ein Bauelement auf der Platine ausw hlen durch eine hell leuchtende gr ne LED gekennzeichnet und es an eine andere Stelle ziehen wg Tipp Die Beschriftung von Bauelementen geh rt nicht zum Footprint Beim Markieren eines Bauelements auf der Leiterplatte m ssen Sie daher aufpassen dass Sie das gesamte Bauelement markieren und nicht nur die Beschriftung Um diesen Vorgang zu erleichten k nnen Sie den Auswahlfilter zu Hilfe nehmen Einzelheiten dazu finden Sie im Benut zerhandbuch zu Ultiboard National Instruments Corporation 3 13 Erste Schritte mit NI Circuit Design Suite Kapitel 3 Einf hrung in Ultibo
110. CAD operations and prepare them for manufacturing It also provides automated parts placement and layout Ultiboard s user interface is made up of several elements National Instruments Corporation 3 1 Getting Started with NI Circuit Design Suite Chapter 3 Ultiboard Tutorial CI ECI EL KS23 3 tomatic 10 0000 ml mi v F LL i le m por Botton Keepiryout Layer Board Outing ee Frolects Layers 02 EL sl G54 ss 65 z Ga Ge SB Gh 2 Bi ES Ry A ah m Ret Vale locked Tracs Ceerence Part Specng Pin Swep Smapif e ci juF 0 0000 0 0000 Mo K 10nF 0 0000 0 0000 N z c 100 0 0000 0 0000 No ho Swarr w lt gt Resis DRC pats PatGroups Nets Met Groups SMT Pads THT Pads Mes Copper Areds Keep ins Meep outs PCB Layers Parts Posbon Stetistics x 2594 2291 Y 299 6966 dx 161 6031 or ak L 214 7300 mi AR fen 9 1 Menu Bar 5 View Toolbar 8 Status Bar 11 Design Toolbox 2 Standard Toolbar 6 Main Toolbar 9 Workspace 12 3D Preview 3 Select Toolbar 7 Autoroute Toolbar 10 Spreadsheet View 13 Birds Eye View 4 Draw Settings Toolbar The Menu Bar is where you find commands for all functions The Standard toolbar contains buttons for commonly performed functions such as Save Print Cut and Paste As you add more parts and traces to a board it can become difficult to select only those which you want t
111. CDWorkspace as required The LCD Graphical Display circuit example demonstrates the use of a PIC microcontroller to control a graphical LCD display component in Multisim based on a combination of the Toshiba T6963C controller and an external display RAM To control the LCD display the microcontroller sends signals to the LCD through the LCD s data and control lines A software program written for the microcontroller determines the logic behind setting the lines on its pins to high or low to send commands and data to the LCD display National Instruments Corporation 4 1 Getting Started with NI Circuit Design Suite Chapter 4 Multisim MCU Tutorial GRAPH_LCD_M Ral RAZ RA RAATOCKI MCLR OSCICLKIN PIC16F84A About the Tutorial The data lines of LCD U2 are connected to pins RBO RB7 on microcontroller U1 The control lines of the LCD are connected to RA0 RA2 on the microcontroller The MCU U1 communicates with the LCD U2 via these wires Data is sent to U2 in parallel and signals on the control lines determine the timing and type of data being sent i e address or data The LCD Graphical Display can operate in three modes text mode graphical mode and a combination text and graphical mode This example demonstrates the controlling of the LCD Graphical Display in a combination text and graphical mode The software that the MCU runs is contained in an MCU workspace that displays in the Design Toolbox a
112. Design Suite 2 12 ni com jp 2 Multisim 2 4 B A E m WV 4 2MS Div A 500mV Div b 3
113. Design Suite 3 12 ni com Chapter 3 Ultiboard Tutorial Tip The part s label is a separate element from its shape When selecting a part on the board be sure to select the whole part not just the label Try using the Selection Filters to assist with this Refer to the Ultiboard User Manual for more information wg 9 Tip Once a part is selected you can also move it around on the board by pressing the arrow keys on your keyboard You can also select a group of parts and move them together To do this you can do one of the following e Hold down the Shift key and click on more than one part e Drag a box around several parts All the selected parts will move together when you drag the cursor Tip These are temporary groups once you select another part the group connection is lost To make a group that remains until you remove it you can use the Group Editor For details refer to the Ultiboard User Manual Another option for moving parts is to use the Edit Align commands to align the edges of selected parts or to space them relative to each other Use the Edit Align commands to align the mounting holes you just placed 1 Select H1 and hold down the Shift key to select H2 2 Choose Edit Align Align Top If H2 was not originally placed exactly in line with H1 you will see it move Click on an empty space on the board then select H2 and H3 4 Choose Edit Align Align Right Continue in this manner to align the
114. Disassembly Ansicht oder der Fehlerlisten ansicht einf gen In diesem Beispiel ben tigen Sie jedoch lediglich die Fehlerliste 74 RETLW 0x49 75 RETLU Ox4d 76 77 START scr STATUS RPO BANK 0 79 CLRF PORTA 80 CLRF PORTE 61 Q 82 BSF STATUS RPO BANK 1 i 83 MOVLT 0x80 DISABLE WEAK PULLUP RESISTORS 84 MOVUF OPTTQN REG 85 MOVLI 0x00 SET PORTA AS OUTPUTS 86 MOVUF TRISA 87 MOVLY 0x00 SET PORTB AS OUTPUTS sei MOVUF TRISE lt Schaltung1 E Getting Started mcu B main asn Debug U1 1 Graue Spalte Um einen Haltepunkt in der Quellcodeansicht hinzuzufiigen 1 ffnen Sie Debug Auflistung fiir U1 2 Klicken Sie in der Entwurf Toolbox doppelt auf main asm National Instruments Corporation 4 11 Erste Schritte mit NI Circuit Design Suite Kapitel 4 Einf hrung in Multisim MCU Be Scrollen Sie bis zur Zeile direkt unterhalb der START Beschriftung BCF STATUS RPO Klicken Sie im main asm Fenster die erste graue Spalte links neben BCF STATUS RPO doppelt an Es erscheint ein roter Punkt an dieser Stelle der signalisiert dass an dieser Zeile ein Haltepunkt gesetzt wurde Wahlen Sie Simulieren Start Die Simulation wird automatisch an der Stelle unterbrochen wo Sie den Haltepunkt gesetzt haben Die Debug Auflistung springt nun automatisch in den Vordergrund und ein gelber Pfeil weist an die Stelle wo die Programmausfiihrung unter brochen wurde den Haltepunkt zu
115. E GOODS OR SERVICES LOSS OF USE DATA OR PROFITS OR BUSINESS INTERRUPTION HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE National Instruments NI ni com LobVIEW National Instruments Corporation go PARES National Instruments ni com 1ega1 Terms of Use Uliboord is a registered trademark and Multisim and Electronics Workbench are trademarks of Electronics Workbench Portions of this product obtained under license from Bartels Systems GmbH i National Instruments
116. ENTWICKLER DIE LETZTENDLICHE VERANTWORTUNG FUR DIE UBERPRUFUNG UND AUSWERTUNG DER EIGNUNG VON NATIONAL INSTRUMENTS PRODUKTEN WENN PRODUKTE VON NATIONAL INSTRUMENTS IN EIN SYSTEM ODER EINE ANWENDUNG INTEGRIERT WERDEN DIES ERFORDERT U A DIE ENTSPRECHENDE ENTWICKLUNG UND VERWENDUNG SOWIE EINHALTUNG EINER ENTSPRECHENDEN SICHERHEITSSTUFE BEI EINEM SOLCHEN SYSTEM ODER EINER SOLCHEN ANWENDUNG Symbole und Darstellungen Y 3 fett kursiv monospace In diesem Handbuch werden die folgenden Symbole und Darstellungen verwendet Das Symbol kennzeichnet die Reihenfolge in der Men punkte und Dialogfeldoptionen anzuklicken sind So wird zum Beispiel mit der Abfolge Datei Seite einrichten Optionen angezeigt dass zun chst das Men Datei zu ffnen ist hieraus die Option Seiteneinstellungen und daraus der Befehl Optionen auszuw hlen ist Dieses Symbol steht f r Ratschl ge Dieses Zeichen steht f r einen Hinweis auf wichtige Informationen In fettgedruckter Schrift sind Elemente dargestellt die ausgew hlt oder angeklickt werden m sen wie Men punkte oder Optionen in Dialogfeldern Parameternamen sind ebenfalls fettgedruckt Variablen Hervorhebungen Querverweise und erstmals genannte Fachausdr cke sind durch Kursivschrift gekennzeichnet Ebenfalls kursiv sind Textstellen gedruckt an denen W rter bzw Werte einzusetzen sind In Monospace Schrift nicht proportionaler Schrift sind Programmausz ge Syntaxbeispiele und
117. ERDE SR 3 3 Creating a Board Out 3 4 Placing PS 3 7 Dragging Parts from Outside the Board Outline u2200200220 nennen 3 8 Dragging Parts from the Parts Tab uu20u204020000esnnennennennnennnennennnenn 3 9 Placing the Tutorial Parts 2 22 42a ans 3 10 Placing Parts from the Database eee eceeseceeeeeeseeeseceeeesecseensesesnaeesees 3 11 Moving Patts 2 22 RE EE 3 12 Plaeing Tracesen 2 2 2 00er A AoE Es aaa SEERE ER 3 13 Placing a M nual Trace 2 22 2 02 3 14 Placinga Follow me Trace issin a a a re 3 17 Placing a Connection Machine Trace uuu 3 17 Auto Part Placement Jesca resia raa a ear e AEA abet ea SEEE BER EEE IN eisiea 3 18 AutoroutingEraceS Sk 3 19 MNational Instruments Corporation vij Getting Started with NI Circuit Design Suite Contents Preparing for Manufacturing Assembly 00 eee ceeeeeeseeseeeseeeeceseeseeeseceeeseeseeeaeesees 3 20 Cleaning up the Bo td 22 00 lese ia i a ia 3 20 Adding Comments SRE 3 21 Exporting a File personin E a E en 3 21 Viewing Designs in 3 3 22 Chapter 4 Multisim MCU Tutorial OVERVIEW EE 4 1 About the COTE 4 2 Understanding the Assembly Program ssseesssessessssersseersreeresrsresrsresresesresrset 4 4 Constants and Datas 2 222 area 4 4 InitiaiZation SS 4 5 Drawing Text and Graphics eee eeeeeeeeceeeeseeeeeseenseeseeeaeesees 4 6 Working with the MCU Debugging Features uuessers
118. I Circuit Design Suite 3 20 ni com jp 3 Ultiboard UIHiboqrd User Manual Uliboard
119. INCLUDING BUT NOT LIMITED TO BACK UP OR SHUT DOWN MECHANISMS BECAUSE EACH END USER SYSTEM IS CUSTOMIZED AND DIFFERS FROM NATIONAL INSTRUMENTS TESTING PLATFORMS AND BECAUSE A USER OR APPLICATION DESIGNER MAY USE NATIONAL INSTRUMENTS PRODUCTS IN COMBINATION WITH OTHER PRODUCTS IN A MANNER NOT EVALUATED OR CONTEMPLATED BY NATIONAL INSTRUMENTS THE USER OR APPLICATION DESIGNER IS ULTIMATELY RESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITABILITY OF NATIONAL INSTRUMENTS PRODUCTS WHENEVER NATIONAL INSTRUMENTS PRODUCTS ARE INCORPORATED IN A SYSTEM OR APPLICATION INCLUDING WITHOUT LIMITATION THE APPROPRIATE DESIGN PROCESS AND SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION Conventions bold italic monospace The following conventions are used in this manual The symbol leads you through nested menu items and dialog box options to a final action The sequence File Page Setup Options directs you to pull down the File menu select the Page Setup item and select Options from the last dialog box This icon denotes a tip which alerts you to advisory information This icon denotes a note which alerts you to important information Bold text denotes items that you must select or click in the software such as menu items and dialog box options Bold text also denotes parameter names Italic text denotes variables emphasis a cross reference or an introduction to akey concept Italic text also denotes text that is a placeholder for a w
120. IP BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER LIABILITY ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR FIRMWARE OR THE USE OF OTHER DEALINGS IN THE SOFTWARE OR FIRMWARE Anti Grain Geometry Version 2 4 Copyright C 2002 2004 Maxim Shemanarev McSeem Permission to copy use modify sell and distribute this software is granted provided this copyright notice appears in all copies This software is provided as is without express or implied warranty and with no claim as to its suitability for any purpose Anti Grain Geometry Version 2 4 Copyright C 2002 2005 Maxim Shemanarev McSeem 1 Redistribution and use in source and binary forms with or without modification are permitted provided that the following conditions are met 2 Redistributions of source code must retain the above copyright notice this list of conditions and the following disclaimer 3 Redistributions in binary form must reproduce the above copyright notice this list of conditions and the following disclaimer in the documentation and or other materials provided with the distribution The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission THIS SOFTWARE IS PROVIDED BY THE AUTHOR AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED IN NO EVENT SHALL THE AUTH
121. N tzliche Tipps sind links durch ein Symbol gekennzeichnet z B Tipp Sie k nnen jederzeit die Hilfe aufrufen indem Sie auf der Tastatur lt F1 gt dr cken oder in einem Dialogfeld die Schaltfl che Hilfe anklicken Sobald Sie den Abschnitt zum Verbinden der Bauelemente erreicht haben k nnen Sie mit der Schaltung fortfahren die Sie im Abschnitt Bauele mente platzieren erstellt haben Alternativ k nnen Sie die Datei Getting Started 1 ms10 im Verzeichnis Dokumente und Einstellungen All Users Gemeinsame Dokumente National Instruments Circuit Design Suite 10 1 samples Getting Started ffnen In dieser Datei sind s mtliche Bauelemente richtig platziert Nach Erreichen der Simulation k nnen Sie entweder an der vorhandenen Schaltung weiterarbeiten oder die Datei Getting Started 2 ms10 ver wenden in der alle Bauteile bereits richtig verbunden sind Erste Schritte mit NI Circuit Design Suite 2 4 ni com Kapitel 2 Einf hrung in Multisim Schaltungsentwicklung In diesem Abschnitt f gen Sie die Bauelemente f r die unten abgebildete Schaltung ein und verbinden sie miteinander 7 Getting Started Final Multisim Getting Started Final Jog Datei Bearbeiten Ansicht Platzieren MCU Simulieren Transfer Extras Berichte Optionen Fenster Hilfe DEEIER a SS We amp Y CS a B Verwendungsliste v Ego w DRS Ae Bow mY Oe T n me 2 2 OP37AJ
122. NI Circuit Design Suite Getting Started with NI Circuit Design Suite May 2008 Wy NATIONAL 374482C 01 p INSTRUMENTS ELECTRONICS WORKBENCH GROUP Worldwide Technical Support and Product Information ni com National Instruments Corporate Headquarters 11500 North Mopac Expressway Austin Texas 78759 3504 USA Tel 512 683 0100 Worldwide Offices Australia 1800 300 800 Austria 43 662 457990 0 Belgium 32 0 2 757 0020 Brazil 55 11 3262 3599 Canada 800 433 3488 China 86 21 5050 9800 Czech Republic 420 224 235 774 Denmark 45 45 76 26 00 Finland 358 0 9 725 72511 France 01 57 66 24 24 Germany 49 89 7413130 India 91 80 41190000 Israel 972 3 6393737 Italy 39 02 41309277 Japan 0120 527196 Korea 82 02 3451 3400 Lebanon 961 0 1 33 28 28 Malaysia 1800 887710 Mexico 01 800 010 0793 Netherlands 31 0 348 433 466 New Zealand 0800 553 322 Norway 47 0 66 90 76 60 Poland 48 22 3390150 Portugal 351 210 311 210 Russia 7 495 783 6851 Singapore 1800 226 5886 Slovenia 386 3 425 42 00 South Africa 27 0 11 805 8197 Spain 34 91 640 0085 Sweden 46 0 8 587 895 00 Switzerland 41 56 2005151 Taiwan 886 02 2377 2222 Thailand 662 278 6777 Turkey 90 212 279 3031 United Kingdom 44 0 1635 523545 For further support information refer to the Technical Support and Professional Services appendix To comment on National Instruments documentation refer to the National Instruments Web site at ni com info and enter the info code feedbac
123. NING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS 1 NATIONAL INSTRUMENTS PRODUCTS ARE NOT DESIGNED WITH COMPONENTS AND TESTING FOR A LEVEL OF RELIABILITY SUITABLE FOR USE IN OR IN CONNECTION WITH SURGICAL IMPLANTS OR AS CRITICAL COMPONENTS IN ANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN REASONABLY BE EXPECTED TO CAUSE SIGNIFICANT INJURY TO A HUMAN 2 IN ANY APPLICATION INCLUDING THE ABOVE RELIABILITY OF OPERATION OF THE SOFTWARE PRODUCTS CAN BE IMPAIRED BY ADVERSE FACTORS INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL POWER SUPPLY COMPUTER HARDWARE MALFUNCTIONS COMPUTER OPERATING SYSTEM SOFTWARE FITNESS FITNESS OF COMPILERS AND DEVELOPMENT SOFTWARE USED TO DEVELOP AN APPLICATION INSTALLATION ERRORS SOFTWARE AND HARDWARE COMPATIBILITY PROBLEMS MALFUNCTIONS OR FAILURES OF ELECTRONIC MONITORING OR CONTROL DEVICES TRANSIENT FAILURES OF ELECTRONIC SYSTEMS HARDWARE AND OR SOFTWARE UNANTICIPATED USES OR MISUSES OR ERRORS ON THE PART OF THE USER OR APPLICATIONS DESIGNER ADVERSE FACTORS SUCH AS THESE ARE HEREAFTER COLLECTIVELY TERMED SYSTEM FAILURES ANY APPLICATION WHERE A SYSTEM FAILURE WOULD CREATE A RISK OF HARM TO PROPERTY OR PERSONS INCLUDING THE RISK OF BODILY INJURY AND DEATH SHOULD NOT BE RELIANT SOLELY UPON ONE FORM OF ELECTRONIC SYSTEM DUE TO THE RISK OF SYSTEM FAILURE TO AVOID DAMAGE INJURY OR DEATH THE USER OR APPLICATION DESIGNER MUST TAKE REASONABLY PRUDENT STEPS TO PROTECT AGAINST SYSTEM FAILURES
124. OFTWARE OR FIRMWARE Anti Grain Geometry Version 2 4 Copyright C 2002 2004 Maxim Shemanarev McSeem Permission to copy use modify sell and distribute this software is granted provided this copyright notice appears in all copies This software is provided as is without express or implied warranty and with no claim as to its suitability for any purpose Anti Grain Geometry Version 2 4 Copyright C 2002 2005 Maxim Shemanarev McSeem 1 Redistribution and use in source and binary forms with or without modification are permitted provided that the following conditions are met 2 Redistributions of source code must retain the above copyright notice this list of conditions and the following disclaimer 3 Redistributions in binary form must reproduce the above copyright notice this list of conditions and the following disclaimer in the documentation and or other materials provided with the distribution The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission THIS SOFTWARE IS PROVIDED BY THE AUTHOR AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUT
125. OR BE LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE DATA OR PROFITS OR BUSINESS INTERRUPTION HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE Trademarks National Instruments NI ni com and LabVIEW are trademarks of National Instruments Corporation Refer to the Terms of Use section on ni com 1ega1 for more information about National Instruments trademarks Ultiboard is a registered trademark and Multisim and Electronics Workbench are trademarks of Electronics Workbench Portions of this product obtained under license from Bartels Systems GmbH Other product and company names mentioned herein are trademarks or trade names of their respective companies Members of the National Instruments Alliance Partner Program are business entities independent from National Instruments and have no agency partnership or joint venture relationship with National Instruments Patents For patents covering National Instruments products refer to the appropriate location Help Patents in your software the patents txt file on your CD or ni com patents Some portions of this product are protected under United States Patent No 6 560 572 WAR
126. OVUF CALL Ox7D DATA_BUFFER Ox29 DATA_BUFFER2 external CG start at 1400h DT2 CMD_ADPSET CMD_BUFFER CMD CMD_AWRON CMD BUFFER CMD 0x00 Initial the counter ADDR_INDEX ADDR_INDEX 0O gt STARTING data ADDRESS TXPRT DATA_BUFFER LOAD CHAR data TO W ADT ADDR_INDEX 1 ADDR_INDEX 0 DATA_NUM 35 chars STATUS Z LOOP_READ_DATAZ CHD_AUROFF CMD BUFFER CMD For example the above excerpt from the main loop in the program sends the characters defined in the TXPRT subroutine to be displayed in text mode on the graphical LCD The following sets the LCD to auto write mode MOVLW CMD_AWRON MOVWF CMD_BUFFER CALL CMD Getting Started with NI Circuit Design Suite 4 6 ni com Chapter 4 Multisim MCU Tutorial At this point the program starts counting and executes through the loop LOOP_READ_DATA2 35 times This loop calls TXPRT to retrieve the text data and load it into the W register It then calls to the subroutine ADT which calls SEND_DATA which writes the values in the W register to port B to be sent to the data lines of the LCD display Once the data is sent the proper value on port A of the microcontroller is sent to the control pins of the LCD display to let it know that the data is ready to be read The subroutines all return at the end to the instruction just after the call to them and the same thing happens until all 35 characters have been transmitted The final three instructions
127. Operationsverst rkers durch 1 Klicken Sie die Leiterbahn doppelt an die zum Anschlussstift 6 des Operationsverst rkers f hrt und ndern Sie den Netznamen im Dia logfeld Netz ggf auf analog_out 2 W hlen Sie Simulieren Analysen AC Analyse und klicken Sie auf die Registerkarte Ausgabe AC Frequenzanalyse Frequenzparameter Ausgabe Analyseoptionen Zusammenfassung Yariable in der Schaltung Gew hlte Yariable f r die Analyse Alle Variablen Alle Variablen W2 v 20 W 21 v 22 gt ination gt Entfernen Vivec Ausdruck bearbeiten Nicht gew hlte variablen filtern Ausdruck hinzuf gen Gew hlte variablen filtern Weitere Optionen Alle Ausgangsparameter am Ende der Bauteil Modell Parameter hinzuf gen Simulation im Pr fpfad anzeigen Ausgew hlte Variable l schen Auswahl der zu speichernden Yariablen 3 Markieren Sie V analog_out in der linken Spalte und klicken Sie auf Hinzuf gen Der Eintrag V analog_out wird daraufhin in die rechte Spalte verschoben Erste Schritte mit NI Circuit Design Suite 2 16 ni com Kapitel 2 Einf hrung in Multisim 4 Klicken Sie auf Simulation Die Ergebnisse der Analyse werden in der Graphanzeige angezeigt Graphanzeige oles Datei Bearbeiten Ansicht Extras Dee HEMAaQGea eves b AM ea AC Frequenzanalyse Getting Started Final AC Frequenzanalyse A
128. SET AUTO WRITE MODE EQU OB2H RESET AUTO WRITE MODE Erste Schritte mit NI Circuit Design Suite 4 4 Der anzuzeigende Text wird bei einigen Mikrocontrollern in Form einer Tabelle gespeichert Es gibt aber keinen Assembly Befehl um direkt auf einen Datenwert im Speicherbereich des Programms zuzugreifen Stattdes sen besteht die M glichkeit Werte in unkodierter Form in das W Register zu laden so dass Sie eine Routine schreiben k nnen die je nach Kennzahl einen anderen String ausgibt Die RETLW Anweisung l dt einen konstanten Wert in das W Register und f hrt einen RETURN durch beides in einem Befehl ni com Kapitel 4 Einf hrung in Multisim MCU Die TXPRT Routine fragt den auf der LCD Anzeige darzustellenden Text ab Die Zeichencodes der LCD Anzeige sind im Handbuch zum T6963C Controller festgehalten z B steht 0x27 f r den Buchstaben G und 0x52 f r r r DATA DATA NUN TXPRT ADDUF RETLW RETLW RETLTW RETLW RETLW RETLW RETLW RETLW RETLW RETLW RETLW PCL Ox27 0x52 0x41 0x50 0x48 0x49 0x43 0x41 Ox4c 0x00 Ox2c EQU 23H Text data Grapical LCD T6963C for Multisim 1 National Instruments Corporation 4 5 Erste Schritte mit NI Circuit Design Suite Kapitel 4 Einf hrung in Multis im MCU Initialisierung Der Initialisierungscode beginnt bei START wie im Programmabschnitt unten dargestellt Die Anschlussstifte im Mikrocontroller werden als Aus gangskont
129. Tutorial Bill of Materials A bill of materials lists the components used in your design and therefore provides a summary of the components needed to manufacture the circuit board Information provided includes e Quantity of each component needed Description including the type of part example resistor and value example 5 1 kohm e Reference Designator of each component e Package or footprint of each component Complete the following step to create a BOM bill of materials for your circuit 1 Click the Reports menu and choose Bill of Materials from the menu that appears The report appears looking similar to this Bill of Materials e Document Getting Started 2 SEVEN_SEG_DECIMAL_COM_A_BLUE Genericl75EG8 A 74L5 74L547N IPC 22214 22 CAP_ELECTROLIT 1uF IPC 7351 Chip CAP_ELECTROLIT 10nF IPC 7351 Chip CAP_ELECTROLIT 100uF IPC 7351 Chip CONNECTORS HDR1 4 Generic HDR 1 gt SWITCH SPDT p Generic SPDT LED_blue Ultiboard LED9 RESISTOR 1kQ 5 IPC 73511Chip POTENTIOMETER 50k Generic LIN_P RESISTOR 2002 5 IPC 7351 Chip RPACK_VARIABLE_2X7 180 Ohm GenericlDIP 1 lt OPAMP OP37A Generic TO 99 gt To print the Bill of Materials click the Print button A standard Windows print screen appears allowing you to choose the printer number of copies and so on National Instruments Corporation 2 17 Getting Started with NI Circuit Design Suite Chapter 2 Multisim Tu
130. WUIliboard User Manual 1 1 HT Shiff H2 2 H2 H1 3 H2 H3 5 H3 H4 H1 H4 H1 H4 National Instruments Corporation 3 13 NI Circuit Design Suite 3 Ultiboard
131. Zeichen die ber die Tastatur einzugeben sind dargestellt Diese Darstellungsweise wird ebenfalls f r Laufwerke Pfade Verzeichnisse Programme Unterprogramme Subroutinen Ger tenamen Funktionen Operationen Variablen sowie Dateinamen und erweiterungen verwendet Inhaltsverzeichnis Kapitel 1 Einf hrung in die NI Circuit Design Suite NI Circuit Design Suite Produktlinie uur 1 1 Lemeinheiten Tutenlal 0 sen nalen tea esvenccdascatessetesesses 1 2 Kapitel 2 Einf hrung in Multisim Multisim Benutzeroberflache os eIE a EE E 2 1 berblick son ee SN E ES 2 4 SchaltungsentwickIUng oo AoA oases RR 2 5 ffnen und Speichern der Datei i 2 5 Einf gen der Bauelemente 2 0e 8002080 asien 2 6 Verbinden der Bauelemente hoon NE 2 11 Simula O ikea nassen Ra 2 13 Virtuelle Messinsttumente Son 2 13 AV 2 16 Die Graphanzeige 3 2 17 Der Postprozessot u u RR 2 18 Berichte yes nah ein neue nee sahne AE 2 18 St ckliste ai 2 19 Kapitel 3 Einf hrung in Ultiboard Ultiboard Benutzeroberfl che 2022022020442n0rnennesnnennnnnennonnennnennennnennennnennennnen 3 1 ffnen der Einfiihrung seele 3 3 Auswahl der PlatinenkontUt So Eo sa aa 3 4 Platzieren von Bauelementen cnc nonn RGR 3 8 Ziehen von Bauelementen aus dem Bereich au erhalb des Te1terplattenummTts8e ai 3 8 Ziehen von Bauelementen von der Bauteile Registerkarte 3 10 Einf gen
132. a C2 3 of 1uF 10nF 100uF T T L 741 t HDR1X4 Lon L GND V1 4 R3 R2 I 0 2 Vpk 1ko 50kQ 50 vec Vcc_ kHz oa Key Space 5V 5V 7 0Deg U1 YALE Counter Control a vec R1 5V 000 J1 R4 U2 U3 RPACK 1800 TTT Key Space 8 SE A 4 ac oc D w D J2 a sinn lt 7 BI RBO Key Space on 74LS47N benD 74HC190N_4V ERE Multisim Getting Started samples Getting Started 2 ms10 1 J1 J2 R2 J1 J2 R2 J1 J2 R2 E A E J1 NI Circuit
133. a inc gt This includes PIC16F84A 2 Rs 3 gt Controlling a Toshiba T6963C controller based graph 4 5 errorlevel 302 6 7 DATA_BUFFER EQU 0x20 6 DATA BUFFER2 EQu 0x21 9 CND_BUFFER EQu Ox22 10 REF BUFFER EQu 0x24 11 12 ADDR_INDEX EQU Ox25 lt RA circuits R Getting Started mcu main asm E pebustun 1 Drop down List Use the drop down list at the top of the Debug View to select between the disassembly instructions generated internally by Multisim or the listing file generated by the assembler or compiler the format of the listing file is dependent on the tool that you choose to build your code In the LCD graphical display example the code was written in assembly and built by the Microchip assembly tools The Microchip assembler generates a listing file 1st that contains all of the opcodes generated for each assembly instruction The debug listing view displays information from this listing file Multisim generates the disassembly format using its internal disassembler to disassemble the opcode instructions into assembly instructions This format is not necessary for this example since the debug listing contains all of the information needed In cases where an MCU project loads only the machine code hex file the disassembly view shows the disassembled opcode instructions so that you can see what s happening in the MCU Since n
134. akte konfiguriert und die Werte zur ckgesetzt Die LCD Anzeige wird durch den Mikrocontroller initialisiert und auf Grafik und Textmodus gestellt Die Riicksprungadresse wird f r den Grafikpuffer auf 0x0000 und den Textpuffer auf 0x2941 eingestellt Dadurch wird fest gelegt an welcher Stelle im LCD die Anzeige die Daten beginnen soll Schlie lich werden die Steuersignale noch f r den geeigneten Schreib Lesezugriff auf der LCD Anzeige eingestellt START BCF CLRF CLRF BSF MOYLW MOYUF MOVLW MOVUF MOVLW MOVUF BCF MOVLW MOVUF 71 SET DISPLAY MOVLW MOVUF CALL STATUS RPO PORTA PORTB STATUS RPO 0x80 OPTION_REG 0x00 TRISA 0x00 TRISB STATUS RPO OxOF PORTA BANK 0 BANK 1 DISABLE WEAK PULLUP RESISTORS SET PORTA 45 OUTPUTS 5ET PORTE 45 OUTPUTS 7 BANK O 1111 no commands ready MODE to GRAPH TEXT mode cursor off Ox9c CMD BUFFER CMD Erste Schritte mit NI Circuit Design Suite 4 6 ni com Kapitel 4 Einf hrung in Multisim MCU Zeichnen von Text und Grafiken Der Rest des Programmcodes dient dazu Befehle tiber die Steuerleitungen und die MCU Anschlussstifte RAO bis RA2 an die LCD Anzeige und die Daten ber die Datenleitungen zu senden 75 write string MOVLW Ox7D MOVUF DATA_BUFFER MOVLW Ox29 MOVUF DATA_BUFFER2 external CG start at 1400h CALL DT2 MOVLW CMD_ADPSET MOVUF CHD_BUFFER CALL CMD MOVLW CMD AWRON MOVUF CMD BUFFER CALL CMD MOYLW
135. an W hrend der Simulation sollen Ihnen die angezeigten zus tzlichen Fehler suchinformationen dabei helfen zu verstehen was innerhalb der MCU geschieht Sie k nnen beispielsweise zwischen dem High Level Quellcode und den Assembly Anweisungen umschalten wo au erdem der tats chliche Opcode f r jede ausgef hrte Anweisung angezeigt wird In der Quellcodeansicht k nnen all diese Zusatzinformationen nicht ange zeigt werden Stattdessen hat jedes MCU Bauelement im Schaltplan eine eigene Debug Auflistung in der Angaben zu Fehlern angezeigt werden Um zur Debug Auflistung zu gelangen 1 W hlen Sie MCU MCU PIC 16F84A U1 Erstellen Hinweis Die Fehlersuchansicht ist nur dann verf gbar wenn Sie Ihren Code erfolgreich erstellt haben so dass der vorangehende Schritt nur einmal notwendig ist 2 W hlen Sie MCU MCU PIC 16F84A Ul Debug Ansicht oder Klicken Sie im MCU Arbeitsbereich der Entwurf Toolbox einen Ein trag mit der rechten Maustaste an und w hlen Sie den entsprechenden Men punkt aus 74 RETLU 0x4 b amp ai a 7 RETLW Ox4c a Schaltung1 77 START Schaltung1 78 BCF Z Getting Started MCU 79 CLRF E E Getting Started MCU 80 CLRF F LCDWorkspace 8 1 S E Projecti 82 BSF main a ani MOVLW E en MCU Quelldatei entfernen Getting Started MC MOVUF C MCU Code Manager MOVLU C MOVUF 1 Speicheransicht MOVLW C Erstellen MOVUF 1 National Instruments Corporation 4 9
136. an use the Place Unplace Parts command to quickly remove all non locked Y parts from the PCB and experiment with a different placement technique Dragging Parts from Outside the Board Outline By default parts are placed outside the board outline when you open a netlist from Multisim or another schematic capture program Before you begin double click the Copper Top layer in the Design Toolbox to make it the active layer Complete the following steps to drag U1 from outside the board outline 1 Find U1 in the collection of parts outside the board outline To make this easier zoom in press F8 until you can see U1 0 Tip You can also search for a part with the Edit Find command While this command works much like a Find function in other applications it also allows you to search for a part by name number shape value or by all variables Refer to the Ultiboard User Manual for details 2 Click on U1 the 7 segment display and drag it to the location shown in the figure below BR Note For information on Force Vectors and Ratsnests shown in the figure below refer to the Ultiboard User Manual Getting Started with NI Circuit Design Suite 3 8 ni com Chapter 3 Ultiboard Tutorial a GQ 1 Force Vector 2 Ratsnest U1 remains selected This is an important point for Ultiboard that holds throughout the application you need to explicitly end any particular action In this case simply clicking somewhere els
137. and you can make manual changes as desired When you restart the autorouter it will continue with the changes you made Remember to lock any traces that you have placed manually and do not wish to be moved by the autorouter Tip Use the Routing Options dialog box to modify autoplacement and autorouting options Refer to the Ultiboard User Manual for details Preparing for Manufacturing Assembly Ultiboard can produce many different output formats to support your production and manufacturing needs This section explains the functions performed to output your board for production and documentation purposes Cleaning up the Board Before sending the board for manufacturing you should clean up any open trace ends trace segments that do not have any terminating connections in the design and unused vias that have been left on the board To delete open trace ends make sure the GS4 design is open and choose Edit Copper Delete Open Trace Ends This deletes all open trace ends in the design Getting Started with NI Circuit Design Suite 3 20 ni com Adding Comments Exporting a File Chapter 3 Ultiboard Tutorial To delete any unused vias make sure the design is open and choose Design Clean Unused Vias to delete all vias that do not have any trace segments or copper areas connected to them Comments can be used to show engineering change orders to facilitate collaborative work among team members or to allow background informatio
138. ard Q Tipp Zum Verschieben eines Bauelements markieren Sie es und dr cken Sie die Pfeiltasten auf der Tastatur Sie k nnen aber auch mehrere Bauelemente markieren und gemeinsam verschieben Dazu gibt es folgende M glichkeiten e Dr cken Sie die lt Shift gt Taste und klicken Sie mehrere Bauelemente an e Ziehen Sie um mehrere Bauelemente einen Rahmen auf Alle markierten Bauelemente werden beim Bewegen des Cursors gemein sam verschoben ag Tipp Gruppen gelten nur vor bergehend Sobald Sie ein anderes Bauelement ausw hlen geht die Gruppierung verloren Um eine Gruppe von Bauelementen dauerhaft bis zum Entfernen zusammenzuhalten ist der Gruppeneditor zu verwenden Weitere Informatio nen finden Sie im Benutzerhandbuch zu Ultiboard Durch Bearbeiten Ausrichten k nnen markierte Bauelemente so ver schoben werden dass ihre R nder in einer Linie sind oder die Bauelemente einen bestimmten Abstand voneinander haben So platzieren Sie das eingef gte Bohrloch durch Bearbeiten Ausrichten an die richtige Stelle 1 W hlen Sie Hl und halten Sie f r H2 die lt Shift gt Taste gedr ckt 2 Wahlen Sie Bearbeiten Ausrichten Oben ausrichten Wenn H2 nicht in Linie mit H2 eingef gt wurde wird es nun entsprechend verschoben 3 Klicken Sie auf einen freien Bereich auf der Leiterplatte und markieren Sie H2 und H3 4 W hlen Sie Bearbeiten Ausrichten Rechts ausrichten 5 Fahren Sie auf diese Weise mit dem Ausricht
139. are no errors or warnings the program built successfully The sample program should not contain any errors The program displays the line Graphical LCD T6963C for Multisim characters in text mode the LCD then switches to graphical mode and draws an inverted V dot by dot on top of the text Once the lines are drawn the text scrolls right and then left This is achieved by moving the start address of the text buffer of the LCD display This also demonstrates that there are two buffers in the LCD one for storing graphics and another for storing text Other features of the LCD such as text flashing and erasing of characters are also demonstrated The LCD display program continues to cycle through each of these effects To stop the simulation select Simulate Stop 4 3 Getting Started with NI Circuit Design Suite Chapter 4 Multisim MCU Tutorial Understanding the Assembly Program Constants and Data To make the program easier to understand the LCD display commands and temporary buffers for storing addresses and data in the MCU are predefined in constants at the start of the program DATA_BUFFER DATA BUFFERZ CMD_BUFFER REF BUFFER ADDR_INDEX ADDR_L ADDR_H COUNTER_INDEX BIT_INDEX CMD SET CURSOR EQU CMD_TXHOME CMD _TXAREA CMD_GRHOME CHD GRAREA CMD_OFFSET CMD_ADPSET CMD SETDATA INC CMD_AWRON CMD_AUROFF EQU 0x20 EQU 0x21 EQU 0x22 EQU 0x24 EQU 0x25 STARTING ADDRESS IN EEPROM EQU 0
140. atischen Einf gen nicht betroffen sein sollen per Hand einf gen und an der gew nschten Stelle fixieren Die Montagebohrungen und U1 J1 J2 J3 und LED 1 in Gs5 wurden beispielsweise bereits fixiert Weitere Informationen zum Fixieren von Bauteilen finden Sie im Benutzerhandbuch zu Ultiboard ag Zum automatischen Einfiigen der Bauelemente in Getting Started ewprj 1 ffnen Sie den Entwurf GS5 in Ultiboard 2 W hlen Sie Automatische Leiterbahnf hrung Start automatische Platzierung Die Leiterplatte wird nun mit den Bauteilen best ckt Erste Schritte mit NI Circuit Design Suite 3 20 ni com Kapitel 3 Einf hrung in Ultiboard Automatische Leiterbahnf hrung Leiterbahnen k nnen in Ultiboard entweder nach den beschriebenen Ver fahren oder automatisch verlegt werden Die automatische Leiterbahn f hrung wird nachfolgend erkl rt Zum automatischen Verbinden der Leiterbahnen in Getting Started ewprj 1 ffnen Sie den Entwurf Gs3 in Ultiboard 2 W hlen Sie Automatische Leiterbahnf hrung Start Wiederauf nahme automatische Leiterbahnf hrung Der Arbeitsbereich wechselt in den Modus zur automatischen Leiterbahnf hrung Daraufhin k nnen Sie sehen wie die Leiterbahnen auf der Platine ver legt werden Nach Abschluss des Vorgangs wird der Modus zur automatischen Leiterbahnf hrung beendet und der bisherige Arbeitsbereich wieder ge ffnet 3 Bei Bedarf k nnen Sie den Verlauf der Leiterbahnen optimieren
141. auf unserer Website ni com info den Infocode feedback ein 2006 2008 National Instruments Corporation Alle Rechte vorbehalten Wichtige Informationen Garantie National Instruments gew hrleistet dass die Datentr ger auf denen National Instruments Software bermittelt wird w hrend eines Zeitraums von 90 Tagen ab Lieferung nachgewiesen durch Empfangsbest tigung oder sonstige Unterlagen nicht aufgrund von Material und Verarbeitungsfehlern Programmanweisungen nicht ausf hren Datentr ger die Programmanweisungen nicht ausf hren werden nach Wahl von National Instruments entweder repariert oder ersetzt sofern National Instruments w hrend der Garantiezeit ber derartige M ngel informiert wird Damit Gegenst nde zur Ausf hrung von Garantieleistungen angenommen werden m ssen Sie sich eine Warenr cksendenummer RMA Nummer vom Hersteller geben lassen und diese auf der Packung deutlich sichtbar angeben Die Kosten der R cksendung von Ersatzteilen die von der Garantie erfasst sind an Sie bernimmt National Instruments National Instruments geht davon aus dass die Informationen in dieser Unterlage zutreffend sind Die Unterlage ist sorgf ltig auf technische Richtigkeit berpr ft worden F r den Fall dass dennoch technische oder Schreibfehler vorhanden sein sollten beh lt sich National Instruments das Recht vor dies in sp teren Ausgaben ohne vorherige Ank ndigung zu berichtigen Bitte wenden Sie sich an National Instr
142. che seven_seg_decimal_com_a_blue 3 Bewegen Sie den Cursor in die rechte untere Ecke der Arbeitsfl che und klicken Sie mit der linken Maustaste um das Bauelement einzu f gen Die Kennung f r dieses Bauelement lautet U1 4 F gen Sie die restlichen Bauelemente wie dargestellt in den Bereich f r den Z hler ein National Instruments Corporation 2 7 Erste Schritte mit NI Circuit Design Suite Kapitel 2 Einf hrung in Multisim vcc vcc R1 2000 R4 ii 0 OB or CD CE or Or RCO 74LS47N ren 74HC190N_4V 3 Hinweis Beim Einf gen von Widerst nden Induktoren oder Kondensatoren RLC Bau elementen enth lt das Dialogfeld Bauelement w hlen geringf gig andere Optionen als sonst Beim Einf gen dieser Bauelemente k nnen Sie jede denkbare Kombination aus fol genden Parametern w hlen Wert des Bauelements z B Widerstandswert Typ z B Kohleschicht Toleranz Footprint und Hersteller Beim Einf gen eines Bauelements das als PCB Layout exportiert werden soll und Teil der St ckliste sein wird m ssen Sie darauf achten dass die im Dialogfeld Bauelement w hlen angegebene Kombination von Werten auch wirklich verf gbar ist Tipp Beim Einf gen von RLC Bauelementen ist der Wert des Bauteils ganz oben in die Liste der Bauelemente einzutragen Der Wert muss aber nicht in der Liste enthalten sein damit das Bauteil in die Schaltung eingef gt werden kann ag a Tipp Um den 200 Q Wid
143. cuit Design Suite 3 Uliboard 7 8 H2 9 HOLE OK H3 H4 10 Fe i X Y NI Circuit Design Suite
144. d einfach die Startadresse des Textpuffers der LCD Anzeige verschoben Die LCD Anzeige enth lt zwei Pufferspeicher und zwar einen zum Speichern von Grafiken und einen zum Speichern von Tex 4 3 Erste Schritte mit NI Circuit Design Suite Kapitel 4 Ll Einf hrung in Multisim MCU ten Weitere Funktionen der LCD Anzeige wie Blinken des Textes und L schen von Zeichen werden ebenfalls demonstriert Das Programm zur Steuerung der LCD Anzeige stellt jeden dieser Effekte nacheinander dar Um die Simulation anzuhalten w hlen Sie Simulieren Stopp Die Funktion des Assembly Programms Konstanten und Daten Um das Programm verst ndlicher zu gestalten werden zu Beginn die Befehle zur Steuerung der Anzeige und die tempor ren Puffer f r Adressen und Daten in der MCU als Konstanten definiert DATA_BUFFER DATA_BUFFER2 CMD_BUFFER REF _ BUFFER ADDR_INDEX ADDR_L ADDR_H COUNTER_INDEX BIT_INDEX CMD SET CURSOR EQU CHD TXHOYIE CMD TXAREA CMD_GRHOME CHD_GRAREA CMD_OFFSET CMD_ADPSET CMD SETDATA INC CMD_AWRON CMD_AWROFF EQU 0x20 EQU 0x21 EQU 0x22 EQU 0x24 EQU 0x25 STARTING ADDRESS IN EEPROM EQU 0x26 STARTING ADDRESS L EQU 0x27 STARTING ADDRESS H EQU 0x29 COUNTER EQU OxzA BIT INDEX 21H SET CURSOR EQU 40H SET TXT HM ADD EQU 41H SET TXT AREA EQU 42H SET GR HM ADD EQU 43H SET GR AREA EQU 22H SET OFFSET ADD EQU 24H SET ADD PTR EQU OCOH URITE DATA AND INCREASE ADP EQU OBOH
145. de begins at the START label as shown in the excerpt below The pins in the microcontroller are set up as output pins and the values are reset The LCD display component is initialized by the microcontroller and set to graphical and text mode The home addresses for the internal graphical and text buffers in the LCD display component are set to 0x0000 and 0x2941 respectively which determines where on the display the LCD starts to display the buffer data Finally the control signals are set up for the proper read write operation on the LCD display START BCF STATUS RPO BANK 0 CLRF PORTA CLRF PORTB BSF STATUS RPO BANK 1 MOVLU 0x80 DISABLE WEAK PULLUP RESISTORS MOVUF OPTION REG MOVLU 0x00 SET PORTA AS OUTPUTS MOVUF TRISA MOVLW 0x00 SET PORTB aS OUTPUTS MOVUF TRISB BCF STATUS RPO BANK 0 MOVLW OxOF 1111 no commands ready MOVUF PORTA 1 SET DISPLAY MODE to GRAPH TEXT mode cursor off MOVLU Ox9C MOVUF CMD BUFFER CALL CMD National Instruments Corporation 4 5 Getting Started with NI Circuit Design Suite Chapter 4 Multisim MCU Tutorial Drawing Text and Graphics The rest of the program sends commands to the LCD graphical display via the control lines through MCU pins RAO to RA2 and data through the data lines 75 write string MOVLU MOVUF MOVLW MOVUF CALL MOVLW MOVUF CALL MOVLW MOVUF CALL MOVLW HOVUF LOOP_READ_DATAZ MOVF CALL MOVUF CALL INCF MOVF SUBLW ETFSS GOTO MOVLU H
146. der Bauelemente dieser Einf hrung eeeesersenenennenn 3 11 Einf gen von Bauelementen aus der Datenbank unesesseesnenenn 3 11 Banelemente verschteDe 3 3 13 Verlegen von Leiterbahne eS 3 14 Manuelles Verlegen von Leiterbahnen eo 3 15 Verlegen von Follow me Leiterbahnen ee 3 18 Vollautomatisches Verlegen von Leiterbahnen ee 3 18 Automatische Bauteilplatzterung ee 3 20 National Instruments Corporation vij Erste Schritte mit NI Circuit Design Suite Inhaltsverzeichnis Automatische Leiterbahnf hrung 22u02200n0ssennennennennnnnnennensnennennnennennne 3 21 Vorbereitung f r Herstellung und Best ckung uosuessessnessessnenneennennnennennennnenn 3 22 Aufr umen der Leiterplatte Clean Up 3 22 Hinzuf gen von Kommentaren u unesssessessnesnersnennersnennonsnennnennennnnnnennnennen 3 22 Exportieren von D teien u 22 002 se 20er onen 3 23 3D Ansicht von Entw rfen sses 2 02 02 200er Hansn 3 23 Kapitel 4 Einf hrung in Multisim MCU ben see een ts 4 1 ber diese Anleitung i 4 2 Die Funktion des Assembly Programms 4 4 Konstanten und Daten kh 4 4 Initalisierung 4 2222 amt ceived irn hp 4 6 Zeichnen von Text und Grafiken uuu 4 7 Arbeiten m
147. der Lage Dicke und Messgr e gezeichneter Linien bzw Objekte Au erdem bietet sie Schaltfl chen f r Funktionen mit denen die Darstel lung von Linien und Formen auf einer Lage ver ndert werden kann Die Ansicht Symbolleiste enth lt Schaltfl chen zur Ver nderung der Bildschirmanzeige Die Haupt Symbolleiste enth lt Schaltfl chen f r allgemeine Leiterplattenfunktionen Die Autoroute Symbolleiste enth lt Funktionen zum Autorouting und zur Bauelementplatzierung Die Statusleiste bietet hilfreiche und wichtige Informationen an Die Schaltung entwickeln Sie im Arbeitsbereich Die Tabellen Ansicht erm glicht die Anzeige von Parametern und Bau elementeinformationen wie Platzbedarf Form Referenzbezeichnungen Attribute und Entwurfsregeln Die Entwurf Toolbox erm glicht es Elemente ein und auszublenden oder abzudunkeln Die 3D Vorschau zeigt Ihnen eine dreidimensionale Vorschau der Leiterplatte Die Vogelperspektive zeigt Ihnen den Entwurf auf einen Blick und erm g licht Ihnen ein einfaches Navigieren im Arbeitsbereich ffnen der Einf hrung Um eine bungsdatei zu ffnen f hren Sie die folgenden Schritte aus 1 W hlen Sie Start Programme National Instruments Circuit Design Suite 10 1 Ultiboard 10 1 um Ultiboard zu starten 2 W hlen Sie Datei Beispieldateien ffnen und klicken Sie den Ordner Getting Started doppelt an 3 W hlen Sie Getting Started ewprj und klicken Sie auf ffnen Die P
148. dete Symbole und Darstellungen v NI Informationsquellen A 1 E Einf gen von Bauelementen aus der Ultiboard Datenbank 3 11 Einf gen von Bauelementen in Multisim 2 6 Einf gen von Bauelementen in Ultiboard 3 8 3 11 National Instruments Corporation S 1 Einf hrung in Multisim berblick 2 4 Exportieren von Dateien aus Ultiboard 3 23 F Fehlersuche Hilfsmittel von National Instruments A 1 Fenster f r die Diagrammerstellung 2 17 Follow me Leiterbahn 3 18 G Ger tetreiber von National Instruments A 1 H Haltepunkt 4 11 Herstellung Best ckung 3 22 Hilfe technische Unterst tzung A 1 In diesem Handbuch verwendete Symbole und Darstellungen v K KnowledgeBase A 1 Kommentare 3 22 L Leiterplatten Clean Up 3 22 Erste Schritte mit NI Circuit Design Suite Stichwortverzeichnis Manuell eingefiigte Leiterbahn 3 15 MCU Anleitung 4 2 Uberblick 4 1 MCU Fehlersuche Funktionen 4 8 Uberblick 4 8 0 Offnen der Ultiboard Einfiihrung 3 3 Offnen von Multisim Dateien 2 5 Online Informationsquellen A 1 P Platinenkontur 3 4 Postprozessor 2 18 Produkte 1 1 Programmierbeispiele von National Instruments A 1 S Schaltungsentwicklung 2 5 Schnittstellenelemente 2 1 3 1 Simulation 2 13 Software von National Instruments A 1 Speichern von Multisim Dateien 2 5 St ckliste 2 19 Support und Serviceleistungen von National Instruments A 1 Support t
149. duced or transmitted in any form electronic or mechanical including photocopying recording storing in an information retrieval system or translating in whole or in part without the prior written consent of National Instruments Corporation National Instruments respects the intellectual property of others and we ask our users to do the same NI software is protected by copyright and other intellectual property laws Where NI software may be used to reproduce software or other materials belonging to others you may use NI software only to reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction BSIM3 and BSIM4 are developed by the Device Research Group of the Department of Electrical Engineering and Computer Science University of California Berkeley and copyrighted by the University of California The ASMS1 cross assembler bundled with Multisim MCU is a copyrighted product of MetaLink Corp www metaice com MPASM macro assembler and related documentation and literature is reproduced and distributed by Electronics Workbench under license from Microchip Technology Inc All rights reserved by Microchip Technology Inc MICROCHIP SOFTWARE OR FIRMWARE AND LITERATURE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT IN NO EVENT SHALL MICROCH
150. e de selects the part Right clicking also ends the current action 3 Goto the Parts tab in the Spreadsheet View and scroll to U1 You will notice that the green light beside the part is slightly brighter this indicates that the part has been placed Dragging Parts from the Parts Tab Complete the following steps to drag parts from the Parts tab 1 In the Parts tab scroll down until you see J3 BERBHHBGHA a alm RefDes Value Shape Locked Trace Clearance Part Spacing PinSwap Gate Swap Part Group a SPDT swe No 10 0000 0 0000 No No Swapping No Group e J2 SPDT SW No 10 0000 0 0000 No No Swapping No Group 33 HDR1 4 HDR No 0 0000 0 0000 No No Swapping No Group 3 LED1 LED_blue LED9 No 0 0000 0 0000 No No Swapping No Group 3 Parts National Instruments Corporation 3 9 Getting Started with NI Circuit Design Suite Chapter 3 Ultiboard Tutorial 2 Click on J3 and drag it from the Parts tab onto the workspace J3 is attached to your mouse pointer 3 Drop J3 on the left edge of the board roughly in the middle As before in the Parts tab J3 s green light is slightly brighter indicating that the part has been placed For even more rapid placement of parts in the Parts tab select an unplaced LE part its green light is dim and click the Start Placing the Unpositioned Parts button Ultiboard systematically goes through the list of parts in the Parts tab selecting each one and attaching it to your
151. e this list of conditions and the following disclaimer 3 Redistributions in binary form must reproduce the above copyright notice this list of conditions and the following disclaimer in the documentation and or other materials provided with the distribution The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission THIS SOFTWARE IS PROVIDED BY THE AUTHOR AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE DATA OR PROFITS OR BUSINESS INTERRUPTION HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE Marken National Instruments NI ni com und LabVIEW sind Marken der Firma National Instruments Corporation N here Informationen zu den Marken von National Instruments finden Sie im Abschnitt Terms of Use unter ni com legal Ultiboard is a registered trademark and Multisim and Electronics Workbench are trademarks of Electronics Workbench Portions of this
152. e Multisim Tutorial Introduces you to Multisim and its many functions e Ultiboard Tutorial Shows you how to place the components and traces for the circuit described in the Multisim Tutorial chapter You will also learn how to autoplace parts and then autoroute them e Multisim MCU Tutorial Leads you through the process of simulating and debugging a circuit that contains a microcontroller For more detailed information on the features discussed in these chapters refer to the Multisim User Manual or the Ultiboard User Manual National Instruments Corporation 1 1 Getting Started with NI Circuit Design Suite Multisim Tutorial This chapter contains a tutorial that introduces you to Multisim and its many functions Some of the features described in this chapter may not be available in your edition of Multisim Refer to the release notes for a list of the features in your edition Introduction to the Multisim Interface Multisim is the schematic capture and simulation application of National Instruments Circuit Design Suite a suite of EDA Electronics Design Automation tools that assists you in carrying out the major steps in the circuit design flow Multisim is designed for schematic entry simulation and feeding to downstage steps such as PCB layout National Instruments Corporation 2 1 Getting Started with NI Circuit Design Suite Chapter 2 Multisim Tutorial Multisim s user interface consists of the followi
153. e following steps to experiment with the Board Wizard 1 Double click on Board Outline in the Layers tab 2 Click on the existing board outline in the GS1 design and press Delete 3 Choose Tools Board Wizard Getting Started with NI Circuit Design Suite 3 4 ni com Chapter 3 Ultiboard Tutorial Board Wizard Board Technology iX C change the layer technology This may cause DRC errors when vias or parts are already placed on the design and copper placed on layers that are removed will be deleted Technologies Single Sided Double Sided Multi layers constructed with double sided boards layer pairs Aulti layers constructed with double sided boards and single layer stack ups 4 Enable the Change the layer technology option to make the other options available 5 Choose Multi layers constructed with double sided boards and single layer stack ups and click Next National Instruments Corporation 3 5 Getting Started with NI Circuit Design Suite Chapter 3 Ultiboard Tutorial 6 The next dialog box is where you define the Lamination Settings for the board For this tutorial you will not change settings Board Wizard Board Layers Lamination settings Top Layer Bottom Layer Inner Layers Layer Pairs 1 Single Layer Build ups Top 0 Bottom 0 8 Through Board Via from Copper Top to Copper Bottom Ces Cae ie Click Next In the Shape of Board dialog box Make
154. echnisch A 1 Erste Schritte mit NI Circuit Design Suite S 2 T technische Unterstiitzung A 1 Training und Zertifizierung von National Instruments A 1 Treiber von National Instruments A 1 Tutorial Beschreibung 1 2 U Unterbrechen und aus Funktion heraussprin gen 4 14 Unterbrechen und Funktionsaufruf tibersprin gen 4 14 Unterbrechen und in Funktion hineinspringen 4 14 Unterbrechen und in aus Funktion hinein her ausspringen 4 12 V Verbinden der Bauelemente in Multisim 2 11 Verlegen von Leiterbahnen in Ultiboard 3 14 Verschieben von Bauelementen in Ultiboard 3 13 Virtuelle Messinstrumente 2 13 vollautomatische Leiterbahn 3 18 Z Ziehen von Bauelementen 3 8 3 10 Zum Cursor 4 15 ni com NI Circuit Design Suite NI Circuit Design Suite Woy NATIONAL p INSTRUMENTS ELECTRONICS WORKBENCH GROUP 2008 5 374482C 0112 www ni com jp support 105 0011 2 4 1 AE AF Tel 0120 527196 03 5472 2970 National Instruments Corporation 11500 North Mopac Expressway Austin Texas 78759 3504 USA Tel 512 683 0100 972 3 6393737 39 02 41309277 91 80 41190000 440 1635 523545
155. ed contact your local office or NI corporate headquarters Phone numbers for our worldwide offices are listed at the front of this manual You also can visit the Worldwide Offices section of ni com nig1oba1 to access the branch office Web sites which provide up to date contact information support phone numbers email addresses and current events Getting Started with NI Circuit Design Suite A 2 ni com Index Numerics 3D designs in Ultiboard 3 22 A analysis 2 14 assembly program 4 4 autoplacement 3 18 autorouting 3 19 bill of materials 2 17 board clean up 3 20 board outline 3 4 BOM 2 17 break and step 4 11 break and step into 4 13 break and step out 4 13 break and step over 4 13 breakpoint 4 9 C comments 3 21 connection machine trace 3 17 conventions used in the manual v D diagnostic tools NI resources A 1 documentation conventions used in the manual v NI resources A 1 dragging parts 3 8 3 9 drivers NI resources A 1 National Instruments Corporation l 1 E examples NI resources A 1 exporting files from Ultiboard 3 21 F follow me trace 3 17 G grapher 2 15 H help technical support A 1 instrument drivers NI resources A 1 interface elements 2 1 3 1 K KnowledgeBase A 1 manual trace 3 14 manufacturing assembly 3 20 MCU debugging features 4 7 overview 4 7 MCU tutorial 4 2 overview 4 1 moving parts in Ultiboard 3 12 Multis
156. eesnernessnennernnennnennennennnennnennen 4 7 Debug View Overview endecinecevth SE 4 7 Adding a Breakpoint RE 4 9 Break and Step 2 2 rigen Reihe 4 11 Break and Step Out ah wi ha ee AUR ae 4 13 Break and Step Into decries iene EEE 4 13 Break and Step Over vids cust ait ea a i eae Re te eR 4 13 RUD tO CUTS OR Su 4 13 Appendix A Technical Support and Professional Services Index Getting Started with NI Circuit Design Suite viii ni com Introduction to NI Circuit Design Suite Some of the features described in this book may not be available in your edition of NI Circuit Design Suite Refer to the release notes for a list of the features in your edition NI Circuit Design Suite Product Line The Tutorials National Instruments Circuit Design Suite is a suite of EDA Electronics Design Automation tools that assists you in carrying out the major steps in the circuit design flow Multisim is the schematic capture and simulation program designed for schematic entry simulation and feeding to downstage steps such as PCB layout Multisim also includes mixed analog digital simulation capability and microcontroller co simulation Ultiboard fed from Multisim is used to design printed circuit boards perform certain basic mechanical CAD operations and prepare them for manufacturing Ultiboard also provides automated parts placement and layout This book contains the following step by step tutorials
157. en F r Informationen zu diesem Programm setzen Sie sich entweder tele fonisch mit einer Niederlassung von National Instruments in Ihrer National Instruments Corporation A 1 Erste Schritte mit NI Circuit Design Suite Anhang A Technische Unterst tzung und professioneller Service N he in Verbindung besuchen Sie die Website ni com alliance englisch oder klicken Sie auf ni com germany im Men links auf den Link Alliance Program Sollten Sie nach dem Besuch unserer Website ni com noch Fragen haben wenden Sie sich bitte an eine Niederlassung von National Instru ments in Ihrer N he Die Telefonnummern aller Niederlassungen finden Sie am Anfang dieses Handbuchs Auf die Websites der einzelnen Nieder lassungen auf denen Sie immer die aktuellen Kontaktinformationen Telefonnummern des technischen Supports E Mail Adressen sowie aktuelle Ereignisse und Veranstaltungen finden gelangen Sie ber ni com niglobal Erste Schritte mit NI Circuit Design Suite A 2 ni com Stichwortverzeichnis Zahlen 3D Entwiirfe in Ultiboard 3 23 A Analyse 2 16 Assembly Programm 4 4 Automatische Leiterbahnfiihrung 3 21 Automatisches Einf gen 3 20 Bauelemente mit zwei Anschl ssen direkt in eine Verbindung einf gen 2 10 Beispiele von National Instruments A 1 Benutzerschnittstellenelemente 2 1 Berichte 2 18 BOM 2 19 D Diagnoseprogramme von National Instruments A 1 Dokumentation In diesem Handbuch verwen
158. en der Unterkanten von H3 und H4 sowie der linken Kanten von Hl und H4 fort Verlegen von Leiterbahnen Zum Verlegen von Leiterbahnen stehen Ihnen die folgenden Optionen zur Verf gung e Manuell eingef gte Leiterbahn Follow me Leiterbahn e Vollautomatische Leiterbahn Erste Schritte mit NI Circuit Design Suite 3 14 ni com Kapitel 3 Einf hrung in Ultiboard Eine manuell eingefiigte Leiterbahn wird genau so verlegt wie Sie es vor geben auch wenn sie durch ein Bauelement oder eine andere Leiterbahn verl uft Eine Follow me Leiterbahn stellt selbst ndig zul ssige Verbin dungen zwischen den mit der Maus angew hlten Anschlussstiften her Sie k nnen sich also von Anschlussstift zu Anschlussstift bewegen und so eine zul ssige Leiterbahn anlegen Beim vollautomatischen Einf gen von Lei terbahnen werden zwei Anschlussstifte auf dem k rzestm glichen Weg miteinander verbunden wobei der Verlauf der Leiterbahn sp ter g ndert werden kann Bevor Sie mit der Maus klicken um eine Leiterbahn an einer bestimmten Stelle zu fixieren k nnen Sie jederzeit ein St ck der Leiterbahn entfernen indem Sie den Cursor zur ckbewegen Jedes Mal wenn Sie eine Leiter bahn durch Klicken manuell verlegen oder wenn eine Follow me Leiter bahn oder vollautomatisch verlegte Leiterbahn die Richtung ndert wird ein neues Segment erzeugt Dieser Umstand ist bei nderungen zu ber cksichtigen Manuelles Verlegen von Leiterbahnen wg wg
159. entfernen fiihren Sie die folgenden Schritte aus Klicken Sie den Haltepunkt in der Debug Auflistung oder der main asm Quellcodeansicht doppelt an oder Wahlen Sie MCU Entferne alle Haltepunkte um alle Haltepunkte zu entfernen BR Hinweis Haltepunkte in der Debug Auflistung werden genauso hinzugef gt und entfernt wie in der Quellcodeansicht Unterbrechen und in aus Funktion hinein herausspringen 1 W hlen Sie MCU Entferne alle Haltepunkte um alle Haltepunkte zu entfernen Wechseln Sie zur Schaltplan Entwurfsansicht die Registerkarte Get ting Started MCU und w hlen Sie Simulieren Start Auf der LCD Anzeige wird nun der Text Graphical LCD T6963C for Mul tisim angezeigt W hlen Sie Simulieren Pausieren Rufen Sie die Debug Auflistung f r Ul auf Wie Sie sehen ist die Programmzeile in der Fehlerliste an der Stelle wo die Ausf hrung angehalten hat links durch einen gelben Pfeil gekennzeichnet Erste Schritte mit NI Circuit Design Suite 4 12 ni com Kapitel 4 Einf hrung in Multisim MCU Name Adresse Hexadezimal INDF 00 00 D2 N TMRO 01 i gt Bi PC 0193 ROM 0000 mee 0010 0018 0020 ANP 00 o oe EA 2834 0000 0000 nn 0000 0000 0000 nn 0782 3427 3452 34 3441 344C 3400 34 3416 3419 3416 34 Rdde amp Add WAE 2d e a Name Hexadezimal Bit Arbeitsregister 50 0 b D Quelldatei Debug Aufli
160. erstand senkrecht anzuordnen driicken Sie beim Einfiigen des Widerstands die Tastenkombination lt Strg R gt 0 Tipp Die Bauelemente werden in der Reihenfolge mit Referenzbezeichnern versehen in der sie eingef gt werden z B U1 U2 U3 Wenn Sie also die Bauelemente in einer ande ren Reihenfolge als in der Abbildung einf gen ndert sich auch die Nummerierung entsprechend Dies hat jedoch keinerlei Einfluss auf die Funktion der Schaltung Erste Schritte mit NI Circuit Design Suite 2 8 ni com Kapitel 2 Einf hrung in Multisim 5 F gen Sie die Bauelemente fiir die Steuerung des Z hlers ein Klicken Sie nach dem Einf gen mit der rechten Maustaste auf jeden SPDT Schalter und w hlen Sie Horizontal kippen VCC 5V J1 Q ap Wia Key Space J2 a Key Space GND Tipp Die SPDT Schalter befinden sich in der Gruppe Basic und der Familie Switch Tipp Wenn das ben tigte Bauteil schon auf dem Schaltplan vorhanden ist markieren Sie es w hlen Sie Bearbeiten Kopieren und dann Bearbeiten Einf gen Sie k nnen es au erdem aus der Verwendungsliste ausw hlen und durch einen Klick in den Arbeitsbe reich einf gen ug wk 6 F gen Sie die Bauteile f r den Analogverst rker wie dargestellt ein und drehen Sie sie bei Bedarf VCC V1 R2 0 2 Vpk gt R3 50k0 1kHz Stk Key A 0Deqg 5 National Instruments Corporation 2 9 Erste Schritte mit NI Circuit Design S
161. fll 0x27 G 0x52 It NI Circuit Design Suite 4 4 ni com jp LCD MCU 4 Multisim MCU DATA DATA_NUM EQU 23H TXPRT Text data Grapical LCD T6963C for Multisim ADDWF PCL 1 RETLU 0x27 RETLU 0x52 RETLU 0x41 RETLW 0x50 RETLU 0x48 RETLU 0x49 RETLU 0x43 RETLU Ox41 RETLU Ox4c RETLU 0x00 RETLU Ox2c START LCD LCD LCD ETS 0x0000 ox2941
162. g Started ewprj and click Open The project file is loaded into Ultiboard National Instruments Corporation 3 3 Getting Started with NI Circuit Design Suite Chapter 3 Ultiboard Tutorial GettingStarted Ultiboard GS11 File Edit View Place Design Tools Autoroute Options Window Help Frage a OSes amp Bw II RAR N BB Oh SEF PA PY AN RENT ZS copper Top Automatic 10 0000 mil lylm lv BEAL Tar 2h de O m Ja ji DL il _ ee bee r SettingStarted dr 651 TE 652 dr 653 Ir 654 dr 655 Projects Layers i ess i es i ess i esz dr csi 2 r gt EKDE a djm RefDes value Shape Locked Trace Clearance Part Spacing Pin Swap Gate Swap Part Group Ci 1uF POL ELKO No 0 0000 0 0000 No No Swapping No Group C2 10nF KERK No 0 0000 0 0000 No No Swapping No Group C3 100uF ELKO No 0 0000 0 0000 No No Swapping No Group v Results DRC Parts Part Groups Nets Net Groups SMT Pads THT Pads Vias Copper Areas Keep ins Keep outs PCB Layers Parts Position Statistics mil 5 To select a design for example GS1 either click on its tab or click on its name in the Projects tab of the Design Toolbox Creating a Board Outline You can create a board outline in one of the following ways e draw a board outline using the drawing tools e import a DXF file use the Board Wizard Complete th
163. he second component to finish the connection Multisim automatically places the wire which conveniently snaps to an appropriate configuration as shown below This feature saves a great deal of time when wiring large circuits R1 2000 5 RCO SND 74HC190N 4V 3 You can also control the flow of the wire by clicking on points as you move the mouse Each click fixes the wire to that point Getting Started with NI Circuit Design Suite 2 10 ni com Chapter 2 Multisim Tutorial 4 Finish wiring the Digital Counter section as shown below vcc VCC Tv Tv U1 R4 RCO 74LS47N 74HC190N 4V 9 Tip Use Bus Vector Connect to wire multi pinned devices like U3 and R4 together in a bus Refer to the Multisim User Manual for details RS Tip Virtual Wiring To avoid clutter you could use virtual connections between the Counter Control and Digital Counter sections When two nets have the same net name they are virtually connected National Instruments Corporation 2 11 Getting Started with NI Circuit Design Suite Chapter 2 Multisim Tutorial 5 Finish wiring the circuit as shown below vec 5V vec vec a vec 5V 7 hh 5 U4 s C1 a 2 a c3 o p uF 10nF 100uF al ji T zi 741 l 4 HDR1X4 on
164. her National Instruments Corporation The Grapher is a multi purpose display tool that lets you view adjust save and export graphs and charts It is used to display the results of all Multisim analyses in graphs and charts and a graph of traces for some instruments for example the results of the oscilloscope Complete the following steps to view results of a simulation on the Grapher 1 Run the simulation as described earlier 2 Select View Grapher 2 15 Getting Started with NI Circuit Design Suite Chapter 2 Multisim Tutorial kd Grapher View m ed File Edit View Tools 5 DEsUSsR HEM AaQaaalevdd S Bae AC Analysis Oscilloscope x5C1 Getting Started Final A A 500 0m m El a Fan 8 0m 16 0m 24 0m Tim 32 0m 40 0m The Postprocessor The Postprocessor lets you manipulate the output from analyses performed on a circuit and plot the results on a graph or chart Types of mathematical operations that can be performed on analysis results include arithmetic trigonometric exponential logarithmic complex vector and logic Reports Multisim allows you to generate a number of reports Bill of Materials BOM Component Detail Report Netlist Report Schematic Statistics Spare Gates and the Cross Reference Report This section uses the BOM as an example for the tutorial circuit Getting Started with NI Circuit Design Suite 2 16 ni com Chapter 2 Multisim
165. i Keepryeut Layer Goard Cutline v Projekte Lagen O csi D csz jose 0 653 fF ase 655 RT zT g g Egu GS tr By AJS am Reffez Wert Fom Gesperrt Leterbahnfreraum Bautekwaschenraum Arschlhssstfteausch lo a cl tu EL Nen 0 0000 0 0000 nen cc IOrF KE Nen 0 0009 0 0990 Nei e 0 Ela Nen 0 0000 9 0000 Ner lt gt Durchkontaktierungen upferfachen Belsghareffreizuh lt gt X 1938 3176 Y 360 2978 dK 26 9639 Of 47 1543 54 2869 mi 9 8 5 Ansicht Symbolleiste 6 Haupt Symbolleiste 7 Autoroute Symbolleiste Men leiste Standard Symbolleiste Auswahl Symbolleiste Symbolleiste f r Zeicheneinstellungen AUN 8 Statusleiste 9 Arbeitsbereich 10 Tabellen Ansicht 11 Entwurf Toolbox 12 3D Vorschau 13 Vogelperspektive Die Meniileiste enth lt die Befehle f r s mtliche Funktionen Die Standard Symbolleiste enth lt Schaltfl chen f r die meistverwende ten Funktionen wie Speichern Drucken Ausschneiden oder Einf gen Je mehr Elemente und Leiterbahnen Sie einer Leiterplatte hinzuf gen desto schwieriger wird unter Umst nden das Markieren einzelner Schal tungsteile Die Symbolleiste Auswahl enth lt Schaltfl chen die Ihnen das Markieren von Objekten erleichtern sollen Erste Schritte mit NI Circuit Design Suite 3 2 ni com Kapitel 3 Einf hrung in Ultiboard Die Symbolleiste Zeichnungseinstellungen erm glicht Ihnen die Aus wahl
166. im tutorial overview 2 3 Getting Started with NI Circuit Design Suite Index National Instruments support and services A 1 0 opening Multisim files 2 5 opening Ultiboard tutorial 3 3 P placing components in Multisim 2 5 placing parts in Ultiboard 3 7 3 10 placing traces in Ultiboard 3 13 placing Ultiboard dB parts 3 11 postprocessor 2 16 products 1 1 programming examples NI resources A 1 R reports 2 16 run to cursor 4 13 S saving Multisim files 2 5 schematic capture 2 4 Getting Started with NI Circuit Design Suite simulation 2 12 software NI resources A 1 support technical A 1 T training and certification NI resources A 1 troubleshooting NI resources A 1 tutorial descriptions 1 1 two pinned components dropping directly onto a wire 2 9 U user interface elements 2 1 V virtual instruments 2 12 W Web resources A 1 wiring components in Multisim 2 9 ni com NI Circuit Design Suite Erste Schritte mit NI Circuit Design Suite Mai 2008 374482C 0113 Pins INSTRUMENTS ELECTRONICS WORKBENCH GROUP Deutschsprachige Niederlassungen National Instruments National Instruments National Instruments Germany GmbH Ges m b H Switzerland Konrad Celtis Stra e 79 Plainbachstra e 12 SonnenbergstraBe 53 81369 M nchen 5101 Salzburg Bergheim CH 5408 Ennetbaden Tel 49 89 7413130 Tel 43 662 457990 0 Tel 41 56 2005151 41 21 3205151 Lausanne Fax
167. in the excerpt turn off the auto write mode in the LCD display after exiting the loop MOVLW CMD_AWROFF MOVWF CMD_BUFFER CALL CMD The next few instructions draw the horizontal and sloped lines in graphical mode 6 draw wave once MOVF ADDR_L 0 BTFSC STATUS Z CALL DRAW_WAVE Working with the MCU Debugging Features This section provides a step by step walkthrough of Multisim s MCU debugging features It is important to follow the steps exactly as scripted otherwise the descriptions will no longer apply Once you understand the breakpoint and single stepping features you can explore the possibilities of advanced MCU debugging Debug View Overview To write a program for a microcontroller either in C or assembly you create source code files asm inc c h as part of the MCU workspace which can in turn be edited in the source code view Complete the following step to access the source code view 1 Double click on the file item for example main asm shown in the MCU workspace hierarchy in the Design Toolbox During simulation additional debugging information displays to help you understand what is happening inside the MCU For example you can National Instruments Corporation 4 7 Getting Started with NI Circuit Design Suite Chapter 4 Multisim MCU Tutorial switch between viewing events happening in the high level source and at the assembly instruction level which also displays the actual opcodes
168. ing Started with NI Circuit Design Suite Chapter 4 Multisim MCU Tutorial Source file debug listing main asm a 599 Name Hex Bit 7 Bit t 600 READ_DATA 601 00182 CALL SET_PORT_B_INPUT Working register 27 10 10 602 00188 MOYLW 0x04 0100 A mr i gt 603 0018C MOVUF PORTA 604 0018D MOVF PORTE 0 GET Name Address Hex Bit 7 B 605 0018E MOVUF DATA BUFFER 606 0016F RETURN INDF nn o o 0 607 608 nd ar 609 SEND_DATA A 610 00190 CALL SET PORT B OUTPUT 611 00191 MOYF DATA_BUFFER 0 output 612 00192 MOYUF PORTB 613 00193 MOYLW OxOA 1010 614 00194 NOVUF PORTA 615 00195 BSF PORTA 2 616 00196 RETURN PC 0193 Sir er 618 SEND CMD ROM nn m 02 oja 619 00197 CALL SET PORT B OUTPUT BE 2834 0000 0000 loo 620 00198 MOYF CMD_BUFFER 0 output cr 621 00199 MOVUF PORTB Bug 0000 0000 0000 00 622 00192 MOVLW OxOB 10114 0010 0782 3427 3452 34 623 00195 MOYUF PORTA 0018 3441 344C 3400 34 624 0019C BSF PORTA 2 0020 3416 3419 3416 34 625 0019D eer nn Made AAAF 2407 2a 626 TORT 5 Select MCU MCU PIC16F84A U1 Memory View to view the current state of the memory inside the microcontroller Ul Notice that the value of the program counter PC in the IROM section is one higher than the address value of the line the yellow arrow
169. ircuit Design Suite Chapter 2 Multisim Tutorial Database Component Symbol ANST Master Database v en_seg_decimal_com_a_blue Group Family ER all Families El VOLTMETER AEF AMMETER Function Erros SEGMENT DISPLAY WITH DECIMAL POINT AR BUZZER OMMON ANODE LAMP VIRTUAL_LAMP HEX_DISPLAY Model manuf 1D BARGRAPH Footprint manuf Type Generic 7SEGBDIP14B Generic DISP1105 Hyperlink Searching seven_seg_decimal_com_a_blue 3 Move the cursor to the bottom right of the workspace and left click to place the component Note that the Reference Designator for this component is U1 4 Place the remaining components in the Digital Counter area as shown below Getting Started with NI Circuit Design Suite 2 6 ni com Chapter 2 Multisim Tutorial VCC VCC U1 R4 74LS47N MD 74HC190N_4V RB Note When placing resistors inductors or capacitors RLC components the Select a Component browser has slightly different fields than for other components When placing any of these components you can choose any combination of the component s value for example the resistance value type for example carbon film tolerance footprint and manufacturer If you are placing a component that will be ultimately exported to PCB layout and become part of a Bill of Materials you must be careful that the combinati
170. is pointing to In the example in the above figure the address in the Debug View is 192 and the PC value in the Memory View is 193 Note Ifthe MCU has not finished executing the current command when you pause the simulation the value in the program counter will be the same as the address value You can also look at the other sections of the Memory View to see the values inside the other parts of memory in the microcontroller 2 6 Click the Step into button in the Simulation tool bar The current instruction is executed and the simulation pauses at the next instruction oO 8 Select Simulate Stop Getting Started with NI Circuit Design Suite 4 12 ni com Break and Step Out 1 2 3 oly Break and Step Into 1 Be 2 3 gt ve Break and Step Over gt 1 Run to Cursor iml National Instruments Corporation Chapter 4 Multisim MCU Tutorial Place a breakpoint in the SEND_DATA subroutine at MOVWF PORTB Select Simulate Run The simulation pauses at the breakpoint Click the Step out button in the Simulation toolbar to step out of the SEND_DATA subroutine The simulation executes all of the remaining instructions in the SEND_DATA subroutine and pauses at the first instruction after the call to the SEND_DATA subroutine Select MCU Remove all breakpoints Place a breakpoint at the call to SEND_DATA where you had just stepped out of just above the yellow arrow Select Si
171. isses nach Ul Zoomen Sie dazu den Bereich mit lt F8 gt heran bis Sie Ul erkennen k nnen 0 Tipp Mit Hilfe der Funktion Bearbeiten Suchen k nnen Sie nach einem Bauelement suchen Diese Funktion arbeitet im Gro en und Ganzen wie die Suchfunktion anderer Anwendungen Zus tzlich k nnen Sie ein Bauelement jedoch auch nach Namen Nummer Form und Wert oder nach all diesen Parametern ausfindig machen Einzelheiten dazu finden Sie im Benutzerhandbuch zu Ultiboard Erste Schritte mit NI Circuit Design Suite 3 8 ni com Kapitel 3 Einf hrung in Ultiboard 2 Klicken Sie auf U1 die 7 Segment Anzeige und ziehen Sie sie an die in der unteren Abbildung gezeigte Position R Hinweis Weitere Informationen zu den hier dargestellten Kraftvektoren und Luftlinien im Layout finden Sie im Ultiboard Benutzerhandbuch 1 Q 1 Kraftvektor 2 Luftlinien U1 bleibt so lange ausgew hlt bis Sie die Markierung aufheben In Ultiboard m ssen Sie jeden Vorgang explizit beenden In diesem Fall wird die Auswahl des Bauelements durch einen einfachen Klick an eine andere Stelle aufgehoben Auch durch einen Klick mit der rechten Maustaste kann der aktuelle Vorgang beendet werden 3 Klicken Sie auf die Registerkarte Bauteile in der Tabellen Ansicht und scrollen Sie zu Ul Sie werden feststellen dass die gr ne LED neben dem Bauelement etwas heller ist Das weist darauf hin dass das Bauelement bereits auf die Platine platziert wurde Na
172. it Design Suite 4 10 ni com jp 4 Multisim MCU 4 BCF STATUS RPO main asm 1 RE gt 5 gt MCU lL main asm FEL dEn MCU DB 1 MCU
173. it den MCU Fehlersuchfunktionen eee eerie 4 8 bersicht zur Fehlersuche cccccscsssssessessessessessesecsessessseseeucseesesseeseancseeseeseens 4 8 Hinzuf gen von Haltepunkten lt 4 11 Unterbrechen und in aus Funktion hinein herausspringen 4 12 Unterbrechen und aus Funktion herausspringen 4 14 Unterbrechen und in Funktion hineinspringen ee 4 14 Unterbrechen und Funktionsaufruf berspringen u2uussn nennen 4 14 LUM CULS OF a En ERE EE 4 15 Anhang A Technische Unterst tzung und professioneller Service Stichwortverzeichnis Erste Schritte mit NI Circuit Design Suite viii ni com Einf hrung in die NI Circuit Design Suite Einige der in diesem Handbuch beschriebenen Funktionen sind m glicher weise nicht in Ihrer Version der NI Circuit Design Suite verf gbar Einzelheiten zum Funktionsumfang Ihrer Ausgabe finden Sie in den Versionshinweisen NI Circuit Design Suite Produktlinie Die Circuit Design Suite von National Instruments ist ein EDA Software paket EDA Electronics Design Automation mit dessen Hilfe Ihnen die wichtigsten Schritte zur Planung und Erstellung von Schaltungen erleich tert werden Multisim ist ein Programm zur Erstellung und Simulation von Schaltpl nen Es eignet sich zur Schaltplaneingabe zum Durchf hren
174. k 2006 2008 National Instruments Corporation All rights reserved Important Information Warranty The media on which you receive National Instruments software are warranted not to fail to execute programming instructions due to defects in materials and workmanship for a period of 90 days from date of shipment as evidenced by receipts or other documentation National Instruments will at its option repair or replace software media that do not execute programming instructions if National Instruments receives notice of such defects during the warranty period National Instruments does not warrant that the operation of the software shall be uninterrupted or error free A Return Material Authorization RMA number must be obtained from the factory and clearly marked on the outside of the package before any equipment will be accepted for warranty work National Instruments will pay the shipping costs of returning to the owner parts which are covered by warranty National Instruments believes that the information in this document is accurate The document has been carefully reviewed for technical accuracy In the event that technical or typographical errors exist National Instruments reserves the right to make changes to subsequent editions of this document without prior notice to holders of this edition The reader should consult National Instruments if errors are suspected In no event shall National Instruments be liable for any damages arisi
175. lank file opens on the workspace called Circuitl Complete the following steps to save the file with a new name 1 Select File Save As to display a standard Windows Save dialog 2 Navigate to the location where you wish the file to reside enter MyGettingStarted as the filename and click the Save button 9 Tip To guard against accidental loss of data set up a timed auto backup of the file in the Save tab of the Preferences dialog box Complete the following step to open an existing file 1 Select File Open navigate to the location where the file resides highlight the file and click on the Open button Tip To view files from earlier versions of Multisim select the desired version in the Files of Type drop down in the Open dialog Placing the Components Complete the following steps to start placing components 1 Open MyGettingStarted ms10 as described above 2 Select Place Component to display the Select a Component browser navigate to the 7 segment LED display as shown below and click OK The component appears as a ghost on the cursor wg Tip Once you have selected the desired Group and Family start typing the component s name in the browser s Component field As you type the string appears in the Searching field at the bottom of the browser In the example below type seven_seg_decimal_com_a_blue Matches are displayed as you type National Instruments Corporation 2 5 Getting Started with NI C
176. le Verbindungen herstellen Wenn zwei Netze den gleichen Netznamen enthalten sind sie virtuell miteinander verbunden ag Erste Schritte mit NI Circuit Design Suite 2 12 ni com Kapitel 2 Einf hrung in Multisim 5 Verdrahten Sie den Rest der Schaltung entsprechend der Abbildung siehe unten vec 5V E ve se J3 5V j Is U4 ts si C3 iur a 100uF al T abs 741 t HORT Lonn GND V1 R3 R2 N0 2Vpk 1ko 50kO 50 Vcc_ vec J 1kHz 5 Key Space 5V sv 7 0Deg YALE Counter Control x VCC R1 5V J1 ta LIIIIIIR4 pa U2 U3 RPACK 1800 Ne TTTTTTT Key Space e E 3 2 j Ho g xp 2 49 e f Y yo neo i BL RBO MAX MIN lsp cx Key Space GND 74LS47N GND y 74HC190N_4V Simulation Durch Simulation Ihrer Schaltungen mit Multisim lassen sich schon fr h Schaltungsfehler erkennen wodurch Zeit und Geld gespart wird Virtuelle Messinstrumente In diesem Abschnitt wird Ihre Schaltung mit Hilfe eines virtuellen Oszillo graphen simuliert Tipp Um Zeit zu sparen k nnen Sie aber auch die Datei Getting Started 2 ms10 aus dem Ordner Getting Started verwenden der sich unter samples befindet 1 J1 J2 und R2 sind interaktive Bauelemente Um die Bedientasten f r J1 J2 und R2 festzulegen klicken Sie die Bauelemente doppelt an Geben Sie auf der Registerkarte Wert
177. letzten Befehls zur ck der vor dem Aufruf der Subroutine ausgef hrt wurde Das passiert so lange bis alle 35 Zeichen bermittelt wurden Mit den letzten drei Anweisungen wird nach Verlassen der Schleife der Auto Schreibmodus der LCD Anzeige ausgeschaltet MOVLW CMD_AWROFF MOVWF CMD_BUFFER CALL CMD Mit den folgenden Anweisungen wird die horizontale und die schr ge Linie im Grafikmodus gezeichnet 6 draw wave once MOVF ADDR_L 0 BTFSC STATUS Z CALL DRAW_WAVE Arbeiten mit den MCU Fehlersuchfunktionen Dieser Abschnitt enth lt eine Schritt fiir Schritt Beschreibung der Fehler suchfunktion des Multisim MCU Moduls Es ist wichtig dass die Schritte genau in der angegebenen Reihenfolge ausgef hrt werden Sobald Sie die Haltepunktfunktion und die Einzelschrittverfahren verstanden haben k nnen Sie sich mit den M glichkeiten der erweiterten MCU Fehlersuche befassen bersicht zur Fehlersuche Um ein Programm f r einen Mikrocontroller entweder in C oder Assembler zu schreiben erstellen Sie zun chst Quellcodedateien also eine asm inc c und h Datei als Teil des MCU Arbeitsbereichs Diese Dateien k nnen dann in der Quellcodeansicht bearbeitet werden Erste Schritte mit NI Circuit Design Suite 4 8 ni com Kapitel 4 Einf hrung in Multisim MCU Um zur Quellcodeansicht zu gelangen 1 Klicken Sie die Datei z B main asm in der Entwurf Toolbox in der Hierarchie der MCU Arbeitsbereiche doppelt
178. matic part placement functionality ee Tip Before autoplacing parts pre place and lock any parts that you do not wish to be moved during the autoplacement process The mounting holes and U1 J1 J2 J3 and LED 1 in GS5 have been pre placed and locked For details on locking parts refer to the Ultiboard User Manual Getting Started with NI Circuit Design Suite 3 18 ni com Chapter 3 Ultiboard Tutorial Complete the following steps to autoplace the parts in Getting Started ewprj 1 Open the Gs5 design in Ultiboard 2 Select Autoroute Start Autoplacement The parts are placed on the circuit board Autorouting Traces You can place traces in Ultiboard using the methods described earlier in this chapter or automatically route the traces as described below Complete the following steps to autoroute the traces in Getting Started ewprj 1 Open the GS3 design in Ultiboard 2 Select Autoroute Start Resume Autorouter The workspace goes to Autorouter Mode and trace autorouting begins As autorouting proceeds you will see traces being placed on the board When autorouting is complete Autorouter Mode closes and you are returned to the workspace 3 Optionally select Autoroute Start Optimization to optimize the placement of the traces National Instruments Corporation 3 19 Getting Started with NI Circuit Design Suite Chapter 3 g Ultiboard Tutorial The autorouter can be stopped at any time
179. mit lt F8 gt n her heranzoomen 3 Klicken Sie auf den Anschlussstift der im Schritt oben festgelegt wurde Ultiboard hebt daraufhin s mtliche Anschlussstifte hervor die zum selben Netz geh ren Die Hervorhebungsfarbe kann auf der Regi sterkarte Farben des Dialogfelds Voreinstellungen Optionen Allgemeine Einstellungen ver ndert werden So wissen Sie welche Anschlussstifte Ihrem Schaltplan entsprechend zu verbinden sind Erste Schritte mit NI Circuit Design Suite 3 16 ni com Kapitel 3 Einf hrung in Ultiboard 1 Anschlussstifte desselben Netzes 4 Bewegen Sie den Cursor in eine beliebige Richtung Eine gr ne Linie die Leiterbahn wird nun an den ausgew hlten Anschlussstift ange h ngt Mit jedem Klick fixieren Sie ein Leiterbahnensegment wie in der unten stehenden Abbildung 2 gezeigt 5 Klicken Sie auf den Endanschlussstift 1 Leiterbahn 3 Endanschlussstift 2 Fixieren der Leiterbahn durch Mausklick 6 Mit einem Rechtsklick wird das Verlegen von Leiterbahnen beendet National Instruments Corporation 3 17 Erste Schritte mit NI Circuit Design Suite Kapitel 3 Einf hrung in Ultiboard Verlegen von Follow me Leiterbahnen Um eine Follow me Leiterbahn einzufiigen fiihren Sie folgende Schritte aus 1 W hlen Sie Platzieren Follow me 2 2 Klicken Sie auf den oberen Anschlussstift von J3 3 Klicken Sie in der linken Spalte von U4 auf den zweiten Anschlussstift von
180. mulate Run The simulation pauses at breakpoint that you just placed Click the Step Into button on the Simulation toolbar The simulation pauses inside the SEND_DATA subroutine Select Simulate Run The simulation pauses at the same breakpoint that you set previously at the call to the subroutine SEND_DATA Click the Step Over button on the Simulation toolbar The entire SEND_DATA subroutine is executed and the simulation pauses at the instruction after the CALL SEND_DATA instruction Select MCU Remove all breakpoints Click on a line inside the SEND_DATA subroutine since we know that this subroutine will be called again to send data to the LCD display Click the Run to Cursor button in the Simulation toolbar The simulation runs until the MCU hits the instruction that you clicked on inside the SEND_DATA subroutine It then pauses and places the yellow arrow next to that line 4 13 Getting Started with NI Circuit Design Suite Technical Support and Professional Services Visit the following sections of the award winning National Instruments Web site at ni com for technical support and professional services National Instruments Corporation Support Technical support resources at ni com support include the following Self Help Technical Resources For answers and solutions visit ni com support for software drivers and updates a searchable KnowledgeBase product manuals step by step troubleshoo
181. n the Design Toolbox Scroll to the line just below the START label BCF STATUS RPO Double click on the first grey column on the left side of the main asm window next to the line BCF STATUS RPO A red circle appears at that location indicating that a breakpoint has been set at that line Select Simulate Run The simulation automatically pauses at the breakpoint that you have just set The Debug View automatically jumps into focus with a yellow arrow showing where the MCU program execution is paused Getting Started with NI Circuit Design Suite 4 10 ni com Chapter 4 Multisim MCU Tutorial Complete the following to remove the breakpoint 1 Double click on the breakpoint in the Debug View or the main asm source code view Or By Select MCU Remove all breakpoints to remove all breakpoints 3 Note You can add and remove breakpoints in the Debug View in the same manner as the source code view Break and Step 1 Select MCU Remove all breakpoints to remove all breakpoints select Simulate Run The words Graphical LCD T6963CC for b 2 Go to the circuit design view the Getting Started MCU tab and Multisim start to display on the graphical LCD component 3 Select Simulate Pause il 4 Go to the Debug View for U1 and notice that the line of code in the debug listing view where the MCU has stopped its execution is indicated by a yellow arrow in the left most column National Instruments Corporation 4 11 Gett
182. n to be attached to a design You can pin a comment to the workspace or directly to a part When a part with an attached comment is moved the comment also moves For details refer to the Ultiboard User Manual Exporting a file refers to producing an output from Ultiboard in a format that can be understood by the board manufacturer An exported file contains complete information describing how a finished board is to be manufactured Files that can be exported include Gerber RS 274X and RS 274D files For complete details refer to the Ultiboard User Manual National Instruments Corporation 3 21 Getting Started with NI Circuit Design Suite Chapter 3 Ultiboard Tutorial Viewing Designs in 3D Ultiboard lets you see what the board looks like in three dimensions at any time during the design For complete details refer to the Ultiboard User Manual Tip You can use the Internal View to look between the layers of a multi layer PCB For details refer to the Ultiboard User Manual Getting Started with NI Circuit Design Suite 3 22 ni com Multisim MCU Tutorial Overview The tutorial in this chapter leads you through the process of simulating and debugging a circuit that contains a microcontroller The files used for this tutorial install with your NI Circuit Design Suite software at samples Getting Started This tutorial uses Getting Started MCU ms10 which accesses the contents of folder L
183. ndbuch zu Multisim 3 dem Benutzerhandbuch zu Ultiboard und in den Hilfedateien beschrieben Ultiboard Benutzeroberflache Ultiboard ist ein Programm zur Leiterplattenentflechtung und Bestandteil der Circuit Design Suite von National Instruments Bei der NI Circuit Design Suite handelt es sich um ein EDA Softwarepaket EDA Electro nics Design Automation mit dessen Hilfe Ihnen die wichtigsten Schritte zur Planung und Erstellung von Schaltungen erleichtert werden Ultiboard erzeugt anhand der Daten von Multisim gedruckte Schaltungen fiihrt ein fache mechanische CAD Arbeitsschritte durch z B Platzierung der Bauteile auf den Leiterplatten und bereitet die Leiterplatten fiir die Pro duktion vor Ultiboard sorgt au erdem f r die automatische Bauteilplatzierung und die Leiterplattenentflechtung Layout Die Benutzeroberfl che von Ultiboard besteht aus verschiedenen Elementen National Instruments Corporation 3 1 Erste Schritte mit NI Circuit Design Suite Kapitel 3 Einf hrung in Ultiboard bettingStarted Witiboar d 654 Joe Obe Gearbeten Ansicht Fs eren Entwurf Extras emsasche Leiterbahnf hrung Optinen Eerster Ho laix DES amp EIRARA SIERF Oh A TT YY TE TE opp tometschii0 0CTD mi yl mi v EL i ae i AA IH Ergebnisse ORC Teils Beutedcruppisungen Netze Netzgruppen SMT Lotaugen THT LCr Leiterplatte a zB Biccpos Batom
184. ng basic elements Getting Sfarted 4 Muttisinh Getting Startkd Z HU 3malste Transfer Tock Reports Options Window Heb TASC amp aaa e m Slo a B mle 2 a nue x Gr Greuet voc VCC sia cu L Sv A Getin Started 2 cr Lg F Lo J po ul Uni ODu Getting Stated 2 T T 4 7 2 Vpk Sane 2 e kE ee Raae o T Courter Cortrat VCC EE EE EE LE ls G lt Hierarchy Diabity Project view crostt E st RefOes Shest Section SectionNema Family BP cating stated 2 Behn S Mr Fhotprint Desrlptan Label Coordinate Kir Rotation ip Yaua Tokrance Manufacturer wee Gett POWE 5y c3 Unrat Um WCC Gett POWE G Unrot Un u vorm ur Resuks Wets Components PCB Layers Sinulsson r 1 Menu Bar 5 View Toolbar 8 In Use List 11 Circuit Window 2 Design Toolbox 6 Simulation Toolbar 9 Instruments Toolbar 12 Spreadsheet View 3 Component Toolbar 7 Main Toolbar 10 Scroll Left Right 13 Active Tab 4 Standard Toolbar The Menu Bar is where you find commands for all functions The Design Toolbox lets you navigate through the different types of files in a project schematics PCBs reports view a schematic s hierarchy and show or hide different layers The Component toolbar contains buttons that let you select components from the Multisim databases for placement in your schema
185. ng out of or related to this document or the information contained in it EXCEPT AS SPECIFIED HEREIN NATIONAL INSTRUMENTS MAKES NO WARRANTIES EXPRESS OR IMPLIED AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE CUSTOMER S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER NATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA PROFITS USE OF PRODUCTS OR INCIDENTAL OR CONSEQUENTIAL DAMAGES EVEN IF ADVISED OF THE POSSIBILITY THEREOF This limitation of the liability of National Instruments will apply regardless of the form of action whether in contract or tort including negligence Any action against National Instruments must be brought within one year after the cause of action accrues National Instruments shall not be liable for any delay in performance due to causes beyond its reasonable control The warranty provided herein does not cover damages defects malfunctions or service failures caused by owner s failure to follow the National Instruments installation operation or maintenance instructions owner s modification of the product owner s abuse misuse or negligent acts and power failure or surges fire flood accident actions of third parties or other events outside reasonable control Copyright Under the copyright laws this publication may not be repro
186. nterlegt 2 Bewegen Sie den Cursor in die linke untere Ecke des Leiterplattenum risses und f hren Sie einen Mausklick aus National Instruments Corporation 3 7 Erste Schritte mit NI Circuit Design Suite Kapitel 3 Einf hrung in Ultiboard Platzieren von Bauelementen Zum Platzieren der Bauteile in der Datei GS1 auf die Platine gibt es ver schiedene M glichkeiten e W hlen Sie Bauelemente aus dem Bereich au erhalb des Leiterplat tenumrisses aus und ziehen Sie sie an die gew nschte Stelle e Suchen Sie die Bauelemente auf der Registerkarte Bauteile in der Tabellen Ansicht und f gen Sie sie von dort aus ein e W hlen Sie Bauteile aus der Datenbank aus 0 Tipp Mit Platzieren Platzieren der Bauteile aufheben k nnen Sie alle nicht fixierten Bauelemente von der gedruckten Platine entfernen und sie noch einmal anders einf gen Ziehen von Bauelementen aus dem Bereich au erhalb des Leiterplattenumrisses Beim ffnen einer Netzliste aus Multisim oder eines anderen Programms zur Erstellung von Schaltpl nen werden die Bauelemente normalerweise au erhalb des Leiterplattenumrisses angeordnet Klicken Sie vor dem Beginn der Arbeit in der Entwurf Toolbox doppelt auf Oberste Kupfer lage Dadurch wird diese Lage als aktive Lage ausgew hlt Um U1 aus dem Bereich au erhalb des Leiterplattenumrisses zu verschie ben f hren Sie die folgenden Schritte aus 1 Suchen Sie in den Bauelementen au erhalb des Leiterplattenumr
187. o listing file for MCU projects of this type is available the disassembly view is very useful Adding a Breakpoint National Instruments Corporation 4 9 You can add breakpoints in the source code view when simulation has stopped as well as during simulation You can add breakpoints to a microcontroller project in two ways Getting Started with NI Circuit Design Suite Chapter 4 Multisim MCU Tutorial One way is to add them in the source code view In this example the main asm tab in the schematic capture workspace is the only source code view available Note If your MCU design contains more than one file there will be a source code view for each of your source code files You can also set a breakpoint in the Debug View window You can set breakpoints in the disassembly view or the debug listing view but for this example you will only use the debug listing view 73 RETLU 0x53 74 RETLW 0x49 75 RETLW Ox4d TART amp ze BCF STATUS RPO BANK 0 7g CLRF PORTA sc CLRF PORTS 1 L 82 BSF STATUS RPO BANK 1 83 MOVLU 0x80 DISABLE WEAK PULLUP RESISTORS 84 MOVUF OPTTON REG 8g MOVLU 0x00 SET PORTA AS OUTPUTS BE MOVUF TRISA lt ar MOWIT AT nynn SFT PARTR IS TTTPTITS Circuit1 Getting Started MCU E main asm 2 Debug ui 1 Grey Column gt Complete the following steps to add a breakpoint in the source code view 1 2 3 4 Open the Debug View for U1 Double click on main asm i
188. o use The Select toolbar contains buttons used to control selections The Draw Settings toolbar lets you select the layer thickness and unit of measure of a line or object that is being drawn It also contains buttons for functions that control the appearance of lines and shapes drawn on a layer Getting Started with NI Circuit Design Suite 3 2 ni com Chapter 3 Ultiboard Tutorial The View toolbar contains buttons for modifying the way the screen is displayed The Main toolbar contains buttons for common board design functions The Autoroute toolbar contains autorouting and part placement functions The Status Bar displays useful and important information The Workspace is where you build your design The Spreadsheet View allows fast advanced viewing and editing of parameters including part details such as shapes Reference Designators attributes and design constraints The Design Toolbox lets you show hide or dim elements of your design The 3D Preview shows you a three dimensional preview of the board The Birds Eye View shows you the design at a glance and lets you easily navigate around the workspace Opening the Tutorial Complete the following steps to open the tutorial file 1 Select Start All Programs National Instruments Circuit Design Suite 10 1 Ultiboard 10 1 to launch Ultiboard 2 Select File Open 3 Select File Open Samples and double click on the Getting Started folder to open it 4 Select Gettin
189. on of values that you select in the Select a Component dialog box are available in a real world purchaseable component 9 Tip When placing RLC components type the value of the device that you want to place in the field at the top of the Component list The value does not need to appear in the list to be placed on the schematic RS Tip While placing the 200 Q resistor rotate it to a vertical orientation by pressing Ctrl R on your keyboard wg Tip Reference Designators for example U1 U2 are assigned in the order the components are placed If you place components in a different order than in the original circuit the numbering will differ This will not affect the operation of the circuit in any way National Instruments Corporation 2 7 Getting Started with NI Circuit Design Suite Chapter 2 Multisim Tutorial 5 Place the parts in the Counter Control section After placement right click on each of the SPDT switches and select Flip Horizontal VCC 5V J1 om ao Key Space J2 ee Ei Key Space GND Tip The SPDT switches are in the Basic Group Switch Family Tip When a part is on the workspace and you want to place the same part again highlight it and select Edit Copy then Edit Paste You can also select it from the In Use List and click to place it on the workspace ag wg 6 Place the parts in the Analog Amplifier section as shown below rotating as needed VCC V1 R2 0 2 Vpk
190. ord or value that you must supply Text in this font denotes text or characters that you should enter from the keyboard sections of code programming examples and syntax examples This font is also used for the proper names of disk drives paths directories programs subprograms subroutines device names functions operations variables filenames and extensions Contents Chapter 1 Introduction to NI Circuit Design Suite NI Circuit Design Suite Product Line eee ee ceeeeseeseceseeseeseeeaeceeeeaeeneeeseseeeeaeeaees 1 1 Ihe Tutorials NEE ee A ee ee a 1 1 Chapter 2 Multisim Tutorial Introduction to the Multisim Interface cee ceeeesccesseceseceeeceseeeteecsaeeeseeeeaeeeseeeseeesees 2 1 OVEFVIEW eisernen aa Highs tan esis NICKL EEE EA 2 3 Schematic Capture Rn EE EN 2 4 Opening and Saving the File ueeesnessessnessessnensnennennnennennnnnnennnennennn nenn 2 5 Placing the Components 084er 2 5 Wiring the Circ lt u0 2230 EEE Seinen 2 9 Simula ON iao AR 2 12 Virtual Instrumentation sioneer 2 12 Analysis essen iin ini EINS 2 14 The Gr pher 3 22 22 2 22 2 sheds Rinne 2 15 The POstprocessor 22 4a esiahenaksnankmenikenikneeai 2 16 RepofS SE EE nn ale iss I 2 16 Billkof Material Ss 4s RE EEG 2 17 Chapter 3 Ultiboard Tutorial Introduction to the Ultiboard Interface eee eeeeeeceeceseceeeeseseeeeseeseeeseeseeeaseneeaes 3 1 Opening the Tutorial sireni cri set R SERRDERSH
191. p button in a dialog box When you get to the wiring section of this tutorial you can carry on with the circuit you created in the component placement section Alternatively you can open Getting Started 1 ms10 found at samples Getting Started This file has all of the components properly placed National Instruments Corporation 2 3 Getting Started with NI Circuit Design Suite Chapter 2 Multisim Tutorial When you arrive at the simulation section you can carry on with the circuit you wired or open Getting Started 2 ms10 which has all of the components properly wired Schematic Capture In this section you will place and wire the components in the circuit shown below Getting Started Final Multisim Getting Started Final File Edit View Place MCU Simulate Transfer Tools Reports Options Window Help Desus 85 C BQQQQ RBYHAR are e eK PBB Ge amm y El ulm o ce Bypass Capacitors VCC sv dia ds ti M18 1 HS on amp k i Digital Counter Counter Control VCC 5v COE EEFE EEEE 74LS47H 74LS190H Getting Started Final Getting Started with NI Circuit Design Suite 2 4 ni com Chapter 2 Multisim Tutorial Opening and Saving the File Complete the following step to launch Multisim 1 Select Start All Programs National Instruments Circuit Design Suite 10 1 Multisim 10 1 A b
192. product obtained under license from Bartels Systems GmbH Sonstige hierin erw hnte Produkt und Firmenbezeichnungen sind Marken oder Handelsnamen der jeweiligen Unternehmen Mitglieder des National Instruments Alliance Partner Programms sind eigenst ndige und von National Instruments unabh ngige Unternehmen zwischen ihnen und National Instruments besteht keine gesellschaftsrechtliche Verbindung und auch kein Auftragsverh ltnis Patente N here Informationen ber Patente auf Produkte von National Instruments finden Sie unter Hilfe Patente in Ihrer Software in der Datei patents txt auf Ihrer CD oder unter ni com patents Some portions of this product are protected under United States Patent No 6 560 572 WARNUNG ZUR NUTZUNG VON NATIONAL INSTRUMENTS PRODUKTEN 1 DIE SOFTWAREPRODUKTE VON NATIONAL INSTRUMENTS WURDEN NICHT MIT KOMPONENTEN UND TESTS F R EIN SICHERHEITSNIVEAU ENTWICKELT DAS F R EINE VERWENDUNG BEI ODER IN ZUSAMMENHANG MIT CHIRURGISCHEN IMPLANTATEN ODER ALS KRITISCHE KOMPONENTEN VON LEBENSERHALTENDEN SYSTEMEN GEEIGNET IST DEREN FEHLFUNKTION BEI VERNUNFTIGER BETRACHTUNGSWEISE ZU ERHEBLICHEN VERLETZUNGEN VON MENSCHEN F HREN KANN 2 BEI JEDER ANWENDUNG EINSCHLIESSLICH DER OBEN GENANNTEN KANN DIE ZUVERL SSIGKEIT DER FUNKTION DER SOFTWAREPRODUKTE DURCH ENTGEGENWIRKENDE FAKTOREN EINSCHLIESSLICH Z B SPANNUNGSUNTERSCHIEDEN BEI DER STROMVERSORGUNG FEHLFUNKTIONEN DER COMPUTER HARDWARE FEHLENDER EIGNUNG DER SOFTWARE F R DAS
193. rechen und Funktionsaufruf berspringen 1 W hlen Sie Simulieren Start Die Simulation wird am selben Halte 5 punkt unterbrochen wie zuvor beim Aufruf der Subroutine SEND_DATA 2 Klicken Sie in der Werkzeugleiste Simulation auf die Schaltfl che Funktionsaufruf tiberspringen Die Subroutine SEND_DATA wird nun vollst ndig ausgef hrt und die Simulation wird an der ersten Anweisung nach CALL_SEND_DATA unterbrochen Erste Schritte mit NI Circuit Design Suite 4 14 ni com Zum Cursor Ry di iml National Instruments Corporation Kapitel 4 Einf hrung in Multisim MCU W hlen Sie MCU Entferne alle Haltepunkte Klicken Sie auf eine Zeile in der SEND_DATA Subroutine denn diese Subroutine wird bekannterma en nochmals aufgerufen um Daten an die LCD Anzeige zu bermitteln Klicken Sie in der Werkzeugleiste Simulation auf die Schaltfl che Zum Cursor Die Simulation wird bis zur Anweisung ausgef hrt die Sie in der SEND_DATA Subroutine angeklickt haben Dann folgt eine Ausf hrungspause und neben die Zeile wird ein gelber Pfeil gesetzt 4 15 Erste Schritte mit NI Circuit Design Suite Technische Unterst tzung und professioneller Service Auf der Website ni com germany finden Sie umfassende Informationen ber die folgenden professionellen Serviceleistungen und den technischen Support von National Instruments e Support Auf ni com support d finden Sie folgende Informa tionsquellen und Tools
194. rkeley and copyrighted by the University of California The ASMS1 cross assembler bundled with Multisim MCU is a copyrighted product of MetaLink Corp www metaice com MPASM macro assembler and related documentation and literature is reproduced and distributed by Electronics Workbench under license from Microchip Technology Inc All rights reserved by Microchip Technology Inc MICROCHIP SOFTWARE OR FIRMWARE AND LITERATURE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT IN NO EVENT SHALL MICROCHIP BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER LIABILITY ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR FIRMWARE OR THE USE OF OTHER DEALINGS IN THE SOFTWARE OR FIRMWARE Anti Grain Geometry Version 2 4 Copyright C 2002 2004 Maxim Shemanarev McSeem Permission to copy use modify sell and distribute this software is granted provided this copyright notice appears in all copies This software is provided as is without express or implied warranty and with no claim as to its suitability for any purpose Anti Grain Geometry Version 2 4 Copyright C 2002 2005 Maxim Shemanarev McSeem 1 Redistribution and use in source and binary forms with or without modification are permitted provided that the following conditions are met 2 Redistributions of source code must retain the above copyright notic
195. rojektdatei wird in Ultiboard geladen National Instruments Corporation 3 3 Erste Schritte mit NI Circuit Design Suite Kapitel 3 Einf hrung in Ultiboard 7 GettingStarted Ultiboard GS11 JE GE Datei Bearbeiten Ansicht Platzieren Entwurf Extras Automatische Leiterbahnf hrung Optionen Fenster Hilfe OSes amp BoB AB ARAAAA N BEE DOOR MA RENT copper Top Automatisch 10 0000 mil v mil lv BEAL Ta 2h det O a ro 1 OBeQ ea a m SettingStarted dr 651 J TE 652 dr 653 Ir 654 iE css 7 Projekte Lagen dr 551 652 Ei ess i es G ess al gt xj a Zz gt 21 Ti GEK SEEI S Am RefBez Wert Form Gesperrt Leiterbahnfreiraum Bauteilzwischenraum Anschlussstifttausch Gattert Ci lu EL Nein 0 0000 0 0000 Nein Kein Ta c2 10nF KE Nein 0 0000 0 0000 Nein Kein Ta c3 10 EL Nein 0 0000 0 0000 Nein Kein Ta lv lt gt Ergebnisse DRC Teile Bauteilgruppierungen Netze Netzgruppen SMT L taugen THT L taugen Durchkontaktierungen Kupferflachen Belegbare freizuhaltende Lagen au lt gt mil 4 Zum Ausw hlen eines Schaltplans z B GS1 klicken Sie entweder auf die dazugeh rige Registerkarte oder w hlen Sie auf der Register karte Projekte der Entwurf Toolbox den Namen des Schaltplans aus Auswahl der Platinenkontur Erste Schritte mit NI Circuit Design Suite
196. s LCDWorkspace The workspace contains one project project1 that consists of a single source code file main asm Getting Started with NI Circuit Design Suite 4 2 ni com Chapter 4 Multisim MCU Tutorial Complete the following to view the file 1 Double click on main asm in the Design Toolbox A tab appears in the schematic capture workspace called main asm that displays the assembly program xl 74 RETLU 0x49 F 75 RETLY Ox4d D amp al a 76 a Circuit1 77START PA circuits 78 BCF STATUS RPO BANK 0 Getting Started MCU 73 CLRF PORTA PY Getting Started MCU 80 CLRF PORTB LCDWorkspace 81 ffi projectt 82 BSF STATUS RPO BANK 1 E main asm 83 MOVLU 0x80 DISABLE WEAK PULLUP RESISTORS amp Getting Started MCU Description 84 MOVUF OPTTON REG 85 MOVLU 0x00 SET PORTA AS OUTPUTS 86 MOVUF TRISA 87 MOVLY 0x00 SET PORTB AS OUTPUTS 88 MOVUF TRISB Il Hierarchy Visibility Project View Gircuit ER Getting Started MCU main asm gt Li National Instruments Corporation To display the line numbers select MCU Show Line Numbers Complete the following to run this circuit 1 Select Simulate Run If you did not build your program beforehand a dialog box displays stating that the configuration is out of date and asks if you would like to build it Click Yes The results of the build display in the Results tab of the Spreadsheet View If there
197. s to place a trace manually 1 Choose Place Line Tip The Line command is used to create a line on any layer The results differ depending on the layer selected For example if the selected layer is silkscreen you will create a line on the silkscreen layer of the PCB If the selected layer is a copper layer then the line is actually a trace QR Getting Started with NI Circuit Design Suite 3 14 ni com Chapter 3 Ultiboard Tutorial 2 Locate J3 toward the left hand part of the board Find the start pin shown below 1 Part J3 2 Start Pin ag Tip If you have trouble locating the part use the Find function of the Parts tab Select the part in the Parts tab then click the Find and select the part button The part is shown in the workspace If necessary zoom in further using F8 3 Click on the pin specified in the above step Ultiboard highlights all the pins that are part of the same net as the pin you clicked on with an X The color of the highlighting can be changed in the Colors tab of the Preferences dialog box This is how you know where to connect to pins to match the connectivity from your schematic National Instruments Corporation 3 15 Getting Started with NI Circuit Design Suite Chapter 3 Ultiboard Tutorial 1 Pins in the Same Net 4 Move the cursor in any direction A green line the trace is attached to the selected pin Each time you click you anchor the
198. sim Im vorliegenden Kapitel erhalten Sie eine kurze Einf hrung in Multisim und seine Funktionen Einige der beschriebenen Funktionen sind m glicherweise in Ihrer Aus gabe von Multisim nicht enthalten Einzelheiten zum Funktionsumfang Ihrer Ausgabe finden Sie in den Versionshinweisen Multisim Benutzeroberfl che Bei Multisim einem Programm zur Erfassung und Simulation von Schalt pl nen der National Instruments Circuit Design Suite handelt es sich um ein EDA Programm EDA Electronics Design Automation mit dessen Hilfe die wichtigsten Schritte zur Planung und Erstellung von Schaltungen durchgef hrt werden k nnen Multisim ist ein Programm zur Schaltplan eingabe zum Durchf hren von Simulationen und zur Weitergabe der Daten an den n chsten Arbeitsgang zum Beispiel die Leiterplatten entflechtung National Instruments Corporation 2 1 Erste Schritte mit NI Circuit Design Suite Kapitel 2 Einf hrung in Multisim Die Benutzeroberfl che von Multisim ist folgenderma en aufgebaut Getting ftarted 2 Multifim Getting Starfed 2 Jeg Oster arbei mdk Hatzeren HOJ Saperen Transfer Estres Beri Optionen Fenster tife jalx De W A neS Qa BIE a gem y ES A DD verwandunodsts ml E mer n FE z Eg mgng n rr 8 schatung AR Bi schatungt A Getting Started 2 Gating Started 2 s 4 Kay Space T sy b
199. stung main asm 599 600 READ_DATA 601 00184 CALL SET_PORT_B_ INPUT 602 0018B8 MOVLU 0x04 0100 603 0018C MOVUF PORTA 604 0018D MOVF PORTE 0 GET 605 O018E MOVUF DATA BUFFER 606 0016F RETURN 607 608 609 SEND_DATA 610 00190 CALL SET_PORT_B_OUTPUT 611 00191 MOVF DATA BUFFER O output E gt 612 00192 MOVUF PORTB 613 00193 MOYLW OxOA s 1010 614 00194 MOVUF PORTA 615 00195 BSF PORTA 2 616 00196 RETURN 617 618 SEND_CMD 619 00197 CALL SET PORT BE OUTPUT 620 00198 MOYF CMD_BUFFER 0 output c 621 00199 MOVUF PORTB 622 00192 MOVLU nxnB gt 1011 623 0019B MOVUF PORTA 624 0019C BSF PORTA 2 625 0019D RETURN 626 W hlen Sie MCU MCU PIC16F84A Ul Speicheransicht um den aktuellen Status des Speichers im Mikrocontroller Ul anzuzeigen Beachten Sie dass der Wert des Programmz hlers pc des IROM Abschnitts um eins h her liegt als der Adresswert der Zeile auf die der gelbe Pfeil zeigt Im Beispiel in der Abbildung oben hat die Adresse in der Debug Auflistung den Wert 192 und der PC Wert in der Spei cheransicht lautet 193 Hinweis Wenn der aktuelle Befehl bei Unterbrechung der Simulation noch nicht vollst n dig ausgef hrt wurde bleibt der Wert im Programmz hler der gleiche wie der Adresswert National Instruments Corporation Die anderen Abschnitte der Speicheransicht enthalten Werte in ande ren Teilen
200. sure the Reference Point is set to Left Bottom for Alignment Make sure the Rectangular option is selected Set the Width to 3000 and the Height to 2000 a more suitable size for the parts in this design Set the Clearance to 5 00000 This is the distance from the edge of the board that is to be kept free of any other elements Click Finish The board outline is placed on your design iy Note For complete details on the Board Wizard refer to the Ultiboard User Manual Getting Started with NI Circuit Design Suite 3 6 ni com Chapter 3 Ultiboard Tutorial Complete the following steps to move the board outline 1 Double click on Board Outline in the Layers tab 2 Click anywhere on the board outline in the workspace and drag the board to a location just below the row of parts Complete the following steps to change the reference point 1 Select Design Set Reference Point The reference point is attached to your cursor 2 Move the cursor the the lower left corner of the board outline and click to place it Placing Parts You can place parts on your GS1 design file in several different ways e Select one or more parts from outside the board outline and drag them into place e Use the Parts tab in the Spreadsheet View to locate parts and place them e Select parts from the database National Instruments Corporation 3 7 Getting Started with NI Circuit Design Suite Chapter 3 Ultiboard Tutorial Tip You c
201. terplattenlagen berschichtungseinstellungen Obere Lage M Leiterplatten Durchkontaktierung von Copper Top bis Copper Botton Untere Lage Innere Lagen 0 Lagen Paare 1 Einzellagen Aufbau Oben 0 Unten 0 7 Klicken Sie auf Weiter Im Dialogfeld Form der Leiterplatte muss der Referenzpunkt zur Ausrichtung auf Links unten gesetzt sein e muss die Option Rechteckig aktiviert sein e muss die Breite auf 3000 und die H he auf 2000 eingestellt werden diese Gr e ist f r die Bauelemente in diesem Schaltplan besser geeignet muss der Freiraum 5 00000 lauten Dieser Wert gibt die Breite des Platinenrands an auf dem sich keine Bauelemente befinden d rfen 8 Klicken Sie auf Fertig stellen Der Leiterplattenumriss wird Ihrem Entwurf hinzugef gt BR Hinweis Weitere Einzelheiten zum Leiterplatten Wizard erhalten Sie im Benutzerhand buch zu Ultiboard Erste Schritte mit NI Circuit Design Suite 3 6 ni com Kapitel 3 Einf hrung in Ultiboard Um den Leiterplattenumriss zu verschieben fiihren Sie die folgenden Schritte aus 1 Klicken Sie auf der Registerkarte Lagen doppelt auf Board Outline 2 Klicken Sie dann an eine beliebige Stelle im Leiterplattenumriss und ziehen Sie die Leiterplatte direkt unter die Bauelemente Um den Bezugspunkt zu ndern f hren Sie die folgenden Schritte aus 1 W hlen Sie Entwurf Referenzpunkt festlegen Damit wird der Bezugspunkt dem Cursor u
202. tic Getting Started with NI Circuit Design Suite 2 2 ni com Chapter 2 Multisim Tutorial The Standard toolbar contains buttons for commonly performed functions such as Save Print Cut and Paste The View toolbar contains buttons for modifying the way the screen is displayed The Simulation toolbar contains buttons for starting stopping and other simulation functions The Main toolbar contains buttons for common Multisim functions The In Use List contains a list of all components used in the design The Instruments toolbar contains buttons for each instrument The Circuit Window or workspace is where you build your circuit designs The Spreadsheet View allows fast advanced viewing and editing of parameters including component details such as footprints RefDes attributes and design constraints Users can change parameters for some or all components in one step and perform a number of other functions Overview This tutorial leads you through the circuit design flow from schematic capture through simulation and analysis After following the steps outlined on the following pages you will have designed a circuit that samples a small analog signal amplifies it and then counts the occurrences of the signal on a simple digital counter Helpful tips are indicated by the presence of an icon in the left column as in Tip You can access the online help at any time by pressing Fl on your keyboard or by clicking on the Hel
203. ting wizards thousands of example programs tutorials application notes instrument drivers and so on Registered users also receive access to the NI Discussion Forums at ni com forums NI Applications Engineers make sure every question submitted online receives an answer Standard Service Program Membership This program entitles members to direct access to NI Applications Engineers via phone and email for one to one technical support as well as exclusive access to on demand training modules via the Services Resource Center NI offers complementary membership for a full year after purchase after which you may renew to continue your benefits For information about other technical support options in your area visit ni com services or contact your local office at ni com contact Training and Certification Visit ni com training for self paced training eLearning virtual classrooms interactive CDs and Certification program information You also can register for instructor led hands on courses at locations around the world System Integration If you have time constraints limited in house technical resources or other project challenges National Instruments Alliance Partner members can help To learn more call your local NI office or visit ni com alliance A 1 Getting Started with NI Circuit Design Suite Appendix A Technical Support and Professional Services If you searched ni com and could not find the answers you ne
204. tional Instruments Corporation 3 9 Erste Schritte mit NI Circuit Design Suite Kapitel 3 Einf hrung in Ultiboard Ziehen von Bauelementen von der Bauteile Registerkarte Um Bauelemente von der Registerkarte Bauteile zu verschieben f hren Sie die folgenden Schritte aus 1 Scrollen Sie in der Bauteile Registerkarte bis zu J3 BERN HGH wa 3 amp m RefBez Wert Form Gesperrt Leiterbahnfreiraum Bauteilzwischenraum Anschlussstifttausch Gattert e it SPDT SW Nein 10 0000 0 0000 Nein Kein Ta 2 SPDT SW Nein 10 0000 0 0000 Nein Kein Ta 33 HD HD Nein 0 0000 0 0000 Nein Kein Ta e LED1 LE LE Nein 0 0000 0 0000 Nein Kein Ta M lt gt Teile 2 Klicken Sie auf J3 und ziehen Sie das Element von der Registerkarte Bauteile in den Arbeitsbereich J3 ist nun dem Mauszeiger unterlegt 3 Legen Sie J3 links am Rand etwa mittig auf der Leiterplatte ab Wie bereits zuvor beobachtet leuchtet nun auch die gr ne LED von J3 auf der Registerkarte Bauteile etwas heller und zeigt damit an dass das Bauelement auf die Platine platziert wurde Noch schneller lassen sich Platinen best cken indem Sie auf der Register karte Bauteile ein noch nicht eingef gtes Bauelement angezeigt durch ca eine schwach leuchtende LED ausw hlen und auf die Schaltfl che Start Platzierung der nicht positionierten Bauteile klicken Ultiboard geht nun systematisch durch die Liste auf der Registerkarte Bauteile w
205. torial Wir To save the Bill of Materials to a file click the Save button A standard Windows file save dialog box appears allowing you to specify the path and file name Because the Bill of Materials is primarily intended to assist in procurement and manufacturing it includes only real parts it excludes parts that are not real or able to be purchased such as sources or virtual components Components without assigned footprints do not appear in the Bill of Materials To see a list of components in your circuit that are not real components click the Virtual button A separate window appears showing these components only Detailed information on this and other reports can be found in the Multisim User Manual Getting Started with NI Circuit Design Suite 2 18 ni com Ultiboard Tutorial The tutorial in this chapter places the parts and traces for the circuit described in the Multisim Tutorial chapter Tip For instructions on exporting a design from Multisim to Ultiboard refer to the Multisim User Manual the Ultiboard User Manual or the help files Introduction to the Ultiboard Interface Ultiboard is the PCB layout application of National Instruments Circuit Design Suite a suite of EDA Electronics Design Automation tools that assists you in carrying out the major steps in the circuit design flow Ultiboard is used to lay out and route printed circuit boards perform certain basic mechanical
206. trace segment as shown in the figure below 2 5 Click on the destination pin 1 Trace 3 Destination Pin 2 Click to anchor trace 6 Right click to stop placing traces Getting Started with NI Circuit Design Suite 3 16 ni com Chapter 3 Ultiboard Tutorial Placing a Follow me Trace Complete the following steps to place a follow me trace 1 Choose Place Follow me 2 Click on the top pin of J3 3 Click on the second pin from the bottom in the left column of U4 4 Ultboard draws the connection for you 9 Tip You do not need to click exactly on a pin you can also start by clicking on a ratsnest line Placing a Connection Machine Trace Complete the following steps to place a Connection Machine trace 1 Choose Place Connection Machine 2 Click on the segment of the ratsnest indicated below 1 Click Ratsnest National Instruments Corporation 3 17 Getting Started with NI Circuit Design Suite Chapter 3 Ultiboard Tutorial 3 Move your cursor Ultiboard suggests various trace placement options routed around obstacles 4 When you see the route you want click to fix the trace You don t have to click on the ratsnest or the destination pin 1 Trace Segments Appear Between Pins 5 Right click to end trace placement Auto Part Placement As well as placing parts as described earlier in this chapter you can use Ultiboard s advanced auto
207. tting Started MCU 79 CLRF PORTA Getting Started MCU so CLRF PORTB LCDWorkspace 81 i project1 82 BSF STATUS RPO BANK 1 main asm 83 MOVLW 0x80 DISABLE WEAK PULLUP RESISTORS amp Getting Started MCU Description 84 MOVUF OPTION_REG 85 MOVLW 0x00 SET PORTA AS OUTPUTS 86 MOVUF TRISA 87 MOVLW 0x00 SET PORTB AS OUTPUTS 8 MOVUF TRISB lt Hierarchie Sichtbarkeit Projektansicht Schaltungi Getting Started MCU main asm Zum Einblenden der Zeilennummern w hlen Sie MCU Zeilennummern anzeigen Um die Schaltungssimulation zu starten f hren Sie die folgenden Schritte aus gt 1 National Instruments Corporation W hlen Sie Simulieren Start Wenn Sie noch keine Programmdatei erzeugt haben erscheint ein Dialogfeld mit dem Hinweis dass die Konfiguration nicht mehr aktuell ist Sie werden daher aufgefordert eine neue Programmdatei zu erstellen Klicken Sie auf Ja Die Ergeb nisse der Erstellung werden in der Tabellen Ansicht auf der Registerkarte Ergebnisse angezeigt Wenn keine Fehler oder Warnun gen zu sehen sind wurde die Programmdatei erfolgreich erzeugt Das Beispielprogramm sollte keine Fehler enthalten Das Programm zeigt die Zeile Graphical LCD T6963C for Multisim im Textmodus an das LCD schaltet dann in den Grafikmodus um und stellt Punkt f r Punkt ber dem Text ein umgedrehtes V dar Nach der Anzeige der Linien scrollt der Text nach rechts und links Dazu wir
208. uite Kapitel 2 Einf hrung in Multisim Nachdem Sie die Wechselspannungsquelle eingef gt haben f hren Sie einen Doppelklick darauf aus ndern Sie den Effektivwert der Spannung RMS auf 0 2 V und klicken Sie auf OK 7 F gen Sie die Bauteile f r die berbr ckungskondensatoren wie dar gestellt ein vcc VCC _ sv _ sv Hour po GND c1 1uF POL T C2 10nF 8 F gen Sie den Kollektor und die dazugeh rigen Bauelemente ein vgl die Abbildung unten Tipp J3 befindet sich in der Gruppe Basic und der Familie Connectors Tipp Nach dem Verdrahten einer Schaltung k nnen Sie Bauteile mit zwei Anschl ssen z B Widerst nde einfach auf einer Verbindung ablegen Multisim f gt das Bauteil dann automatisch in den Stromkreis ein ug H Erste Schritte mit NI Circuit Design Suite 2 10 ni com Kapitel 2 Einf hrung in Multisim Verbinden der Bauelemente Alle Bauelemente haben Anschlussstifte iiber die sie mit anderen Bauele menten oder Ger ten verbunden werden k nnen Sobald sich der Cursor ber einem Anschlussstift befindet erkennt Multisim die gew nschte Ver bindung und der Cursor verwandelt sich in ein Fadenkreuz Tipp Sie k nnen nun entweder die Bauelemente zu einer Schaltung verbinden oder die Datei Getting Started 1 ms10 verwenden Diese befindet sich im Unterordner Get ting Started des Ordners samples Um Bauelemente zu verbinden f hren Sie
209. uments falls Sie einen Fehler vermuten National Instruments haftet in keinem Fall f r Sch den die sich aus oder im Zusammenhang mit dieser Unterlage oder den darin enthaltenen Informationen ergeben SOWEIT HIER NICHT AUSDR CKLICH VORGESEHEN SCHLIESST NATIONAL INSTRUMENTS JEDE GEW HRLEISTUNG SEI SIE AUSDR CKLICH ODER STILLSCHWEIGEND AUS DIESER AUSSCHLUSS GILT INSBESONDERE F R EINE ETWAIGE KONKLUDENTE GEW HRLEISTUNG DASS DIE PRODUKTE VON DURCHSCHNITTLICHER QUALIT T UND FUR DEN NORMALEN GEBRAUCH ODER F R EINEN BESTIMMTEN ZWECK GEEIGNET SIND EINE SCHADENERSATZPFLICHT F R SCHULDHAFTES VERHALTEN SEITENS NATIONAL INSTRUMENTS IST AUF DEN VOM KUNDEN GEZAHLTEN KAUFPREIS BEGRENZT NATIONAL INSTRUMENTS HAFTET NICHT F R SCH DEN DIE SICH AUS DEM VERLUST VON DATEN ENTGANGENEM GEWINN ODER NUTZUNGSM GLICHKEITEN ERGEBEN UND AUCH NICHT F R ZUF LLIGE ODER FOLGESCH DEN SELBST WENN NATIONAL INSTRUMENTS AUF DIE M GLICHKEIT SOLCHER SCH DEN HINGEWIESEN WURDE Diese Haftungsbegrenzung gilt unabh ngig vom Rechtsgrund der Haftung Anspr che gegen ber National Instruments m ssen innerhalb eines Jahres nach Schadenseintritt gerichtlich geltend gemacht werden Die Firma National Instruments haftet nicht f r Versp tungssch den die nicht in ihrem Verantwortungsbereich liegen Diese Garantie erstreckt sich nicht auf Sch den Fehler Fehlfunktionen oder Servicem ngel die auf der Nichtbefolgung von Anweisungen von National Instruments f r die Installation
210. urden In der Fehlerlistenansicht werden Informatio nen aus dieser Auflistungsdatei angezeigt Multisim wandelt die Opcode Anweisungen mithilfe eines internen Disassemblers in Assem bler Anweisungen um F r dieses Beispiel ist das Disassembler Format jedoch nicht notwendig da die Fehlerliste bereits alle erforderlichen Informationen enth lt In den F llen wo ein MCU Projekt nur die hex Datei mit dem Maschinencode l dt zeigt die Disassembly Ansicht die aufgeschl sselten Opcode Anwei sungen so dass erkennbar wird was innerhalb der MCU vor sich geht Die Erste Schritte mit NI Circuit Design Suite 4 10 ni com Kapitel 4 Einf hrung in Multisim MCU Disassembly Ansicht ist sehr n tzlich da f r MCU Projekte dieses Typs keine Auflistungsdatei verf gbar ist Hinzuf gen von Haltepunkten Sie k nnen der Quellcodeansicht sowohl bei angehaltener als auch bei lau fender Simulation Haltepunkte hinzuf gen Haltepunkte k nnen einem Mikrocontrollerprojekt auf zwei Arten erzeugt werden Eine M glichkeit besteht darin sie zur Quellcodeansicht hinzuzuf gen In diesem Beispiel ist die Registerkarte main asm im Arbeitsbereich der Schaltungserfassung die einzig verf gbare Quellcodeansicht 3 Hinweis Wenn sich Ihr MCU Entwurf aus mehreren Dateien zusammensetzt ist f r jede der Quellcodedateien eine Quellcodeansicht verf gbar Sie k nnen aber auch einen Haltepunkt in der Debug Auflistung angeben Sie k nnen Haltepunkte in der
211. von Simulationen und zur Weitergabe der Daten an den n chsten Arbeitsgang zum Beispiel die Leiterplattenentflechtung Mit Multisim k nnen analoge und digitale Simulationen durchgef hrt werden Ultiboard erzeugt anhand der Daten von Multisim gedruckte Schaltungen f hrt einfache mechanische CAD Operationen durch z B Platzierung der Bauteile auf den Leiterplatten und bereitet die Leiterplatten f r die Pro duktion vor Ultiboard sorgt au erdem f r die automatische Bauteilplatzierung und das Layout National Instruments Corporation 1 1 Erste Schritte mit NI Circuit Design Suite Kapitel 1 Einf hrung in die NI Circuit Design Suite Lerneinheiten Tutorial Dieses Handbuch enth lt folgende Schritt f r Schritt Tutorials e Einf hrung in Multisim Stellt Ihnen Multisim und seine Funktionen vor e Einf hrung in Ultiboard Zeigt Ihnen wie Sie die Bauelemente und Leiterbahnen f r die im Multisim Tutorial Kapitel beschriebenen Schaltungen richtig platzieren Au erdem lernen Sie wie Bauele mente automatisch eingef gt und die dazugeh rigen Leiterbahnen automatisch verlegt werden e Einf hrung in Multisim MCU F hrt Sie durch die Simulation und Fehlersuche in einer Schaltung mit Mikrocontroller Weiterf hrende Informationen zu den in diesen Kapiteln beschriebenen Funktionen finden Sie im Multisim oder im Ultiboard Benutzerhandbuch Erste Schritte mit NI Circuit Design Suite 1 2 ni com Einf hrung in Multi
212. x26 STARTING ADDRESS L EQU 0x27 STARTING ADDRESS H EQU 0x29 COUNTER EQU Ox2A BIT INDEX 21H SET CURSOR EQU 40H SET TXT HM ADD EQU 41H SET TXT AREA EQu 42H SET GR HM ADD EQu 43H SET GR AREA EQu 22H SET OFFSET ADD EQu 24H SET ADD PTR EQU OCOH EQU OBOH EQU OB2H WURITE DATA AND INCREASE ADP SET AUTO WRITE MODE RESET AUTO WRITE MODE Getting Started with NI Circuit Design Suite 4 4 The text to be displayed on the LCD display is stored in data tables for some microcontrollers but there is no PIC assembly instruction that allows you to directly address a data value in the program memory space Instead you can load literal values into the W register so you can write a routine that returns a value in your string based on an index The RETLW instruction loads a constant value into the W register and executes a RETURN in one instruction The TXPRT routine retrieves the text data to be displayed on the LCD display The character codes for the LCD display are defined in the T6963C controller reference manual for example 0x27 is the code for the letter G 0x52 for r and so on ni com Chapter 4 Multisim MCU Tutorial DATA DATA NUM EQU 23H TXPRT Text data Grapical LCD T6963C for Multisim ADDUF PCL 1 RETLU 0x27 RETLU 0x52 RETLU 0x41 RETLW 0x50 RETLW 0x48 RETLU 0x49 RETLU 0x43 RETLU 0x41 RETLU Ox4c RETLU 0x00 RETLU nx2C Initialization The initialization co
213. zuf gen f hren Sie die folgenden Schritte aus 1 ffnen Sie MeineErstenSchritte ms10 wie oben beschrieben 2 Klicken Sie auf Platzieren Bauelement um zum Fenster Bauele ment w hlen zu gelangen W hlen Sie hier die in der folgenden Abbildung dargestellte 7 Segment LED Anzeige aus und klicken Sie auf OK Das Bauelement erscheint daraufhin umrisshaft unter dem Cursor Q Tipp Nach Auswahl der Gruppe und Familie des Bauelements k nnen Sie unter Bauele ment den Namen des Bauteils eingeben Ihre Eingabe wird im Feld Suche am unteren Rand des Fensters angezeigt Geben Sie f r das obige Beispiel seven_seg_decimal_com_a_blue ein bereinstimmungen werden bereits bei der Eingabe angezeigt Erste Schritte mit NI Circuit Design Suite 2 6 ni com Kapitel 2 Einf hrung in Multisim Bauelement w hlen Datenbank Bauelement Symbol ANST Hauptdatenbank 3g_decimal_com_a_blud Schlie en Gruppe SEVEN_SEG_DECIMAL_COM_ El Indicators v Suchen Familie Detailbericht BB wane alle Familien Modell ansehen El VOLTMETER E AMMETER Funktion gt PROBE 7 SEGMENT DISPLAY WITH DECIMAL POINT AN BUZZER COMMON ANODE EY Lamp VIRTUAL_LAMP El HEX_DISPLAY Modell Hersteller Kennung Elsarsrarh Generic SEVEN_SEG_D_COM_A Footprint Hersteller Typ Generic 7SEGSDIP104 Generic 7SEGSDIP14B Generic DISP1105 Hyperlink lt m gt Su
214. zwischen die Lagen einer mehr lagigen Platine Weitere Informationen finden Sie im Benutzerhandbuch zu Ultiboard National Instruments Corporation 3 23 Erste Schritte mit NI Circuit Design Suite Einf hrung in Multisim MCU In diesem Kapitel lernen Sie wie eine Schaltung mit Mikrocontroller simu liert und darin nach Fehlern gesucht wird Uberblick Die f r diese Einf hrung verwendeten Dateien werden zusammen mit der NI Circuit Design Suite unter Dokumente und Einstellun gen All Users Gemeinsame Dokumente National Instruments Circuit Design Suite 10 1 samples Getting Started installiert Fiir diese Anleitung nutzen Sie die Datei Getting Started MCU ms10 die bei Bedarf auf den Inhalt des Ordners LCDWorkspace zugreift Im Multisim Schaltungsbeispiel fiir eine LCD Grafikanzeige wird der Ein satz eines PIC Mikrocontrollers zur Steuerung der Anzeige anhand eines Toshiba T6963C Controllers und einem externen RAMs demonstriert Zur Steuerung der Anzeige tibermittelt der Mikrocontroller Signale tiber die Daten und Steuerleitungen des Ger ts Ein f r den Mikrocontroller geschriebenes Softwareprogramm bestimmt die Logikpegel fiir die Leitun gen an den Anschlussstiften High oder Low zur Ubermittlung von Befehlen und Daten an die Anzeige National Instruments Corporation 4 1 Erste Schritte mit NI Circuit Design Suite Kapitel 4 Einf hrung in Multisim MCU GRAPH_LCD_M RA RA4TOCKI MCLR OSCLCLKIN
Download Pdf Manuals
Related Search
Related Contents
Descargar - Chauvin Arnoux Group Guida alla vendita NS500 - Euro.tel di Massimo Cappio (VFB-FFUS、NUS、SFUSほか)(1.5MB) -2014 Manual de instrucciones Operators Manual Operators Manual Manuel De L`Opérateur English User Manual Testing Document - EEP Team Website Copyright © All rights reserved.
Failed to retrieve file