help with ic dac8760

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Posts: 98
Joined: Tue Apr 07, 2015 11:01 am
Been thanked: 2 times

help with ic dac8760

Postby RLOPES780 » Sat Apr 14, 2018 10:53 pm

I'm trying to use the ic dac8760.
It is a current transmitter and voltage ex (4 to 20 ma, 0 to 5 v) simultaneously.
Your communication is SPI.
From what I understand each write is 24 bits. Since the first bits msb select the registers and the other 16 bits are the registry settings.
Could someone give me a flowchart idea of how I could start doing this?


Posts: 299
Joined: Fri Aug 19, 2016 2:09 pm
Has thanked: 113 times
Been thanked: 79 times

Re: help with ic dac8760

Postby » Sun Apr 15, 2018 10:20 pm

Hi Ricardo

There is a small difference between a SPI with a Chipselect and SPI with a Latch.
The latch is on the end of sending 24 bit. Set the pin to low and later to high to latch all the 24bit.

use a SPI Master.
and an output (a led) rename it to latchdac

init the SPI master
define char1...char3 to the value you need
set latchdac to turn on
Send SPI master char1
Send SPI master char2
Send SPI master char3
set latchdac to turn off
set latchdac to turn on
That's all

Do you have a demoboard from the dac8760 or how can you program it?

These users thanked the author for the post:
Benj (Wed Apr 18, 2018 11:26 am)
Rating: 5.88%

User avatar
Matrix Staff
Posts: 12988
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 3742 times
Been thanked: 3598 times

Re: help with ic dac8760

Postby Benj » Wed Apr 18, 2018 11:26 am

Hi Ricardo,

This might be useful for you. ... c-and-spi/