KCC's Quizzes AQQ305 about a mutual exponentiation equation
1. Quote of the month: "A train station is where a train stops. A bus station is where a bus stops. I have a work station on my desk, so..." - unknown
2. Quiz AQQ305 about finding a mutual exponential equation
Good luck, and try to be among the
View All
October Monthly Blog Quiz! Read the blog, take the quiz, and you could win a gift card
Finding Your Circuit Chi — EMC Quiz!
Think you know EMC? Test your knowledge with our 5-question quiz!
Read the blog first, then take the challenge: Finding Your Circuit Chi
Every current flowing creates electromagnetic fields.
Strong EMC design
View All
Hello, I've bought a DC2904A evaluation kit containing an LTC2686 DAC. Instead of using the Linduino board to control a single DC2904A I want to control several of these boards with a Raspberry Pico microcontroller, which can run Arduini C-code. I've tried to find some example code for the LTC2686, but so far I haven't found any. In the LTSketchbook.zip file downloaded from www.linear.com/ docs/43958, there are several examples but for not for the LTC2686.
Is there any ready-to-run simple/minimal example code to control the LTEC2686 using a Raspberry Pico. Or, if not, code for an Arduino Uno?
Hi,
Someone is already looking into this.
~ian
Hi,
For now you can refer to the ltc2688 no-OS drivers on github. As LTC2686 and LTC2688 are of the same family, same drivers can be used to communicate with the LTC2686 with little modification in the drivers code.
We're in the process of releasing console based application code for LTC2688 by next week. Will keep you posted with updates on this.
Hi, thank you for the response. I download the LTC2688 files. Is there some additional documentation available? I'm not too skilled in C, so it's difficult for me to understand how to use the driver just from the source code.
Hi,
We do have a detailed guide on how to use the no-OS device drivers. Please refer to the following link: Understanding and Using the No-OS and Platform Drivers | Analog Devices
As mentioned before, we're in the process of releasing console based application code for LTC2688 by this week. Until then you can refer to the no-OS drivers for LTC2688.
Hi,
The example code for LTC2688 has been released and you can find it here.
With little modification in the code, the firmware can be used with LTC2686.
Since the Arduico core for pico board is based on mbed-OS, the same example code can be migrated easily to work with pico board.
Hi,
I'm glad to inform that the existing ltc2688 mbed console based example code now support ltc2686 as well.
I'll request you refer to this code for your project development:
LTC268X Mbed Example [Analog Devices Wiki]
Regards,
Pratyush
Hi,
The no-OS drivers have now extended their support for the pico platform. You can leverage the same for your project. Here is the link to it:
no-OS/drivers/platform/pico at master · analogdevicesinc/no-OS (github.com)
Please refer to the page below on how to use no-OS platform drivers:
Understanding and Using the No-OS and Platform Drivers | Analog Devices
Regards,
Pratyush
Hello, thank you for the raspberry pico code, but I'm not sure how to use it. The LTC2686 uses SPI communication, so I took a look at pico_spi.c, but it seems to me that it is just a library to send a SPI commands. It's not clear to me how to simply a voltage to a specific channel. For example, what should I pass as parameter to the functions?
Is there any sample code available that shows how to use the no-os drivers?
Maybe I'm missing something, but some dependecies includes in the pico_spi.c and pico_spi.h are not included in the repository.
#include "pico/stdlib.h" #include "hardware/resets.h" #include "hardware/spi.h"
Could you help me to compile and example code? Sorry if my coding experience is too low.