Texas Instruments MSP50C614 Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Software Texas Instruments MSP50C614. Texas Instruments MSP50C614 User's Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 414
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes

Resumo do Conteúdo

Página 1 - User’s Guide

MSP50C614Mixed-Signal ProcessorUser’s GuideSPSU014January 2000Printed on Recycled Paper

Página 2

Contentsx 5.9.10 String Functions 5-45. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.9.11 C

Página 3 - Read This First

Instruction Syntax and Addressing Modes 4-84.3 Instruction Syntax and Addressing ModesMSP50P614/MSP50C614 instructions can perform multiple operations

Página 4 - Notational Conventions

Instruction Syntax and Addressing Modes4-9Assembly Language Instructions4.3.2 Addressing ModesThe addressing modes on the MSP50P614/MSP50C614 are imme

Página 5 - Trademarks

Instruction Syntax and Addressing Modes 4-10Table 4–3. Rx Bit DescriptionRxOperation0 0 0 R00 0 1 R10 1 0 R20 1 1 R31 0 0 R4 or LOOP1 0 1 R5 or INDEX1

Página 6

Instruction Syntax and Addressing Modes4-11Assembly Language InstructionsTable 4–5. MSP50P614/MSP50C614 Addressing Modes SummaryADDRESSING SYNTAX OPER

Página 7

Instruction Syntax and Addressing Modes 4-12For any particular addressing mode, replace the {adrs} with the syntax shownin Table 4–4. To encode the i

Página 8

Instruction Syntax and Addressing Modes4-13Assembly Language Instructions4.3.3 Immediate AddressingThe address of the memory location is encoded in th

Página 9

Instruction Syntax and Addressing Modes 4-144.3.4 Direct AddressingDirect addressing always requires two instruction words. The second wordoperand is

Página 10 - Contents

