604-00030 Parallax Inc, 604-00030 Datasheet

IC FLOATING-POINT COPROC V2 8DIP

604-00030

Manufacturer Part Number
604-00030
Description
IC FLOATING-POINT COPROC V2 8DIP
Manufacturer
Parallax Inc
Datasheet

Specifications of 604-00030

Processor Type
Floating-Point Co-Processor
Voltage
4.75 V ~ 5.25 V
Mounting Type
Through Hole
Package / Case
*
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Features
-
Speed
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Introduction
The uM-FPU is a 32-bit floating point coprocessor that can be easily interfaced with microcontrollers to provide
support for 32-bit IEEE 754 floating point operations and long integer operations. The uM-FPU is easy to
connect using either an I
uM-FPU Features
Micromega Corporation
 8-pin integrated circuit.
 I
 SPI compatible interface up to 4 Mhz
 32 byte instruction buffer
 Sixteen 32-bit general purpose registers for storing floating point or long integer values
 Five 32-bit temporary registers with support for nested calculations (i.e. parentheses)
 Floating Point Operations
 Long Integer Operations
 User Defined Functions can be stored in Flash memory
Conversion Functions
2
C compatible interface up to 400 kHz
Set, Add, Subtract, Multiply, Divide
Sqrt, Log, Log10, Exp, Exp10, Power, Root
Sin, Cos, Tan, Asin, Acos, Atan, Atan2
Floor, Ceil, Round, Min, Max, Fraction
Negate, Abs, Inverse
Convert Radians to Degrees, Convert Degrees to Radians
Read, Compare, Status
Set, Add, Subtract, Multiply, Divide, Unsigned Divide
Increment, Decrement, Negate, Abs
And, Or, Xor, Not, Shift
Read 8-bit, 16-bit, and 32-bit
Compare, Unsigned Compare, Status
Convert 8-bit and 16-bit integers to floating point
Convert 8-bit and 16-bit integers to long integer
Convert long integer to floating point
Convert floating point to long integer
Convert floating point to formatted ASCII
Convert long integer to formatted ASCII
Convert ASCII to floating point
Convert ASCII to long integer
Conditional execution
Table lookup
N
th
order polynomials
2
C or SPI compatible interface.
1
uM-FPU Floating Point
Coprocessor
V2 Datasheet
Revised 2005-06-21

Related parts for 604-00030

604-00030 Summary of contents

Page 1

Introduction The uM-FPU is a 32-bit floating point coprocessor that can be easily interfaced with microcontrollers to provide support for 32-bit IEEE 754 floating point operations and long integer operations. The uM-FPU is easy to 2 connect using either an ...

Page 2

Pin Diagram and Pin Description SOUT 2 uM -FPU 7 V2 SCLK/SCL 3 6 VSS 4 5 Connecting the uM-FPU to the I If the CS pin is a logic high at reset (e.g. tied to +5V), ...

Page 3

I C Data Transfers The following diagrams show the write and read data transfers. A write transfer consists of a slave address, followed by a register address, followed data bytes. A read transfer is normally ...

Page 4

I C Busy/Ready Status The Busy/Ready status must always be checked to confirm that the uM-FPU is Ready prior to any read operation. The Busy status is asserted as soon as a valid opcode is received. The Ready status ...

Page 5

Microcontroller Pins DATA OUT SPI Reset Operation The uM-FPU should be reset at the beginning of every program to ensure that the microcontroller and the uM-FPU are synchronized. To cause a Reset, the SIN line must be Low while the ...

Page 6

SPI Instruction Timing Diagram SCLK SIN SOUT (Opcode followed by an additional argument) Minimum Data Period SCLK SIN SOUT Ready SPI Instruction Timing Diagram (Opcode followed by return value) Read ...

Page 7

Item SCLK Frequency SCLK Output Low (per bit) SCLK Output High (per bit) Minimum Data Period – normal operation Minimum Data Period – debug trace enabled Read Setup Delay – normal operation Read Setup Delay – debug trace enabled Read ...

Page 8

Using the TSTIN and TSTOUT Pins The TSTIN and TSTOUT pins can be configured as an activity monitor serial interface for the built-in debug monitor. The mode of operation is selected by the logic value of the ...

Page 9

Debug Monitor The built-in debug monitor provides support for displaying the contents of uM-FPU registers, tracing the execution of uM-FPU instructions, setting breakpoints for debugging, and programming user functions. Whenever the uM- FPU is reset and the serial interface is ...

Page 10

Registers display registers The Register command displays the current contents of all uM-FPU registers. >R {A=R2, B=R0 R0:41200000 R1:3F16791A R4:41200000 R5:41A00000 R8:7FC00000 R9:7FC00000 R10:7FC00000 R11:7FC00000 R12:7FC00000 R13:7FC00000 R14:7FC00000 R15:7FC00000 T1:7FC00000 T2:7FC00000 T5:7FC00000} Trace – toggle trace mode on/off The ...

Page 11

Display – display user function memory The Display command displays the contents of the user function memory in Intel Hex format. This can be used to confirm the contents of the user function memory. >$D :103C0000200C230725413648483F588B7B107F1041 :103C10008310874498079A0F9E64B70FBB080000CE :103C200000000000000000000000000000000000FF :103C300000000000000000000000000000000000FF :103C400000000000000000000000000000000000FF ...

Page 12

Program – program user function memory The Program command is used to program the user function memory. Once in program mode, the uM-FPU looks for valid Intel Hex format records. The records must have an address between 0x0000 and 0x03C0, ...

Page 13

Stored Functions There are 1024 bytes of flash memory reserved on the uM-FPU for storing user functions and the mode paramaters user functions can be defined and saved by the user. Stored user functions have the advantage ...

Page 14

Absolute Maximum Ratings Parameter Storage Temperature Ambient Temperature with Power Applied Supply Voltage on VDD relative to VSS DC Input Voltage VSS Maximum Current into any I/O Pin Recommended VDD Operating Range Supply Current Further Information Check the Micromega website ...

Page 15

Appendix A uM-FPU V2 Instruction Summary Data Opcode Name Opcode Type SELECTA 0x SELECTB 1x FWRITEA Float 2x FWRITEB 3x Float FREAD Float 4x FSET/LSET 5x Either FADD 6x Float FSUB Float 7x FMUL Float 8x FDIV Float 9x LADD ...

Page 16

READSTR F8 ATOF F9 Float FTOA FA Float ATOL FB Long LTOA FC Long FSTATUS Float FD XOP FE NOP FF FE0n FE1n FUNCTION FE2n FE3n IF_FSTATUSA Float FE80 IF_FSTATUSB FE81 Float IF_FCOMPARE FE82 Float IF_LSTATUSA Long FE83 IF_LSTATUSB FE84 ...

Page 17

MIN Float FEE2 MAX FEE3 Float FRACTION FEE4 Float ASIN Float FEE5 ACOS FEE6 Float ATAN Float FEE7 ATAN2 FEE8 Float LCOMPARE FEE9 Long LUCOMPARE Long FEEA LSTATUS FEEB Long LNEGATE FEEC Long LABS Long FEED LEFT FEEE RIGHT FEEF ...

Related keywords