DB LTC6811 with Arduino Uno

Hi everyone

I'm trying to communicate with the LTC6811 demo board.

I connected directly from the Arduino pins to the J2 connector on the demo board.

Arduino - LTC J2

D13 (SCK) - SCK
D12 (MISO) - SDO (pull up with 5k)
D11 (MOSI) - SDI
D10 (CS) - CSB

Also I put the jumpers JP2, JP1, JP3 in the zero position, because I want to use the 4-wire SPI.

I monitored the MOSI line with the oscilloscope but I am not receiving anything.

I always get back that there is a problem with the PEC.

Can you help me ?

Thank you

Manufacturer's page of the LTC6811: https://www.analog.com/en/products/ltc6811-1.html.
According to that page, there are two demo boards. Both come with a schematic. Which one do you have ?
What is a PEC ?
Do you use a sketch ?

What voltages are allowed for the SPI bus ? I can not find that in the datasheet, so I don't know if it is allowed to connect it with an Arduino Uno. It seems to be 3.3V signals.

Hi

i'm using DB1894B.

The Packet Error Code (PEC) is a 15-bit cyclic redundancy check (CRC).

With Arduino Uno 5V, where are you reading the information about voltage parameter ?

Thank you

More links please !
Check what you have written on this forum. You can fix a typo.
What is a DB1894B ?

According to the LTC6811 datasheet, page 7, the VREGD "Digital Supply Voltage" is 2.7 to 3.6V. On the same page it says that VIH(SPI) is minimal 2.3V, however the maximum voltage of the SPI signals is not specified.
Page 30 tells that the VREG should be between 4.5V and 5.5V and the Digital Power Supply VREGD is 2.7V to 3.6V, the value is determined by internal components.
I think that means that the digital interface for the SPI bus runs internally at 3.3V.

On the other hand, at page 15 is written: "GPIO[1:5]: General Purpose I/O. Can be used as digital inputs or digital outputs, or as analog inputs with a measurement range from V – to 5V. GPIO[3:5] can be used as an I2C or SPI port".
Perhaps the digital inputs accept 5V signals and perhaps the SDO is open source on purpose to make it compatible with a 5V SPI interface.
Since the maximum voltage for VIH(SPI) is not specified, then it should work with 5V.

OK, I managed to communicate with each other.

Now I would like to understand how can i control if board using LTC6811 or LTC6813.
I have to understand how can i use different command or settings to check wich LTC is used.

Thank you

I found these:

Hi Lorenrus,

Can you tell me what procedure you followed to get the communication going. I am also facing the same issue.
I am always getting PEC error. I have made the connections as written in your first post.

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.