Linduino

Linduino is Analog Devices’ Arduino compatible system for developing and distributing firmware libraries and example code for our integrated circuits.

Linduino Code

The code is designed to be highly portable to other microcontroller platforms, and is written in C using as few processor specific functions as possible. These programs are written using Arduino and are called sketches. LTSketchbook is the entire code base that holds sketches to talk to Analog Devices’s integrated circuits using Linduino. The Linduino One board (Demonstration Circuit DC2026) allows you to test out the code directly, using the standard demo board for the particular IC.

Linduino One Board

The Linduino One board is compatible with the Arduino Uno, using the Atmel ATMEGA328 processor. This board features a 14-pin “QuikEval” connector that can be plugged into nearly 100 daughter boards for various Analog Devices parts, including Analog to Digital converters, Digital to Analog Converters, high-voltage power monitors, temperature measurement devices, RF synthesizers, battery stack monitors, and more.

An LTM2884 USB Isolator breaks the ground connection to the PC, allowing projects to operate at a different ground potential than the computer that is controlling it.

Buy the DC2026 Linduino One Isolated Arduino-Compatible Demonstration Board

Setup

Setting up Linduino is very simple. The DC2026 Demo Manual provides detailed instructions on the setup procedure.

Here are the three files required to follow the complete procedure in the demo manual:
1. The latest Linduino sketchbook. If you are only interested in the code, stop here.
2. The QuikEval program. The Linduino board ships with firmware that allows it to communicate with the QuikEval program, which provides all of the GUIs for compatible demo boards. Installing QuikEval is also the recommended way to install the correct USB drivers for the Linduino One board.
3. The Arduino IDE. This is the development environment for the Arduino, and is required to modify the code, and to load programs into the Linduino One.

Additional Resources

Linduino Design Files (schematic, board, gerbers)
Linduino Schematic (PDF)
Notepad++ (Recommended code editor)
Atmel Studio (for more advanced development/debugging with Linduino hardware and Atmel processors)
Linduino Change Log

Power System Management

Linduino is a development platform that consists of an Arduino Uno microcontroller from Atmel and a boot-loader allowing for quick in-circuit firmware updates. The software is a simple programming environment based on the AVRGCC compiler. This platform is popular because it is easy to use, both the hardware and software are open source, and it can be programmed in C. We find it an ideal way to demonstrate and distribute libraries for integrated circuits that have digital interfaces such as Inter-Integrated Circuit (I2C) and Serial Peripheral Interface(SPI). Linduino PSM is meant to be used for PSM (Power System Management) devices and is a PMBus library plus sketches distributed with the Linduino software. The PMBus library stack makes writing reliable PMBus code easy by providing:

  • I2C/SMBus/PMBus API
  • Block and Group Protocol
  • L11/L16 – IEEE Float conversions
  • Fault Log Decoding
  • Code examples

Linduino PSM provides a mechanism to anyone that needs to learn PMBus, or learn how to write code for PSM devices. Linduino PSM also provides a safe environment for experimentation and confirmation of a design prior to implementation. Example firmware can be downloaded and compiled, giving users a head start in the development of a Analog Devices PSM part based design.

FAQ

What is Linduino?

X+

Linduino (DC2026) is Analog Devices’s Arduino compatible system for developing and distributing firmware libraries and example code for Analog Devices’s integrated circuits.

What is LTSketchbook?

X+
Programs written using Arduino are called sketches. LTSketchbook is the entire code base or firmware storage that holds sketches to talk to Analog Devices’s integrated circuits using Linduino.

Where can I get the LTSketchbook?

X+

How do I start with Linduino?

X+
The DC2026C (Linduino) demo manual takes you through the entire first-timer experience. You can find it here: DC2026C

Can I run Quikeval software using an Arduino?

X+
No. Linduino uses an FTDI chip instead of a secondary ATMEL chip, as is the case of an Arduino Uno. The Quikeval software looks for the FTDI chip with our description.

Why are some of the functions not being recognized by Arduino IDE even though I have the entire LTSketchbook?

X+
One possibility is that you did not set the Preferences for Sketchbook Location in Arduino IDE as LTSketchbook. Also, make sure you are using Arduino 1.0.4

How can I control two SPI based demo boards using the same Linduino?

X+
One of the demo boards can have pin 14 on the ribbon cable (GPIO pin) as chip select. This is assuming that the board does not use this pin for any other connection.

What is the DC590B?

X+
Demonstration circuit 590B is a USB-based controller board with SPI and I2C interface. The QuikEval software automatically detects which board is connected to the DC590B. Linduino comes pre-loaded with a DC590 emulator code (DC590B.ino).

How can I have a text based user-interface similar to QuikEval, using a Linduino?

X+

Upload Linduino with DC590B.ino. You can talk to the part by sending specific characters through the COM port. For example:
x = pull Chip Select Low
S = Notifying that sending 8 bits expressed as two hex characters (Hex characters must be in capital)
80 = An example of sending high byte data

S = Notifying that sending 8 bits expressed as two hex characters
00 = An example of sending low byte data
X = pull CS high, this loads the code into the DAC

This string pulls the CS low, sends 0x8000 to the DAC and pulls CS high.

How do I install Arduino on Linux?

X+
This page gives you earlier versions of Arduino for Windows, Mac and Linux: http://www.arduino.cc/en/Main/OldSoftwareReleases#previous

I am running Windows 8 and having trouble installing the Arduino drivers.

X+
In order to install Arduino drivers on Windows 8 you will need to disable driver signature enforcement. Please follow the instructions here in order to do so.

Why do I get the “Bad Linduino Sketch” error message when I open QuikEval, even after uploading the DC590_emulator code on the Linduino?

X+

If you are experiencing the following error message:



One reason could be that you had the wrong Target board selected on the Arduino IDE when uploading the DC590_emulator.ino code. To use Linduino, you have to select 'Arduino Uno' option from Tools --> Board before uploading the code.