Instruction Syntax and Addressing Modes4-15Assembly Language Instructions4.3.5 Indirect AddressingIndirect addressing uses one of 8 registers (R0...R7

Página 11

Instruction Syntax and Addressing Modes 4-16Example 4.3.12 MOV *R5++R5, A0~, ++ARefer to the initial processor state in Table 4–8 before execution of

Página 12

Instruction Syntax and Addressing Modes4-17Assembly Language InstructionsAddress+Rx(x = 0 – 7)Index Register (R5)OperandExample 4.3.17 AND A0, *R3+R5R

Página 13

ContentsxiContentsB.3.5 Host Write Sequence B-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.6 H

Página 14

Instruction Syntax and Addressing Modes 4-18Example 4.3.20 MOV A3, *R6+0x10Refer to the initial processor state in Table 4–8 before execution of this

Página 15

Instruction Syntax and Addressing Modes4-19Assembly Language Instructions4.3.7 Flag AddressingThis addressing mode addresses only the 17th bit (the fl

Página 16 - Notes, Cautions, and Warnings

Instruction Syntax and Addressing Modes 4-204.3.8 Tag/Flag BitsThe words TAG and flag may be used interchangeably in this manual. TheTAG bit is the 17

Página 17 - Introduction to the MSP50C614

Instruction Syntax and Addressing Modes4-21Assembly Language InstructionsHowever, xFLAG instructions use {flagadrs} addressing modes. This includesglo

Página 18 - 1.1 Features of the C614

Instruction Classification 4-224.4 Instruction ClassificationThe machine level instruction set is divided into a number of classes. Theclasses are pri

Página 19 - 1.2 Applications

Instruction Classification4-23Assembly Language InstructionsTable 4–11. Symbols and Explanation (Continued)Symbol Explanationnext A Accumulator contro

Página 20 - Development Device: MSP50P614

Instruction Classification 4-24Table 4–11. Instruction Classification (Continued)Class Sub-ClassDescription4 Register and memory referenceA Memory ref

Página 21 - 1.4 Functional Description

Instruction Classification4-25Assembly Language InstructionsTable 4–12. Classes and Opcode DefinitionBit 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0Class

Página 22

Instruction Classification 4-26Class 1a provides the four basic instructions of load, store, add, and subtractbetween accumulator and data memory. Eit

Página 23

Instruction Classification4-27Assembly Language InstructionsTable 4–15. Class 1b Instruction DescriptionC1b Mnemonic Description0 0 0 0 OR An, {adrs}O

Página 24

Figuresxii Figures1–1 Functional Block Diagram for the C614 1-7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2

Página 25 - Figure 1–3. RESET Circuit

Instruction Classification 4-28Table 4–15. Class 1b Instruction Description (Continued)C1b Mnemonic Description1 0 1 1 MULAPL An, {adrs}MULAPLS An, {a

Página 26 - Application Circuits

Instruction Classification4-29Assembly Language Instructionsconstants. Long constants (16 bits) and long string constants differ in that ref-erences a

Página 27

Instruction Classification 4-30Table 4–18. Class 2b Instruction DescriptionC2b Mnemonic Description0 0 0 ADD An[~], An[~], imm16 [, next A]ADDS An[~],

Página 28

Instruction Classification4-31Assembly Language Instructionsbetween the accumulator and the MR, SV, or PH register. As with all accumula-tor reference

Página 29

Instruction Classification 4-32Table 4–20. Class 3 Instruction Description (Continued)C3 Mnemonic Description0 1 0 0 0 XOR An[~], An~, An [, next A]XO

Página 30

Instruction Classification4-33Assembly Language InstructionsTable 4–20. Class 3 Instruction Description (Continued)C3 Mnemonic Description1 0 1 0 0 MO

Página 31 - MSP50C614 Architecture

Instruction Classification 4-34Table 4–20. Class 3 Instruction Description (Continued)C3 Mnemonic Description1 1 1 1 0 MUL An[~] [, next A]MULS An[~]M

Página 32 - 2.1 Architecture Overview

Instruction Classification4-35Assembly Language InstructionsTable 4–22. Class 4a Instruction DescriptionC4a Mnemonic Description0 MOV {adrs}, RxStore

Página 33

Instruction Classification 4-364.4.5 Class 5 Instructions: Memory ReferenceClass 5 instructions provide transfer to and from data memory and all regis

Página 34

Instruction Classification4-37Assembly Language InstructionsTable 4–27. Class 5 Instruction Description (Continued)C5 Mnemonic Description0 1 0 1 1 MO

Página 35 - 2.2 Computation Unit

FiguresxiiiContents5–9 Select Program Folder Dialog 5-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Página 36 - Computation Unit

Instruction Classification 4-38Table 4–27. Class 5 Instruction Description (Continued)C5 Mnemonic Description1 1 1 1 0 RPT {adrs}8Load repeat counter

Página 37 - 2.2.2 Arithmetic Logic Unit

Instruction Classification4-39Assembly Language InstructionsTable 4–30. Class 6b Instruction DescriptionC6b Mnemonic Description0 IN An[~], port6INS A

Página 38 - 2.2.2.1 Accumulator Block

Instruction Classification 4-40Table 4–31. Class 7 Instruction Encoding and DescriptionBit 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0VCALLvector81 1 1 1

Página 39

Instruction Classification4-41Assembly Language InstructionsTable 4–31. Class 7 Instruction Encoding and Description (Continued)cccc namesDescriptionc

Página 40 - 2.2.2.3 String Operations

Instruction Classification 4-42Table 4–33. Class 8a Instruction DescriptionC8a Mnemonic Description0 0 0 MOV TFn, {flagadrs} Load flag bit (17th bit)

Página 41 - 2.3 Data Memory Address Unit

Instruction Classification4-43Assembly Language InstructionsTable 4–35. Class 9a Instruction EncodingBit 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0Class

Página 42 - 2.3.1 RAM Configuration

Bit, Byte, Word and String Addressing 4-44Table 4–38. Class 9c Instruction DescriptionC9c Mnemonic Description0 MOV APn, imm6Load the accumulator poin

Página 43

Bit, Byte, Word and String Addressing4-45Assembly Language Instructionsis a string of bytes. The length of the byte string is stored in the string reg

Página 44 - 2.5 Bit Logic Unit

Bit, Byte, Word and String Addressing 4-46Flag address: The flag (or TAG) address uses linear addressing from 0 to thesize of data memory in 17 bit wi

Página 45 - 2.6.1 Memory Map

Bit, Byte, Word and String Addressing4-47Assembly Language InstructionsFigure 4–4. Data Memory ExampleAbsolute WordMemory LocationData Memory Location

Página 46

Tablesxiv Tables1–1 Signal and Pad Descriptions for the C614 1-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2 MSP

Página 47

Bit, Byte, Word and String Addressing 4-48Example 4.5.7 MOV STR, 4–2MOV AP0, 2MOV R0, 0x0001 * 2MOVBS A0, *R0++Refer to Figure 4–4 for this example. T

Página 48 - 2.6.3 Interrupt Vectors

MSP50P614/MSP50C614 Computational Modes4-49Assembly Language InstructionsExample 4.5.10 MOV STR, 0SFLAG *0x00032MOVS A0, *0x0031 * 2RFLAG *0x00032MOVS

Página 49 - 2.6.4 ROM Code Security

MSP50P614/MSP50C614 Computational Modes 4-50Table 4–41. MSP50P614/MSP50C614 Computational ModesComputationalModeSettingInstructionResettingInstruction

Página 50

MSP50P614/MSP50C614 Computational Modes4-51Assembly Language InstructionsExample 4.6.2 SXMMOV STR, 2–2 ; string length=2MOV MR, 0x8000MOV A0, 0x800

Página 51

MSP50P614/MSP50C614 Computational Modes 4-52Example 4.6.1 SOVMMOV A0, 0x7FFEADD A0, 5In this example, we set the overflow mode (OM = 1 of STAT). Addin

Página 52 - 2.7 Interrupt Logic

Hardware Loop Instructions4-53Assembly Language Instructionshigh word of the result is stored in the PH register and is 0x3FFF. The low wordis stored

Página 53 - External Interrupts

Hardware Loop Instructions 4-54the execution of a string instruction, interrupts are queued. Queued interruptsare serviced according to their priority

Página 54 - Interrupt Logic

String Instructions4-55Assembly Language Instructions4.8 String InstructionsClass 1, 2, 3, and 6 instructions can have string modes. During the execut

Página 55

String Instructions 4-56A1 string is 0x233EFBCA1223 and *0x200 = 0x9086EE3412AC. STR =3–2=1, defines a string length of 3. Final result, A1~ string =0

Página 56 - 2.8 Timer Registers

Lookup Instructions4-57Assembly Language Instructions4.9 Lookup InstructionsTable lookup instructions transfer data from program memory (ROM) to datam

Página 57 - Clock Control

TablesxvContents4–25 Class 4d Instruction Description 4-35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Página 58 - Timer Registers

Lookup Instructions 4-58Lookup instructions make use of the data pointer (DP) internally. The DPstores the address of the program memory location, loa

Página 59 - 2.9 Clock Control

Input/Output Instructions4-59Assembly Language Instructions4.10 Input/Output InstructionsThe MSP50P614/MSP50C614 processor communicates with other on-

Página 60 - Figure 2–9. PLL Performance

Special Filter Instructions 4-60N tap filters ideally require 2N multiply–accumulates. Four instructions areprovided to compute this equation: FIR, FI

Página 61

Special Filter Instructions4-61Assembly Language Instructionstheory requires). The second to last RAM location in the circular buffer istagged using a

Página 62

Special Filter Instructions 4-62After the FIR or COR instruction executes, the new startOfBuff will be thelast location in the circular buffer. After

Página 63 - 2.10 Execution Timing

Special Filter Instructions4-63Assembly Language Instructionsmov A0,*nextSample ;Replace last sample with newest samplemov *R0,A0 ; and update the s

Página 64 - 2.11 Reduced Power Modes

Special Filter Instructions 4-64Any combination of registers different from the above will yield incorrectresults with the FIR/COR instruction.Use R5

Página 65 - Clock Speed Control Register

Special Filter Instructions4-65Assembly Language InstructionsImportant note about setting the STAT registerIt is very important to consider the initia

Página 66

Special Filter Instructions 4-66mov STAT,*filterSTAT_tag ;load STAT with last filter tag statusrpt N–2firk A0,*R0++ ;Do one sample ––> 32 bit resul

Página 67 - Reduced Power Modes

Special Filter Instructions4-67Assembly Language InstructionsFigure 4–6. Setup and Execution of MSP50P614/MSP50C614 Filter Instructions,N+1 TapsAccumu

Página 68

Notes, Cautions, and Warningsxvi Notes, Cautions, and WarningsMSP50C605 and MSP50C604 1-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Página 69 - Table 2–4)

Special Filter Instructions 4-68Figure 4–7. Filter Instruction and Circular Buffering for N+1 Tap Filter16 BitsTAGAC n+1AC n+2 AC nyif TAG = 1Rxevenco

Página 70 - Interrupt Vectors

Conditionals4-69Assembly Language Instructions4.12 ConditionalsThe condition bits in the status register (STAT) are used to modify programcontrol thro

Página 71 - Peripheral Functions

Legend 4-704.13 LegendAll instructions of the MSP50P614/MSP50C614 use the following syntax:name [dest] [, src] [, src1] [, mod]nameName of the instruc

Página 72

Legend4-71Assembly Language InstructionsSymbol MeaningA~ Select offset accumulator as the source if this bit is 1. Used in opcode encoding only.~A Sel

Página 73 - Branch on D Port

Legend 4-72Symbol MeaningnRValue in repeat counter loaded by RPT instructionsnsValue in string register STROF Overflow flagoffset[n]n bit offset from

Página 74 - 3.1.2 Dedicated Input Port F

Legend4-73Assembly Language InstructionsTable 4–45. Auto Increment and DecrementOperationnext Ab9 b8No modification 0 0Auto increment ++A 0 1Auto Decr

Página 75 - 3.1.3 Dedicated Output Port G

Individual Instruction Descriptions 4-744.14 Individual Instruction DescriptionsIn this section, individual instructions are discussed in detail. Use

Página 76 - 3.1.4 Branch on D Port

Individual Instruction Descriptions4-75Assembly Language Instructions4.14.1 ADD Add wordSyntax[label] namedest, src [, src1] [,mod] Clock, clkWords, w

Página 77 - Table 3–1. Interrupts

Individual Instruction Descriptions 4-76DescriptionSyntax DescriptionADD dest, srcADD src with dest and store the result to dest.ADD dest, src, src1 [

Página 78

Individual Instruction Descriptions4-77Assembly Language Instructions4.14.2 ADDB ADD BYTESyntax[label]name dest, srcClock, clkWords, wWith RPT, clkCla

Página 79 - C3x style

1-1Introduction to the MSP50C614The MSP50C614 (C614) is a low cost, mixed signal controller, that combinesa speech synthesizer, general-purpose I/O, o

Página 80 - Figure 3–1. PDM Clock Divider

Individual Instruction Descriptions 4-784.14.3 ADDS Add StringSyntax[label]name dest, src, src1Clock, clkWords, wWith RPT, clkClassADDS An[~], An, {ad

Página 81

Individual Instruction Descriptions4-79Assembly Language InstructionsExample 4.14.3.3 ADDS A1, A1~, A1Add accumulator string A1 to accumulator string

Página 82

Individual Instruction Descriptions 4-804.14.4 AND Bitwise ANDSyntax[label] name dest, src [, src1] [, mod] Clock, clkWord, wWith RPT, clkClassAND An,

Página 83

Individual Instruction Descriptions4-81Assembly Language InstructionsSee Also ANDS, ANDB, OR, ORB, ORS, XOR, XORB, XORSExample 4.14.4.1 AND A3, *R4—–A

Página 84 - 3.3 Comparator

Individual Instruction Descriptions 4-824.14.5 ANDB Bitwise AND ByteSyntax[label] name dest, srcClock, clkWord, wWith RPT, clkClassANDB An, imm81 1 N/

Página 85

Individual Instruction Descriptions4-83Assembly Language Instructions4.14.6 ANDS Bitwise AND StringSyntax[label] name dest, src [, src1] Clock, clkWor

Página 86

Individual Instruction Descriptions 4-844.14.7 BEGLOOP Begin LoopSyntax[label] nameClock, clkWord, wWith RPT, clkClassBEGLOOP†1 1 N/R 9d†Loop must end

Página 87

Individual Instruction Descriptions4-85Assembly Language Instructions4.14.8 CALL Unconditional Subroutine CallSyntax[label] name addressClock, clkWord

Página 88 - PDM Clock Divider

Individual Instruction Descriptions 4-864.14.9 CccConditional Subroutine CallSyntax[label] name addressClock, clkWord, wWith RPT, clkClassCcc†pma162 2

Página 89

Individual Instruction Descriptions4-87Assembly Language InstructionsTable 4–48. Names for cccccc namesDescriptioncccc nameNot cc namepTrue condition

Página 90

Features of the C614 1-21.1 Features of the C614Advanced, integrated speech synthesizer for high quality soundOperates up to 8 MHz (performs up to 8 M

Página 91

Individual Instruction Descriptions 4-88Description If cc condition in Table 4–48 is true, PC + 2 is pushed onto the stack and thesecond word operand

Página 92

Individual Instruction Descriptions4-89Assembly Language InstructionsSyntax DescriptionAlternate SyntaxCRC pma16CRNC pma16Conditional call on RCF = 1C

Página 93 - Chapter 4

Individual Instruction Descriptions 4-904.14.10 CMP Compare Two Words[label] name src, src1 [, mod] Clock, clkWord, wWith RPT, clkClassCMP An, {adrs}

Página 94 - 4.2 System Registers

Individual Instruction Descriptions4-91Assembly Language InstructionsExample 4.14.10.3 CMP R2, 0xfe20Compare value at R2 to immediate value 0xfe20 and

Página 95 - 4.2.5 Top of Stack, (TOS)

Individual Instruction Descriptions 4-924.14.11 CMPB Compare Two BytesSyntax[label] name src, src1Clock, clkWord, wWith RPT, clkClassCMPB An, imm81 1

Página 96 - 4.2.8 Accumulators (AC0–AC31)

Individual Instruction Descriptions4-93Assembly Language Instructions4.14.12 CMPS Compare Two StringsSyntax[label]name src, src1Clock, clkWord, wWith

Página 97 - System Registers

Individual Instruction Descriptions 4-944.14.13 COR Correlation Filter FunctionSyntax[label]name dest, srcClock, clkWord, wWith RPT, clkClassCOR An, *

Página 98 - 4.2.12 Status Register (STAT)

Individual Instruction Descriptions4-95Assembly Language Instructions4.14.14 CORK Correlation Filter FunctionSyntax[label] name dest, srcClock, clkWor

Página 99

Individual Instruction Descriptions 4-964.14.15 ENDLOOP End LoopSyntax[label] name #Clock, clkWord, wWith RPT, clkClassENDLOOP [n] 1 1 N/R 9dExecution

Página 100

Individual Instruction Descriptions4-97Assembly Language Instructions4.14.16 EXTSGN Sign Extend WordSyntax[label] name dest [, mod] Clock, clkWord, wW

Página 101 - 4.3.2 Addressing Modes

Applications1-3Introduction to the MSP50C6141.2 ApplicationsDue to its low cost, low-power needs, and high programmability, the C614 issuitable for a

Página 102 - Table 4–3. Rx Bit Description

Individual Instruction Descriptions 4-984.14.17 EXTSGNS Sign Extend StringSyntax[label] name destClock, clkWord, wWith RPT, clkClassEXTSGNS An[~] nR+3

Página 103

Individual Instruction Descriptions4-99Assembly Language InstructionsMOV AP1, 3 ; Point to loc corresponding to; extended word in accMOVS A0, *R0 ; R0

Página 104 - = 0x12ef

Individual Instruction Descriptions 4-1004.14.18 FIR FIR Filter Function (Coefficients in RAM)Syntax[label] name dest, srcClock, clkWord, wWith RPT, c

Página 105 - 4.3.3 Immediate Addressing

Individual Instruction Descriptions4-101Assembly Language InstructionsSee Also RPT, FIRK, COR, CORKExample 4.14.18.1 RPT 0FIR A0, *R0Computes the calc

Página 106 - 4.3.4 Direct Addressing

Individual Instruction Descriptions 4-1024.14.19 FIRK FIR Filter Function (Coefficients in ROM)Syntax[label] name dest, srcClock, clkWord, wWith RPT,

Página 107 - 4.3.5 Indirect Addressing

Individual Instruction Descriptions4-103Assembly Language Instructions4.14.20 IDLE Halt ProcessorSyntax[label] nameClock, clkWord, wWith RPT, clkClass

Página 108 - 4.3.6 Relative Addressing

Individual Instruction Descriptions 4-1044.14.21 IN Input From Port Into WordSyntax[label] name dest, src1Clock, clkWord, wWith RPT, clkClassIN {adrs}

Página 109

Individual Instruction Descriptions4-105Assembly Language Instructions4.14.22 INS Input From Port Into StringSyntax[label] name src, src1Clock, clkWor

Página 110

Individual Instruction Descriptions 4-1064.14.23 INTD Interrupt DisableSyntax[label] nameClock, clkWord, wWith RPT, clkClassINTD 1 1 N/R 9dExecution S

Página 111 - 4.3.7 Flag Addressing

Individual Instruction Descriptions4-107Assembly Language Instructions4.14.24 INTE Interrupt EnableSyntax[label] nameClock, clkWord, wWith RPT, clkCla

Página 112 - 4.3.8 Tag/Flag Bits

IMPORTANT NOTICETexas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinueany product or servic

Página 113

Development Device: MSP50P614 1-41.3 Development Device: MSP50P614The MSP50P614 is an EPROM based version of the MSP50C614, and isavailable in 120 pin

Página 114

Individual Instruction Descriptions 4-1084.14.25 IRET Return From InterruptSyntax[label] nameClock, clkWord, wWith RPT, clkClassIRET 2 1 N/R 5Executio

Página 115 - Table 4–11

Individual Instruction Descriptions4-109Assembly Language Instructions4.14.26 JccConditional JumpsSyntax[label] name pma16 [, Rmod] Clock, clkWord, wW

Página 116

Individual Instruction Descriptions 4-110OpcodeInstructions 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0Jcc pma161 0 0 0 0 0Not cc0 0 0 0 0xpma16Jcc pma

Página 117 - Instruction Classification

Individual Instruction Descriptions4-111Assembly Language Instructionscc namesDescriptioncccc name Not cc nameDescriptionTrue condition (Not true cond

Página 118

Individual Instruction Descriptions 4-112Syntax DescriptionAlternateInstructionJRNLZP pma16 [, Rmod] Conditional jump on Rx ≥ 0 after post-modJRZP pma

Página 119

Individual Instruction Descriptions4-113Assembly Language Instructions4.14.27 JMP Unconditional JumpSyntax[label] name dest [, mod] Clock, clkWord, wW

Página 120

Individual Instruction Descriptions 4-1144.14.28 MOV Move Data Word From Source to DestinationSyntax[label] name dest, src, [, next A] Clock, clkWord,

Página 121

Individual Instruction Descriptions4-115Assembly Language Instructions[label]ClassWith RPT, clkWord, wClock, clkdest, src, [, next A]nameMOV TFn, {cc}

Página 122

Individual Instruction Descriptions 4-116Instructions 012345678910111213141516MOV Rx, R5 1 1 1 1 1 1 1 0 0 1 1 0 Rx0 0MOV SV, imm41 1 1 1 1 1 0 1 0

Página 123

Individual Instruction Descriptions4-117Assembly Language InstructionsDescription Copy value of src to dest. Premodification of accumulator pointers i

Página 124

Functional Description1-5Introduction to the MSP50C6141.4 Functional DescriptionThe device consists of a micro-DSP core, embedded program and datamemo

Página 125

Individual Instruction Descriptions 4-118Syntax DescriptionMOV STR, imm8Move immediate byte to String Register (STR)MOV APn, imm5Move immediate 5-bit

Página 126

Individual Instruction Descriptions4-119Assembly Language InstructionsExample 4.14.28.13 MOV R1, 0x0200 * 2Load immediate word memory address 0x0200 t

Página 127

Individual Instruction Descriptions 4-1204.14.29 MOVAPH Move With Adding PHSyntax[label] name dest, src, src1Clock, clkWord, wWith RPT, clkClassMOVAPH

Página 128

Individual Instruction Descriptions4-121Assembly Language Instructions4.14.30 MOVAPHS Move With Adding PHSyntax[label] name dest, src, src1Clock, clkW

Página 129

Individual Instruction Descriptions 4-1224.14.31 MOVB Move Byte From Source to DestinationSyntax[label] name dest, srcClock, clkWord, wWith RPT, clkCl

Página 130

Individual Instruction Descriptions4-123Assembly Language InstructionsExample 4.14.29.2 MOVB *R2, A0Copy lower 8 bits of accumulator A0 to the data me

Página 131

Individual Instruction Descriptions 4-1244.14.32 MOVBS Move Byte String from Source to DestinationSyntax[label] name dest, srcClock, clkWord, wWith RP

Página 132

Individual Instruction Descriptions4-125Assembly Language Instructions4.14.33 MOVS Move String from Source to DestinationSyntax[label] name dest, srcC

Página 133

Individual Instruction Descriptions 4-126Description Copy value of src string to dest string. Premodification of accumulator pointersis allowed with s

Página 134

Individual Instruction Descriptions4-127Assembly Language Instructions4.14.34 MOVSPH Move With Subtract from PHSyntax[label] name dest, src, src1Clock

Página 135

C605 and C604 (Preliminary Information) 1-6built in pulse-density-modulated DAC (digital-to-analog converter) with directspeaker-drive capability. The

Página 136

Individual Instruction Descriptions 4-1284.14.35 MOVSPHS Move String With Subtract From PHSyntax[label] name dest, src, src1Clock, clkWord, wWith RPT,

Página 137

Individual Instruction Descriptions4-129Assembly Language Instructions4.14.36 MOVT Move Tag From Source to DestinationSyntax[label] name dest, srcCloc

Página 138

Individual Instruction Descriptions 4-1304.14.37 MOVU Move Data UnsignedSyntax[label] name dest, src [, mod] Clock, clkWord, wWith RPT, clkClassMOVU

Página 139

Individual Instruction Descriptions4-131Assembly Language InstructionsFigure 4–8. Valid Moves/Transfer in MSP50P614/MSP50C614 Instruction SetPHAnRxAPn

Página 140

Individual Instruction Descriptions 4-1324.14.38 MUL Multiply (Rounded)Syntax[label] name src [, mod] Clock, clkWord, wWith RPT, clkClassMUL An[~] [,

Página 141

Individual Instruction Descriptions4-133Assembly Language Instructions4.14.39 MULS Multiply String With No Data TransferSyntax[label] name srcClock, c

Página 142

Individual Instruction Descriptions 4-1344.14.40 MULAPL Multiply and Accumulate ResultSyntax[label] name dest, src [, mod] Clock, clkWord, wWith RPT,

Página 143

Individual Instruction Descriptions4-135Assembly Language Instructions4.14.41 MULAPLS Multiply String and Accumulate ResultSyntax[label] name dest, sr

Página 144

Individual Instruction Descriptions 4-1364.14.42 MULSPL Multiply and Subtract PL From AccumulatorSyntax[label] name dest, src [, mod] Clock, clkWord,

Página 145 - Hardware Loop Instructions

Individual Instruction Descriptions4-137Assembly Language Instructions4.14.43 MULSPLS Multiply String and Subtract PL From AccumulatorSyntax[label] na

Página 146

C605 and C604 (Preliminary Information)1-7Introduction to the MSP50C614Figure 1–1. Functional Block Diagram for the C614 SCANINSYNCPLLOSCOUTOSCINRESET

Página 147 - 4.8 String Instructions

Individual Instruction Descriptions 4-1384.14.44 MULTPL Multiply and Transfer PL to AccumulatorSyntax[label] name dest, src [, mod] Clock, clkWord, wW

Página 148 - String Instructions

Individual Instruction Descriptions4-139Assembly Language Instructions4.14.45 MULTPLS Multiply String and Transfer PL to AcumulatorSyntax[label] name

Página 149 - 4.9 Lookup Instructions

Individual Instruction Descriptions 4-1404.14.46 NEGAC Two’s Complement Negation of AccumulatorSyntax[label] name dest, src [,mod]Clock, clkWord, wWit

Página 150 - Lookup Instructions

Individual Instruction Descriptions4-141Assembly Language Instructions4.14.47 NEGACS Two’s Complement Negation of Accumulator StringSyntax[label] name

Página 151

Individual Instruction Descriptions 4-1424.14.48 NOP No OperationSyntax[label] nameClock, clkWord, wWith RPT, clkClassNOP 1 1 nR+3 9dExecution PC ⇐ PC

Página 152 - Special Filter Instructions

Individual Instruction Descriptions4-143Assembly Language Instructions4.14.49 NOTAC One’s Complement Negation of AccumulatorSyntax[label] name dest, s

Página 153

Individual Instruction Descriptions 4-1444.14.50 NOTACS One’s Complement Negation of Accumulator StringSyntax[label] name dest, srcClock, clkWord, wWi

Página 154

Individual Instruction Descriptions4-145Assembly Language Instructions4.14.51 OR Bitwise Logical ORSyntax[label] name dest, src [, src1] [, mod]Clock,

Página 155 - Wrap around

Individual Instruction Descriptions 4-146See Also ORB, ORS, AND, ANDS, XOR, XORS, NOTAC, NOTACSExample 4.14.51.1 OR A0, *R0++R5OR accumulator A0 with

Página 156

Individual Instruction Descriptions4-147Assembly Language Instructions4.14.52 ORB Bitwise OR ByteSyntax[label] name dest, srcClock, clkWord, wWith RPT

Página 157

C605 and C604 (Preliminary Information) 1-8Figure 1–2. Oscillator and PLL ConnectionMSP50P614MSP50C614OSCINOSCOUT PLLC(PLL) = 3300 pF†22 pF†22 pF†10 M

Página 158 - FIRK_COEFFS

Individual Instruction Descriptions 4-1484.14.53 ORS Bitwise OR StringSyntax[label] name dest, src [, src1] Clock, clkWord, wWith RPT, clkClassORS An,

Página 159 - N+1 Taps

Individual Instruction Descriptions4-149Assembly Language Instructions4.14.54 OUT Output to PortSyntax[label] name dest, srcClock, clkWord, wWith RPT,

Página 160

Individual Instruction Descriptions 4-1504.14.55 OUTS Output String to PortSyntax[label] name dest, srcClock, clkWord, wWith RPT, clkClassOUTSport6, A

Página 161 - 4.12 Conditionals

Individual Instruction Descriptions4-151Assembly Language Instructions4.14.56 RET Return From Subroutine (CALL, Ccc)Syntax[label] nameClock, clkWord,

Página 162 - 4.13 Legend

Individual Instruction Descriptions 4-1524.14.57 RFLAG Reset Memory FlagSyntax[label] name srcClock, clkWord, wWith RPT, clkClassRFLAG {flagadrs} 1 1

Página 163

Individual Instruction Descriptions4-153Assembly Language Instructions4.14.58 RFM Reset Fractional ModeSyntax[label] nameClock, clkWord, wWith RPT, cl

Página 164

Individual Instruction Descriptions 4-1544.14.59 ROVM Reset Overflow ModeSyntax[label] nameClock, clkWord, wWith RPT, clkClassROVM 1 1 N/R 9dExecution

Página 165

Individual Instruction Descriptions4-155Assembly Language Instructions4.14.60 RPT Repeat Next InstructionSyntax[label] name srcClock, clkWord, wWith R

Página 166

Individual Instruction Descriptions 4-1564.14.61 RTAG Reset TagSyntax[label] name destClock, clkWord, wWith RPT, clkClassRTAG {adrs} Table 4–46 Table

Página 167 - 4.14.1 ADD Add word

Individual Instruction Descriptions4-157Assembly Language Instructions4.14.62 RXM Reset Extended Sign ModeSyntax[label] nameClock, clkWord, wWith RPT,

Página 168

C605 and C604 (Preliminary Information)1-9Introduction to the MSP50C614Figure 1–3. RESET CircuitResetSwitch1 µF(20%)Inside theMSP50P614MSP50C614VDDVSS

Página 169 - 4.14.2 ADDB ADD BYTE

Individual Instruction Descriptions 4-1584.14.63 SFLAG Set Memory FlagSyntax[label] name destClock, clkWord, wWith RPT, clkClassSFLAG {flagadrs} 1 1 N

Página 170 - 4.14.3 ADDS Add String

Individual Instruction Descriptions4-159Assembly Language Instructions4.14.64 SFM Set Fractional ModeSyntax[label] nameClock, clkWord, wWith RPT, clkC

Página 171

Individual Instruction Descriptions 4-1604.14.65 SHL Shift LeftSyntax[label] name dest [, mod]Clock, clkWord, wWith RPT, clkClassSHL An[~] [, next A]

Página 172 - 4.14.4 AND Bitwise AND

Individual Instruction Descriptions4-161Assembly Language Instructions4.14.66 SHLAC Shift Left AccumulatorSyntax[label] name dest, src [, mod] Clock,

Página 173

Individual Instruction Descriptions 4-1624.14.67 SHLACS Shift Left Accumulator String IndividuallySyntax[label] name dest, srcClock, clkWord, wWith RP

Página 174 - 4.14.5 ANDB Bitwise AND Byte

Individual Instruction Descriptions4-163Assembly Language Instructions4.14.68 SHLAPL Shift Left with AccumulateSyntax[label] name dest, src [, mod] Cl

Página 175

Individual Instruction Descriptions 4-1644.14.69 SHLAPLS Shift Left String With AccumulateSyntax[label] name dest, srcClock, clkWord, wWith RPT, clkCl

Página 176 - 4.14.7 BEGLOOP Begin Loop

Individual Instruction Descriptions4-165Assembly Language Instructions4.14.70 SHLS Shift Left Accumulator String to ProductSyntax[label] name destCloc

Página 177

Individual Instruction Descriptions 4-1664.14.71 SHLSPL Shift Left With Subtract PLSyntax[label] name dest, src [, mod] Clock, clkWord, wWith RPT, clk

Página 178 - Conditional Subroutine Call

Individual Instruction Descriptions4-167Assembly Language Instructions4.14.72 SHLSPLS Shift Left String With Subtract PLSyntax[label] name dest, srcCl

Página 179 - Table 4–48. Names for cc

Terminal Assignments and Signal Descriptions 1-101.6 Terminal Assignments and Signal DescriptionsTable 1–1. Signal and Pad Descriptions for the C614SI

Página 180

Individual Instruction Descriptions 4-1684.14.73 SHLTPL Shift Left and Transfer PL to AccumulatorSyntax[label] name dest, src [, mod] Clock, clkWord,

Página 181

Individual Instruction Descriptions4-169Assembly Language Instructions4.14.74 SHLTPLS Shift Left String and Transfer PL to AccumulatorSyntax[label] na

Página 182 - 4.14.10 CMP Compare Two Words

Individual Instruction Descriptions 4-1704.14.75 SHRAC Shift Accumulator RightSyntax[label] name dest, src, [, mod] Clock, clkWord, wWith RPT, clkClas

Página 183 - Example 4.14.10.4 CMP R0, R5

Individual Instruction Descriptions4-171Assembly Language Instructions4.14.76 SHRACS Shift Accumulator String RightSyntax[label] name dest, srcClock,

Página 184

Individual Instruction Descriptions 4-1724.14.77 SOVM Set Overflow ModeSyntax[label] nameClock, clkWord, wWith RPT, clkClassSOVM 1 1 N/R 9dExecution S

Página 185

Individual Instruction Descriptions4-173Assembly Language Instructions4.14.78 STAG Set TagSyntax[label] name destClock, clkWord, wWith RPT, clkClassST

Página 186

Individual Instruction Descriptions 4-1744.14.79 SUB SubtractSyntax[label] name dest, src, src1, [next A]] Clock, clkWord, wWith RPT, clkClassSUB An[~

Página 187

Individual Instruction Descriptions4-175Assembly Language InstructionsSyntax DescriptionSUB An[~], An, {adrs} [, next A] Subtract effective data memor

Página 188 - 4.14.15 ENDLOOP End Loop

Individual Instruction Descriptions 4-1764.14.80 SUBB Subtract ByteSyntax[label] name dest, srcClock, clkWord, wWith RPT, clkClassSUBB An, imm81 1 N/R

Página 189

Individual Instruction Descriptions4-177Assembly Language Instructions4.14.81 SUBS Subtract Accumulataor StringSyntax[label] name dest, src, src1Clock

Página 190 - MOV AP0, 0

Terminal Assignments and Signal Descriptions1-11Introduction to the MSP50C614The C614 is sold in die form for its volume production. Contact you local

Página 191 - Example 4.14.17.1 EXTSGNS A0~

Individual Instruction Descriptions 4-178Syntax DescriptionSUBS An[~], An, {adrs} Subtract data memory string from An string, store result in An[~] st

Página 192

Individual Instruction Descriptions4-179Assembly Language Instructions4.14.82 SXM Set Extended Sign ModeSyntax[label] nameClock, clkWord, wWith RPT, c

Página 193 - FIR A0, *R0

Individual Instruction Descriptions 4-1804.14.83 VCALL Vectored CallSyntax[label] name destClock, clkWord, wWith RPT, clkClassVCALLvector82 1 N/R 7aEx

Página 194

Individual Instruction Descriptions4-181Assembly Language Instructions4.14.84 XOR Logical XORSyntax[label] name dest, src, src1 [, mod] Clock, clkWord

Página 195 - 4.14.20 IDLE Halt Processor

Individual Instruction Descriptions 4-182See Also XORB, XORS, AND, ANDS, OR, ORS, ORB, NOTAC, NOTACSExample 4.14.84.1 XOR A1, A1, 0x13FFXOR immediate

Página 196

Individual Instruction Descriptions4-183Assembly Language Instructions4.14.85 XORB Logical XOR ByteSyntax[label] name dest, srcClock, clkWord, wWith R

Página 197

Individual Instruction Descriptions 4-1844.14.86 XORS Logical XOR StringSyntax[label] name dest, src [, src1] Clock, clkWord, wWith RPT, clkClassXORS

Página 198

Individual Instruction Descriptions4-185Assembly Language Instructions4.14.87 ZAC Zero AccumulatorSyntax[label] name dest [, mod] Clock, clkWord, wWit

Página 199 - 4.14.24 INTE Interrupt Enable

Individual Instruction Descriptions 4-1864.14.88 ZACS Zero Accumulator StringSyntax[label] name destClock, clkWord, wWith RPT, clkClassZAC AnnS+3 1 nR

Página 200

Instruction Set Encoding4-187Assembly Language Instructions4.15 Instruction Set EncodingInstructions 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0ADD An[~]

Página 201 - Conditional Jumps

Terminal Assignments and Signal Descriptions 1-12Figure 1–4. MSP50C614 100 Pin PJM PLastic Package Pinout (Preliminary Information)1234567891011121314

Página 202

Instruction Set Encoding 4-188Instructions 012345678910111213141516CMP An, {adrs}0 1 0 1 1 0 0 An adrsxdma16 (for direct) or offset16 (long relative)

Página 203

Instruction Set Encoding4-189Assembly Language InstructionsInstructions 012345678910111213141516JMP pma16, Rx––1 0 0 0 0 0 0 1 0 1 0 1 Rx1 0xpma16JMP

Página 204

Instruction Set Encoding 4-190Instructions 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0MOV PH, {adrs}1 1 0 1 1 0 0 0 1adrsxdma16 (for direct) or offset16

Página 205

Instruction Set Encoding4-191Assembly Language InstructionsInstructions 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0MOVB {adrs}, Anxdma16 (for direct) or

Página 206

Instruction Set Encoding 4-192Instructions 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0MUL {adrs}1 1 0 1 1 1 0 1 1adrsxdma16 (for direct) or offset16 (lo

Página 207

Instruction Set Encoding4-193Assembly Language InstructionsInstructions 012345678910111213141516ORS An[~], An[~], pma161 1 1 0 0 1 1 An1 0 0 0 0 1 A~

Página 208

Instruction Set Encoding 4-194Instructions 012345678910111213141516SHLTPLS An[~], An[~] 1 1 1 0 0 1 1 An1 1 0 1 0 0 A~ ~ASHLAC An[~], An[~] [, next A

Página 209 - Description Copy value of

Instruction Set Encoding4-195Assembly Language InstructionsInstructions 012345678910111213141516ZAC An[~] [, next A] 1 1 1 0 0next AAn0 0 0 1 1 0 0 ~

Página 210

Instruction Set Summary 4-1964.16 Instruction Set SummaryUse the legend in Section 4.13 and the following table to obtain a summary ofeach instruction

Página 211

Instruction Set Summary4-197Assembly Language InstructionsnameClassWith RPT, clkWords, wClock, clkdest [, src] [, src1] [,mod]CMP Rx, imm162 2 N/R 2bC

Página 212

Terminal Assignments and Signal Descriptions1-13Introduction to the MSP50C614For software development and prototyping, a windowed ceramic 120-pin grid

Página 213

Instruction Set Summary 4-198nameClassWith RPT, clkWords, wClock, clkdest [, src] [, src1] [,mod]MOV {adrs}, An[~] [, next A]Table 4–46Table 4–46 1aMO

Página 214

Instruction Set Summary4-199Assembly Language Instructionsnamedest [, src] [, src1] [,mod]Clock, clkWords, wWith RPT, clkClassMOV {adrs}, SVTable 4–46

Página 215

Instruction Set Summary 4-200name dest [, src] [, src1] [,mod]Clock, clkWords, wWith RPT, clkClassMOVU MR, {adrs}Table 4–46Table 4–46 5MOVAPH An, MR,

Página 216

Instruction Set Summary4-201Assembly Language InstructionsnameClassWith RPT, clkWords, wClock, clkdest [, src] [, src1] [,mod]OR TFn, {flagadrs} 1 1 n

Página 217

Instruction Set Summary 4-202nameClassWith RPT, clkWords, wClock, clkdest [, src] [, src1] [,mod]SHLTPLS An, {adrs}Table 4–46Table 4–46 1bSHLTPLS An[~

Página 218

Instruction Set Summary4-203Assembly Language InstructionsnameClassWith RPT, clkWords, wClock, clkdest [, src] [, src1] [,mod]XORS An, {adrs}Table 4–4

Página 219

Instruction Set Summay4-204Assembly Language InstructionsMSP50C614 (MSP50P614) IO Port DescriptionAddress Bits Name R/W 15 14 13 12 11 10 9 8 7 6 5 4

Página 220

Instruction Set Summay4-205Assembly Language InstructionsMSP50C614 (MSP50P614) IO Port DescriptionAddress Bits Name R/W 15 14 13 12 11 10 9 8 7 6 5 4

Página 221

Instruction Set Summay4-206Assembly Language InstructionsInterrupt Vector Source Trigger Event Priority CommentINT0 0x7FF0 DAC Timer timer underflow h

Página 222

Instruction Set Summay4-207Assembly Language Instructions10 kHz Nominal Synthesis Rate (32.768 kHz oscillator reference)ClkSpdCtrlMasterCPUOutputNumbe

Página 223 - R5 can be moved to Rx

iiiRead This FirstPrefaceRead This FirstAbout This ManualThis user’s guide gives information for the MSP50C61 mixed-signal proces-sor. This informatio

Página 224

Terminal Assignments and Signal Descriptions 1-14The pin assignments for the 120-pin PGA package (P614 device only) are out-lined in the following tab

Página 225

Instruction Set Summay4-208Assembly Language Instructions

Página 226

5-1Code Development ToolsFor code development purposes, the programmable MSP50P614 is used.The MSP50C6xx code development tool is used to compile, lin

Página 227

Introduction 5-25.1 IntroductionThe MSP50C6xx development tools gain access to the core controller via aserial scan interface called the Scanport. The

Página 228

MSP50C6xx Software Development Tool5-3Code Development Toolsthe reset circuit and the reset pin, and connecting the scanport reset signaldirectly to t

Página 229

Requirements 5-45.3 RequirementsThe requirements for a complete MSP50C6xx development system are asfollows:PC Requirements:Intel i486 or Pentium cla

Página 230

Hardware Installation5-5Code Development Tools5.4 Hardware InstallationThe following steps are used to set up the hardware (see Figure 5–2):1) Connect

Página 231

Software Installation 5-6Figure 5–3. 10-Pin IDC Connector (top view looking at the board)IDC2X5MRESETVPPSCANCLKPGMPULSESYNCGNDN/CSCANINVDDSCANOUT13579

Página 232

Software Installation5-7Code Development ToolsFigure 5–5. Setup WindowStep 2: After setup runs the InstallShield (see Figure 5–4), the setup windowpop

Página 233

Software Installation 5-8Figure 5–6. Exit Setup DialogStep 4: If you press Cancel, you can return to setup by pressing Resume but-ton. You can exit se

Página 234 - 4.14.48 NOP No Operation

Software Installation5-9Code Development ToolsStep 5: If you continue with setup, you will be brought to User Informationdialog. Enter your Name and C

Página 235

2-1MSP50C614 ArchitectureA detailed description of MSP50C614 architecture is included in this chapter.After reading this chapter, the reader will have

Página 236

Software Installation 5-10Figure 5–9. Select Program Folder DialogStep 9: Enter a new folder name in Select Program Folder dialog.Step 10: Press Next

Página 237 - 4.14.51 OR Bitwise Logical OR

Software Installation5-11Code Development ToolsFigure 5–10. Copying FilesStep 11: The program starts installation. When the installation is complete,

Página 238

Software Installation 5-12Figure 5–11.Setup Complete DialogStep 12: The Setup Complete dialog message is displayed when setup iscompleted. Press the F

Página 239 - 4.14.52 ORB Bitwise OR Byte

Software Emulator5-13Code Development Tools5.6 Software EmulatorRun the EMUC6xx.exe program which will be in the installation directory oron your desk

Página 240 - 4.14.53 ORS Bitwise OR String

Software Emulator 5-14Figure 5–13. Project MenuFigure 5–14. Project Open Dialog

Página 241 - 4.14.54 OUT Output to Port

Software Emulator5-15Code Development ToolsFigure 5–15. File Menu Options5.6.2 ProjectsThe emulator can only work from project files created within th

Página 242

Software Emulator 5-16(pfe32.exe) and an error dialog. The user can modify the source code andsave the changes, before restarting the building action.

Página 243

Software Emulator5-17Code Development ToolsFigure 5–17. RAM WindowRAM Window : Displays 16-bit data memory hex values. The left most columnis the addr

Página 244 - {flagadrs}

Software Emulator 5-18Watch Window : Watch window displays the data memory location and datato be watched. It mirrors the value displayed in the RAM w

Página 245

Software Emulator5-19Code Development Toolsbeing run in emulation mode. STK field is the depth of the stack. The emulatorkeeps track of number of call

Página 246

2-22.1 Architecture OverviewThe core processor in the C614 is a medium performance mixed signal pro-cessor with enhanced microcontroller features an

Página 247

Software Emulator 5-20background is the line reached by a search command (by PC, line number orlabel). Search position can also be set by double click

Página 248 - 4.14.61 RTAG Reset Tag

Software Emulator5-21Code Development Toolsvariable value and its address in RAM are then displayed (Figure 5–21).Variables appearing on a gray backgr

Página 249

Software Emulator 5-22modified (i.e, by double clicking on a value and typing its new hexadecimalvalue over the existing value). Values of read only r

Página 250 - 4.14.63 SFLAG Set Memory Flag

Software Emulator5-23Code Development ToolsStep Over : This menu option, (key equivalent: F8), allows the user to stepover a call instruction in the p

Página 251

Software Emulator 5-24Fast Run : This menu option, (key equivalent: CTRL+F9), allows the user toexecute a portion of the program window, until a break

Página 252 - 4.14.65 SHL Shift Left

Software Emulator5-25Code Development ToolsFigure 5–25. EPROM Programming Dialog

Página 253

Software Emulator 5-26Trace Mode : This menu option launches the Trace Mode Dialog(Figure 5–25), that allows that user to run the chip in trace mode,

Página 254

Software Emulator5-27Code Development ToolsStop Internal : This menu option halts execution of an internal program. Itprovides an internal picture of

Página 255

Software Emulator 5-28Init RAM : Initializes the data memory values to zero including tag bits.Init Registers : Initializes all the system registers (

Página 256

Software Emulator5-29Code Development ToolsFigure 5–28. Options MenuFigure 5–29. Miscellaneous DialogList of directories separated bysemicolons that t

Página 257

2-3MSP50C614 ArchitectureFigure 2–1. MSP50C614 Core Processor Block DiagramMultiplier (MR)† Shift Value (SV)†17 x 17 MultiplierProduct High (PH)†16 b

Página 258

Software Emulator 5-30Figure 5–30. Windows Menu Options5.6.7 Emulator Online Help SystemThe emulator has an online help which is launched when the Hel

Página 259

Software Emulator5-31Code Development ToolsFigure 5–31. Context Sensitive Help System

Página 260

Software Emulator 5-325.6.8 Known Differences, Incompatibilities, RestrictionsInclude statements in assembly language files must enclose the file name

Página 261

Assembler5-33Code Development Tools5.7 AssemblerThe MSP50P614/MSP50C614 assembler is implemented as a Windows DLL(Dynamic Linked Library).5.7.1 Assemb

Página 262

Assembler 5-345.7.2 Assembler DirectivesAssembler directives are texts which have special meaning to the assembler.Some of these directives are extrem

Página 263

Assembler5-35Code Development Toolssymbol is any alphanumeric text starting with an alphabetic character, anumber, or an expression.Examples:SYM1 EQU

Página 264

Assembler 5-36Example:#IF expression; do something here#ELSE; do other things here#ENDIF#IFDEF symbol: Start of a conditional assembly structure. If s

Página 265 - 4.14.78 STAG Set Tag

Assembler5-37Code Development ToolsBYTE expression[,expression]: Introduces one or more data items, of BYTEsize (8 bits) . The bytes are placed in the

Página 266 - 4.14.79 SUB Subtract

Linker 5-38should be declared there as EXTERNAL (or REF). Note that this technique canalso be used to make constants defined with the EQU statement av

Página 267

C– – Compiler5-39Code Development ToolsThe syntax of the call is:extern int FAR PASCAL LINK_MAIN (LPSTR source_file,LPSTRexe_file);...ierr=LINK_MAIN

Página 268 - 4.14.80 SUBB Subtract Byte

2-4Figure 2–2. Computational Unit Block Diagram (The shaded boxes represent internalprogrammable registers.)Accumulators516AC3AC2AC1AC0Read/WriteAC7

Página 269

C– – Compiler 5-40short ram_size; /* ram size for the chip */short verbose; /* refers to assembly code output */short c_code; /* if non zero, c code i

Página 270

C– – Compiler5-41Code Development Tools5.9.2 Variable TypesType Name Mnemonic Range Size in Bytes ExampleInteger int [–32768,32767] 2 int i,j;Characte

Página 271

C– – Compiler 5-425.9.4 C– – DirectivesC– – has a limited number of directives and some additional directives notfound in ANSI C compilers. The follow

Página 272 - 4.14.83 VCALL Vectored Call

C– – Compiler5-43Code Development Tools5.9.4.3 #includeAs in regular C, this directive allows for the insertion of a file into the currentfile. If the

Página 273 - 4.14.84 XOR Logical XOR

C– – Compiler 5-445.9.5 Include FilesThere are currently two include files supplied with C– –, cmm_func.h, whichcontains function prototypes for the C

Página 274

C– – Compiler5-45Code Development Tools5.9.6 Function Prototypes and DeclarationsAs mentioned above,C– – function prototypes and declarations MUST be

Página 275 - 4.14.85 XORB Logical XOR Byte

C– – Compiler 5-46Table 5–1. String Functionsadd_string(int *result,int *str1,int *str2,int lg)adds strings str1 and str2, of length lg (+2),and puts

Página 276

C– – Compiler5-47Code Development ToolsAlso note that the user has to supply the length of the input string and the lengthof the output string in the

Página 277 - 4.14.87 ZAC Zero Accumulator

Implementation Details 5-485.10 Implementation DetailsThis section is C– – specific.5.10.1 ComparisonsWe use the CMP instruction for both signed and u

Página 278 - A1~ to zero

Implementation Details5-49Code Development ToolsUnsigned comparison of a and b. (a is in A0, b is in A0~)Assembly Test Condition_ult a < b AULT_ule

Página 279 - 4.15 Instruction Set Encoding

Computation Unit2-5MSP50C614 Architecture2.2 Computation UnitThe computational unit (CU) is comprised of a (17-bit by 17-bit) Booth’salgorithm multipl

Página 280 - Instruction Set Encoding

Implementation Details 5-505.10.2 DivisionThe integer division currently requires the use of several accumulator pointers.We divide a 16 bit integer l

Página 281

Implementation Details5-51Code Development ToolsFunction declarations ( or function prototypes) are introduced by themnemonic cmm_func. We only allow

Página 282

Implementation Details 5-52constant int M1[4]={0x04CB,0x71FB,0x011F,0x0};constant int M2[4]={0x85EB,0x8FD9,0x08FB,0x0};cmm_func string_multiply(int *p

Página 283

Implementation Details5-53Code Development Toolsfree(mm2);free(pp);}cmm_func main(int argc,char *argv){int m1[4],m2[4],product[9];xfer_const(m1,M1,STR

Página 284

Implementation Details 5-54find the correct size for bogus. Bogus can be made larger for extra safety aslong as enough memory is left over for the C––

Página 285

Implementation Details5-55Code Development Tools|||||||––––––––––––––| |––––––––––––––| |––––––––––––––|| |R7 | |R5,R7 | ||––––––––––––––| |––––––––––

Página 286

Implementation Details 5-56C to C function return (in cmm_return).|||||||||||||––––––––––––––| |––––––––––––––| |––––––––––––––|R5|||||||–––––––––––––

Página 287

Implementation Details5-57Code Development Tools|––––––––––––––||||––––––––––––––||||––––––––––––––||||––––––––––––––||(old)R5 ||––––––––––––––||(old)

Página 288 - 4.16 Instruction Set Summary

Implementation Details 5-58C to ASM function call. The stack is shown after the operation on the bottomis performed.|||||||––––––––––––––| |––––––––––

Página 289

Implementation Details5-59Code Development Tools|||––––––––––––––||||––––––––––––––||||||––––––––––––––||||––––––––––––––|R7 |Return Addr ||––––––––––

Página 290

Computation Unit 2-6The multiplicand source can be either data memory, an accumulator, or anaccumulator offset. The multiplier source can be either th

Página 291 - Flagadrs

Implementation Details 5-60To call an assembly routine from C––, the routine must be defined as GLOBALin the assembly file and as a CMM_FUNC in the C–

Página 292

Implementation Details5-61Code Development Tools;–––––––––––––––––––––––––––––––––––––––––––––––––––––; called from C––; void oport(char Port, int Dat

Página 293

Implementation Details 5-62_iprtcin a0, 0x10 ; read from PortCret_iprtdin a0, 0x18 ; read from PortDret_iprtein a0, 0x20 ; read from PortEret_iprtf

Página 294

Implementation Details5-63Code Development ToolsDATA _cprte;–––––––––––––––––––––––––––––––––––––––––––––––––––––;––––––––––––––––––––––––––––––––––––

Página 295

Implementation Details 5-64nopret;****************************************************************; Dummy interrupt routines;*************************

Página 296 - Instruction Set Summay

Implementation Details5-65Code Development Toolscmm_func iport(int x); // read a portint i,j,k,l; // various temp and loop variablesint x[4]; // ar

Página 297

Implementation Details 5-66 wait(100); oport(’B’, 0x00); wait(100); oport(’B’, 0xFF); wait(100); oport(’B’, 0x00);

Página 298

Beware of Stack Corruption5-67Code Development Tools5.11 Beware of Stack CorruptionMSP50C614/MSP50P614 stack (pointed by R7 register) can easily get c

Página 300

6-1ApplicationsThis chapter contains application information on application circuits, proces-sor initialization sequence, resistor trim setting, synth

Página 301 - Code Development Tools

Computation Unit2-7MSP50C614 ArchitectureFigure 2–3. Overview of the Multiplier Unit OperationMULTIPLIER UNIT INPUTSMultiplicand 16-bit- latched in a

Página 302 - 5.1 Introduction

Application Circuits 6-26.1 Application CircuitsTo pin 2 of Scan Port Connector†MSP50C614/MSP50P614To pin 1 of Scan Port Connector†(optional )5 V0.1 µ

Página 303

Application Circuits6-3ApplicationsIt is of particular importance to provide a separate decoupling capacitor for theVDD, VSS pair which services the D

Página 304 - 5.3 Requirements

MSP50C614/MSP50P614 Initialization Codes 6-4In any C614 application, it is important for certain components to be locatedas close as possible to the C

Página 305 - 5.4 Hardware Installation

MSP50C614/MSP50P614 Initialization Codes6-5Applications6.2.1 File init.asm;****************************************************************; INIT.ASM;

Página 306 - 5.5 Software Installation

MSP50C614/MSP50P614 Initialization Codes 6-6 out IntGenCtrl,a0 ;clear all interrupt mask bits, disabletimers mov r0,0x0

Página 307 - Figure 5–5. Setup Window

MSP50C614/MSP50P614 Initialization Codes6-7Applications mov *save_clkspdctrl,a0 ;save the ClkSpdCtrl value for later, when

Página 308 - Figure 5–6. Exit Setup Dialog

Texas Instruments C614 Synthesis Code 6-86.3 Texas Instruments C614 Synthesis CodeSome sample codes are supplied with the development tools. These sam

Página 309 - Software Installation

Texas Instruments C614 Synthesis Code6-9ApplicationsTo continue, click on the Run Internal icon again. The LEDs should flash duringMELP synthesis (Ext

Página 310 - Next >

Texas Instruments C614 Synthesis Code 6-10| spk_ram.irx|| –––––––– melp| melp.obj| melp.irx|–––––––– modules| –––––––– 605| 605.asm| 605.irx|| –––––––

Página 311 - Figure 5–10. Copying Files

Texas Instruments C614 Synthesis Code6-11ApplicationsFile DescriptionUtil.obj Maths functions and tables used by the vocoders.Dsputil.asm Oversampling

Página 312 - Setup Complete

Computation Unit 2-8The all-zero values are necessary for data transfers and unitary operations.All-zeros also serve as default values for the registe

Página 313 - 5.6 Software Emulator

Texas Instruments C614 Synthesis Code 6-12RAM UsageThe file MAIN.LST contains the variable RAM assignments. Do a search forBEGIN_RAM to find the start

Página 314 - Figure 5–13. Project Menu

Texas Instruments C614 Synthesis Code6-13ApplicationsThese files may be edited for special purpose codeINIT.ASM and SPEAK.ASMThese files should never

Página 315 - 5.6.2 Projects

ROM Usage With Respect to Various Synthesis Algorithms 6-146.4 ROM Usage With Respect to Various Synthesis AlgorithmsThe following table lists some po

Página 316 - 5.6.3 Description of Windows

7-1Customer InformationCustomer information regarding package configurations, development cycle,and ordering forms are included in this chapter.Topic

Página 317 - Figure 5–17. RAM Window

Mechanical Information 7-27.1 Mechanical InformationThe C614 is normally sold in die form but is also available in 100-pin PJMpackages. The P614 is av

Página 318 - Figure 5–18. CPU Window

Mechanical Information7-3Customer Information7.1.2 Package InformationThe MSP50C614 will be available in the 100-pin PJM package (seeFigure 7–1 and Ta

Página 319 - Figure 5–19. Program Window

Mechanical Information 7-4Figure 7–1. 100-Pin PJM Mechanical Information4040022/B 03/950,16 NOM14,20 17,4513,80 16,955051313012,35 TYP1,030,730,25Seat

Página 320 - Software Emulator

Mechanical Information7-5Customer InformationThe C614 is sold in die form for its volume production. For software develop-ment and prototyping, a wind

Página 321 - Figure 5–22. Inspect Window

Mechanical Information 7-6The pin assignments for the 120-pin PGA are outlined in the following table.(Refer to Section 1.6 for more information on th

Página 322 - Figure 5–23. I/O Ports Window

Customer Information Fields in the ROM7-7Customer Information7.2 Customer Information Fields in the ROMIn those cases where the customer code is progr

Página 323 - Figure 5–24. Debug Menu

Computation Unit2-9MSP50C614 ArchitectureFigure 2–4. Overview of the Arithmetic Logic UnitALU INPUTSALU-A 16-bit- selects between ...all 0’sOffset Acc

Página 324

Speech Development Cycle 7-87.3 Speech Development CycleFigure 7–4. Speech Development CycleSpeech SpecificationSpeaker SelectionRecording ScriptPrepa

Página 325

Device Production Sequence7-9Customer InformationAll prototype devices are shipped with the following disclaimer: It is understoodthat, for expediency

Página 326 - Figure 5–26. Trace Mode

Ordering Information 7-107.5 Ordering InformationBecause the MSP50C614 is a custom device, it receives a distinct identifica-tion, as follows:CSMGate

Página 327 - Figure 5–27. Init Menu Option

New Product Release Forms7-11Customer InformationNEW PRODUCT RELEASE FORM FOR MSP50C614 (DIE ONLY)SECTION 1. ORDER INFORMATIONDivision:_______________

Página 329 - Figure 5–28. Options Menu

A-1Appendix AMSP50C605 Preliminary DataThis Appendix contains preliminary data for the MSP50C605 device.Note: MSP50C605MSP50C605 is in the Product Pre

Página 330

Introduction A-2A.1 IntroductionMSP50C605 is a spin off of the core processor MSP50C614. It uses three IOports of MSP50C614 and maps a 1.835 Mbits of

Página 331

ArchitectureA-3MSP50C605 Preliminary DataA.3.1 RAMThe MSP50C605 (like MSP50C614) has 640 17-bit words of internal datamemory (static RAM). This RAM oc

Página 332

Architecture A-4Figure A–1. MSP50C605 ArchitectureData ROM access Core CU Computational Unit PCU Prog. Counter Unit Instr. DecoderTIMER1 PRD1 TI

Página 333 - 5.7 Assembler

ArchitectureA-5MSP50C605 Preliminary DataFigure A–2. MSP50C605 Memory Organization0x00000x08000x07FF0x7FF00x7FF7User ROM30704 x 17 bit(C605 : read–o

Página 334 - 5.7.2 Assembler Directives

Notational Conventionsiv version of the special typeface for emphasis; interactive displays use abold version of the special typeface to distinguish c

Página 335 - SYM3 EQU SYM1 * SYM2 – *0x200

Computation Unit 2-10When writing an accumulator-referenced instruction, therefore, the workingaccumulator address is stored in one of AP0 to AP3. The

Página 336 - Users should NEVER

Architecture A-6Figure A–3. MSP50C605 100-Pin PJM PackageMSP50C605 100 PIN PJMPLASTIC PACKAGE1808110030315051

Página 337 - Assembler

ArchitectureA-7MSP50C605 Preliminary DataTable A–1. MSP50C605 100-Pin PJM Plastic Package Pinout DescriptionDescription Pin# Description Pin# Descript

Página 339 - 5.9 C– – Compiler

B-1Appendix AMSP50C604 Preliminary DataThis Appendix contains preliminary data for the MSP50C604 device.Note: MSP50C604MSP50C604 is in the Product Pre

Página 340 - 5.9.1 Foreword

Introduction B-2B.1 IntroductionMSP50C604 is a spin off of the core processor MSP50C614. It is targeted asa slave device. An external microprocessor i

Página 341 - 5.9.3 External References

ArchitectureB-3MSP50C604 Preliminary DataB.3.1 RAMThe MSP50C604 (like MSP50C614) has 640 17–bit words of internal datamemory (static RAM). This RAM oc

Página 342 - 5.9.4 C– – Directives

Architecture B-4Figure B–1. MSP50C604 Block Diagram Core CU Computational Unit PCU Prog. Counter Unit Instr. DecoderTIMER1 PRD1 TIM10x3A 0x3B Cl

Página 343 - C– – Compiler

ArchitectureB-5MSP50C604 Preliminary DataB.3.4 Slave Mode OperationThe MSP50C604 is used as a peripheral device in slave mode. A microproces-sor/micro

Página 344 - 5.9.5 Include Files

Architecture B-6Figure B–2. MSP50C604 Memory Organization and I/O ports0x00000x08000x07FF0x7FF00x7FF7User ROM30704 x 17 bit(C604 : read–only) (P61

Página 345 - 5.9.10 String Functions

ArchitectureB-7MSP50C604 Preliminary DataB.3.7 InterruptsInterrupts for MSP50C604 are the same as MSP50C614 in host mode exceptINT5 (port F interrupt)

Página 346 - Table 5–1. String Functions

Data Memory Address Unit2-11MSP50C614 ArchitectureFor some instructions, the 5-bit string processor can also preincrement orpredecrement the AP pointe

Página 347 - 5.9.11 Constant Functions

Packaging B-8B.4 PackagingThe MSP50C604 is sold in die form. A 64 pin plastic package is also available.Table B–1. MSP50C604 64-Pin PJM Plastic Packag

Página 348 - 5.10 Implementation Details

PackagingB-9MSP50C604 Preliminary DataFigure B–3. MSP50C604 Slave Mode SignalsINRDYOUTRDYR/WZSTROBEPC0–PC7Data latched to Port ANew DataValid DataHost

Página 350 - 5.10.3 Function Calls

C-1Appendix AMSP50C605 Data SheetThis appendix contains the data sheet for the MSP50C605 mixed-signal pro-cessor.Topic PageC.1 MSP50C605 Data Sheet C–

Página 351 - 5.10.4 Programming Example

C-2C.1 MSP50C605 Data SheetThis appendix contains the data sheet for the MSP50C605 mixed-signal pro-cessor.

Página 352

Data Memory Address Unit 2-12Figure 2–6. Data Memory Address UnitR3R2R1R0R7R6R5R4InternalDatabusArithmetic BlockRAM AddressInternal Program BusRegiste

Página 353

Data Memory Address Unit2-13MSP50C614 ArchitectureThere are two-byte instructions, for example MOVB, which cause the proces-sor to read or write data

Página 354

Program Counter Unit 2-142.4 Program Counter UnitThe program counter unit provides addressing for program memory (onboardROM). It includes a 16-bit ar

Página 355

Memory Organization: RAM and ROM2-15MSP50C614 Architecture2.6 Memory Organization: RAM and ROMData memory (RAM) and program memory (ROM) are each rest

Página 356

Memory Organization: RAM and ROM 2-16Figure 2–7. C614 Memory Map (not drawn to scale)0x00Program Memory0x0000Internal Test Code2048 x 17 bit0x07FF0x08

Página 357

Memory Organization: RAM and ROM2-17MSP50C614 ArchitectureWhen writing to any of the locations in the I/O address map, therefore, thebit-masking need

Página 358

Memory Organization: RAM and ROM 2-18Table 2–2. Summary of C614’s Peripheral Communications Ports (Continued)I/O MapAddressWidth ofLocationAllowableA

Página 359 - C to ASM function return

Memory Organization: RAM and ROM2-19MSP50C614 Architecture3.1.5, Internal and External Interrupts, for more information regarding thespecific conditio

Página 360

Information About Cautions and WarningsvRead This FirstUnless the list is enclosed in square brackets, you must choose one itemfrom the list.Some dire

Página 361

Memory Organization: RAM and ROM 2-20The protection modes are implemented on the C614 as follows. Within theROM is a dedicated storage for the block p

Página 362

Memory Organization: RAM and ROM2-21MSP50C614 Architecture[(NTM + 1) * 512 – 1] = highest ROM address within the block to beprotected(NTM + 1) * 512 =

Página 363

Interrupt Logic 2-22When the device is powered up, the hardware initialization circuit reads thevalue stored in the block protection word. The value i

Página 364

Interrupt Logic2-23MSP50C614 Architecturethe RESET low, assuming there is no interruption in power. For a fulldescription of the interrupt-trigger eve

Página 365

Interrupt Logic 2-24Note: Setting a Bit in the IFR Using the OUT InstructionSetting a bit within the IFR using the OUT instruction is a valid way of o

Página 366

Interrupt Logic2-25MSP50C614 ArchitectureFigure 2–8 provides an overview of the interrupt control sequence. INT0 is thehighest priority interrupt, and

Página 367 - Beware of Stack Corruption

Timer Registers 2-26In addition to being individually enabled, all interrupts must be GLOBALLYenabled before any one can be serviced. Whenever interru

Página 368

Timer Registers2-27MSP50C614 Architecture(16-bit wide location)15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00PRD1 register†address 0x3APPPPPPPPPPPPPP

Página 369 - Applications

Timer Registers 2-28Selection between the timer-source options is made using two control bits inthe interrupt/general control register (IntGenCtrl). T

Página 370 - 6.1 Application Circuits

Clock Control2-29MSP50C614 Architecture2.9 Clock Control2.9.1 Oscillator OptionsThe C614 has two oscillator options available. Either option may be en

Página 372

Clock Control 2-30The maximum required CPU clock frequency for the C614 is 8 MHz over theentire VDD range. This rate applies to the speed of the core

Página 373 - 6.2.1 File init.asm

Clock Control2-31MSP50C614 ArchitectureNote: ClkSpdCtrl Bits 8 and 9When bit 8 is set in the ClkSpdCtrl register, the crystal oscillator bit (bit 9) b

Página 374

Clock Control 2-32Bit 10 in the ClkSpdCtrl is idle state clock control. The level of deep-sleepgenerated by the IDLE instruction is partially controll

Página 375

Execution Timing2-33MSP50C614 ArchitectureHowever, the general specification of the adjustment can be useful in certaincircumstances. For example, the

Página 376 - Init – Init All

Reduced Power Modes 2-34Figure 2–10. Instruction Execution and TimingNN+1 N+2N+3N+4N+5 N+6N+7FETCHCLOCKN–1N N+1N+2N+3N+4 N+5DECODEN–2N–1 NN+1N+2N+3 N+

Página 377 - Extra, extra etc

Reduced Power Modes2-35MSP50C614 ArchitectureThe deepest sleep achievable on the C614, for example, is a mode where allof the previously listed subsyt

Página 378

Reduced Power Modes 2-36The power consumed during sleep when the RTO oscillator is left running isgreater than the power consumed during sleep when th

Página 379

Reduced Power Modes2-37MSP50C614 ArchitectureTable 2–3. Programmable Bits Needed to Control Reduced Power Modes→ deeper sleep … relatively less powe

Página 380

Reduced Power Modes 2-38Table 2–4. Status of Circuitry When in Reduced Power Modes (Refer to Table 2–3)→ deeper sleep … relatively less power →Com

Página 381 - 6.3.1 Memory Overlay

Reduced Power Modes2-39MSP50C614 ArchitectureThe interrupt-trigger event associated with each of the two internal TIMERs isthe underflow condition of

Página 382

ContentsviiContents1 Introduction to the MSP50C614 1-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Página 383 - Customer Information

Reduced Power Modes 2-40In order to wake the device using a programmable interrupt, the interrupt maskregister must have the respective bit set to ena

Página 384 - 7.1 Mechanical Information

3-1Peripheral FunctionsThis chapter describes in detail the MSP50C614 peripheral function, i.e., I/Ocontrol ports, general purpose I/O ports, interrup

Página 385 - 7.1.2 Package Information

I/O 3-23.1 I/OThe C614 has 64 input-output pins. Forty of these are software configurable aseither inputs or outputs. Eight are dedicated inputs, and

Página 386 - Mechanical Information

I/O3-3Peripheral Functionsis 0x00 (all inputs). The state of the data registers after RESET low is unknown(input state provided by external hardware).

Página 387

I/O 3-43.1.2 Dedicated Input Port FPort F is an 8-bit wide input-only port. The data presented to the input pin canbe read by referring to the appropr

Página 388

I/O3-5Peripheral Functions3.1.3 Dedicated Output Port GPort G is a 16-bit wide output-only port. The output drivers have a Totem-Poleconfiguration. Th

Página 389

I/O 3-63.1.4 Branch on D PortInstructions exist to branch conditionally depending upon the state of ports D0and D1. These conditionals are COND1 and C

Página 390 - 7.3 Speech Development Cycle

I/O3-7Peripheral FunctionsRegisters). INT1 and INT2 are high-priority, internal interrupts triggered by theunderflow conditions on TIMER1 and TIMER2,

Página 391 - Device Production Sequence

Digital-to-Analog Converter (DAC) 3-83.2 Digital-to-Analog Converter (DAC)The C614 incorporates a two-pin pulse-density-modulated DAC which iscapable

Página 392 - 7.6 New Product Release Forms

Digital-to-Analog Converter (DAC)3-9Peripheral FunctionsDAC Control registerAddress 0x34 (4-bit wide location)03 02 01 00Set DAC resolution t

Página 393 - New Product Release Forms

Contentsviii 3.1.1 General-Purpose I/O Ports 3-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.2 Dedicate

Página 394

Digital-to-Analog Converter (DAC) 3-10style. Their selection is made at bit 3 of the DAC control register (0x34). TheC3x style is selected by clearing

Página 395 - MSP50C605 Preliminary Data

Digital-to-Analog Converter (DAC)3-11Peripheral FunctionsFor a given sampling rate and DAC resolution, the CPU clock rate may beincreased, if necessar

Página 396 - A.3 Architecture

Digital-to-Analog Converter (DAC) 3-128 kHz Nominal Synthesis Rate32.768 kHz Oscillator ReferenceDACPrecisionIntGenCtrlPDMCDBitOver-SamplingFactorClkS

Página 397 - A.3.3 I/O Pins

Digital-to-Analog Converter (DAC)3-13Peripheral Functions10 kHz Nominal Synthesis Rate32.768 kHz Oscillator ReferenceDACPrecisionIntGenCtrlPDMCDBitOve

Página 398 - Architecture

Comparator 3-143.3 ComparatorThe C614 provides a simple comparator that is enabled by a control registeroption. The inputs of the comparator are share

Página 399 - Data ROM

Comparator3-15Peripheral Functionsbit is automatically CLEARed again if an INT6 event occurs at the same timethat the associated mask bit is SET (IntG

Página 400 - PLASTIC PACKAGE

Comparator 3-16The comparator, along with all of its associated functions, is enabled by settingbit 15 of the interrupt/general control register (IntG

Página 401

Interrupt/General Control Register3-17Peripheral Functions3.4 Interrupt/General Control RegisterThe interrupt/general control (IntGenCtrl) is a 16-bit

Página 402

Interrupt/General Control Register 3-18The upper four bits in the IntGenCtrl have independent functions. Bit 12 is theenable bit for the pull-up resis

Página 403 - MSP50C604 Preliminary Data

Hardware Initialization States3-19Peripheral Functions3.5 Hardware Initialization StatesThe RESET pin is configured at all times as an external interr

Página 404 - B.3 Architecture

ContentsixContents4.4.8 Class 8 Instructions: Logic and Bit 4-41. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.4.9 Class 9

Página 405 - B.3.3 I/O Pins

Hardware Initialization States 3-20Note: Internal RAM State after ResetThe RESET low will not change the state of the internal RAM, assuming thereis n

Página 406

Hardware Initialization States3-21Peripheral FunctionsNote: Stack Pointer InitializationThe software stack pointer (R7) must be initialized by the pro

Página 408 - RESET vector

4-1Assembly Language InstructionsThis chapter describes in detail about MSP50P614/MSP50C614 assemblylanguage. Instruction classes, addressing modes, i

Página 409 - B.3.7 Interrupts

Introduction 4-24.1 IntroductionIn this chapter each MSP50P614/MSP50C614 class of instructions isexplained in detail with examples and restrictions. M

Página 410 - B.4 Packaging

System Registers4-3Assembly Language Instructionsor by 2 for double word instructions) each execution cycle and points to thenext program memory locat

Página 411 - MSP50C604 64 PIN PJM

System Registers 4-4It is recommended to avoid using the TOS register altogether in applicationsand leave its operation to development tools only.4.2.

Página 412 - Packaging

System Registers4-5Assembly Language InstructionsDuring accumulator read operations, both An and offset An~ are fetched.Depending on the instruction,

Página 413 - MSP50C605 Data Sheet

System Registers 4-6value of the STACK register should be stored before use and restored afteruse. This register must point to the beginning of the st

Página 414 - C.1 MSP50C605 Data Sheet

System Registers4-7Assembly Language InstructionsTable 4–1. Status Register (STAT)Bit Name Function0 XM Sign extended mode bit. This bit is one, if si

Comentários a estes Manuais

Sem comentários