LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with daisy-chain of DC2259A

Hello LabVIEW community, I am having problems continuously running a user interface for Linear Technologies DC2259A with the LTC6811-1 chip which uses SPI communication protocol to monitor voltage readings for batteries. 

I am daisy-chaining 2 DC2259A boards, with the first board connected to myRIO and the second board isoSPI port A connected to the first board isoSPI port B via the RJ45 cable. 

 

The Daisy chain only supports broadcast commands as the boards have no addressing, a dummy command 0x0000 needs to be sent before broadcast commands to wake up the daisy chain, and all devices in the chain will receive the command bytes simultaneously.

 

The user interface is only able to run once as the elapsed timer used to send dummy commands will always go to the true state after running once. So to run the user interface continuously I will just need to reset the elapsed timer right?

 

However, after I reset the elapsed timer, both boards will no longer wake up despite the states in the state machine running the correct states as shown in the highlight execution. I will get back 2 sets of 0xD8 00 00 00 00 00 if the boards wake up but I am getting back 0xFF FF FF FF FF which means that the boards are not waking up. 

I have attached the images of the reset elapsed timer below for the state where I am supposed to get back 2 sets of 0xD8 00 00 00 00 00. 

wenshi_0-1699436034719.png

wenshi_1-1699436065783.png

I have also attached 2 user interfaces one with a reset timer and one without the reset timer, a schematic diagram for DC2259A, and the user manual for the LTC6811 chip below.

Can anyone please advise me on this matter? Thank you!!

 

 

 

 

 

0 Kudos
Message 1 of 1
(476 Views)