Arduino Mega microcontroller and a uM-FPU Co-processor circuit can't work

lingyueqing

New Member
I recently acquired a number of components including an Arduino Mega 2560 microcontroller which is based on the ATmega328P (datasheet:http://www.kynix.com/uploadfiles/pdf/ATMEGA328P-20AU.pdf) and a uM-FPU V3.1 Floating Point Co-processor I got from Floating Point Co-Processor uM-FPU v3.1 SOIC - COM-08450 - SparkFun Electronics
Using a breadboard I have built the circuit shown on Page 2 of the document uMFPU-V3_1 Arduino.pdf from the Micromega website.
thaq8.jpg

I am having some difficulty in getting the circuit to function as expected.
PC details: Window Vista 64, Microcontroller: Arduino Mega (genuine), Arduino IDE: Version 0018
The documentation (uMFPU-V3_1_Arduino.pdf) says to download the support files (uMFPU-V3_1-Arduino.zip) and place the folders (Fpu, FpuSerial, Spi) in the hardware/libraries subdirectory of the Arduino application directory.
It seems that the directory structure of the Arduino IDE has recently changed? Earlier versions of the IDE apparently had the libraries located as suggested in the document above, but the current version 0018 of the Arduino IDE seems to have the /libraries subdirectory located directly in the Arduino application directory.
The sketches provided in the documentation (sample.pde, graph.pde etc.) seem to only compile in the IDE version 0018 with the FPU libraries placed in the new directory location.
With the libraries in the new location, the example sketches (sample.pde, graph.pde etc) can be compiled without error and uploaded to the Arduino. At the moment, when the sketches run on the microcontroller, the Arduino IDE Serial Monitor only responds with the message 'Sample' or 'Graph' and nothing else. There is no indication of a connection to the FPU with version details, no display of the results of FP calculations or even the message 'uM-FPU not detected'.
I also have tried using older versions of the Arduino IDE (0016) (with the libraries placed in the location suggested in the documentation) on another computer with Windows XP (not 64bit) and the result seems to be the same.
Hopefully someone may have some ideas or suggestions about where the problem may be? Could it be a faulty FPU chip or the Arduino board itself?
 

My Computer

System One

  • Operating System
    qwer789
This is a Vista help forum but you aren't asking a Vista related question or even a standard hardware related question. I think that this kind of question is a bit beyond our scope. Frankly if I where you I would try to look for some kind of circuit building or engineering help form. Performing a quick search I found this. All About Circuits Now you may find someone else here willing to try to help but personally I haven't done anything like this since my architecture class. Good luck.
 

My Computers

System One System Two

  • Operating System
    Windows 8.1 Industry Pro x64
    Manufacturer/Model
    HP Pavillion Elite HPE-250f
    CPU
    Intel i7 860 Quad core 2.8 ghz
    Memory
    8 gb
    Graphics Card(s)
    ATI Radeon HD 5770 1 gb ram
    Monitor(s) Displays
    Alienware 25 AW2521HF
    Screen Resolution
    1920x1080 &1680x1050
    Hard Drives
    1 TB x2
    Other Info
    https://www.cnet.com/products/hp-pavilion-elite-hpe-250f/
  • Operating System
    Windows 2012 R2 Data center/Linux Mint
    Manufacturer/Model
    Dell Poweredge T140
    CPU
    i3 9100 3.6GHz, 8M cache, 4C/4T
    Memory
    8GB 2666MT/s DDR4 ECC UDIMM
    Screen Resolution
    1680x1050
    Hard Drives
    1 TB & 360 GB x2
    Other Info
    https://www.dell.com/en-us/work/shop/productdetailstxn/poweredge-t140?~ck=bt
Back
Top