Author Topic: Going to generic Arduino with LT2983  (Read 1819 times)

0 Members and 1 Guest are viewing this topic.

Offline gilbenlTopic starter

  • Regular Contributor
  • *
  • Posts: 170
  • Country: us
Going to generic Arduino with LT2983
« on: March 09, 2016, 06:57:44 pm »
I've been working on a project to build an in vivo temperature acquisition system for biomed research. I recently got ahold of some LT2983s to provide an all-in-one solution. Unfortunately, I can't seem to get the thing to work with a standard arduino. The "Going Generic" article doesn't seem to apply to this particular chip.

Here's the referenced article:http://www.linear.com/solutions/4537

I've dug through the corresponding .h and .cpp files, but despite a few attempts, can't get it to work on either Arduino Uno or Nano (both fakes but worked with LT1867). Of note, when I upload the any of the demo .ino, I get "2983" in the serial monitor indicating the SPI bus was initiated, but nothing further. When I disconnect the SPI-MISO line, I get line after line of output dialog showing errors, which originates from the Arduino, not the 2983.

Need a bit of spoon-feeding on this one as this is my first foray into SPI. Thanks in advance. Happy to answer any additional questions or provide images etc.
What doesn't kill you, probably hurts a lot.
 

Offline quantumvolt

  • Frequent Contributor
  • **
  • Posts: 395
  • Country: th
Re: Going to generic Arduino with LT2983
« Reply #1 on: March 10, 2016, 02:41:49 am »
First, I would send a PM to this guy https://www.eevblog.com/forum/microcontrollers/linduino-smart-isolated-arduino-compatible-board-for-daq-demo-boards-etc/msg858580/#msg858580. I think he said somewhere that he got it to run.

Secondly, put in debug writes in the LT code from the very beginning to where you expect data from the chip. There is probably nothing wrong with the chip or the code. But even if SPI / I2C is just a few hex'es and a select / address, it is often a lot of work to initialize the chip and get the first data transfer running.

You may find it easier to strip down the somewhat bloated LT code to a bare minimum for recognizing the board / chip, selecting the bus / chip and send / retrieve a single data packet.

Go through it all systematically and it will surely work ...
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf