[INSTRM-1203] Fix heater DAC communication problems. Created: 04/Mar/21  Updated: 15/Jan/22  Resolved: 21/Apr/21

Status: Done
Project: Instrument control development
Component/s: ics_xcu_smb
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: cloomis Assignee: cloomis
Resolution: Done Votes: 0
Labels: SPS
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The 1Hz heater control loop sets the output currents of any actively controlled heaters, by reading and writing registers on the DAC8775 devices. Those reads and writes sometimes fail, after which they always misbehave, badly enough that the loop fails. Other devices (the 12 temperature sensors and the other DAC, basically) on the SPI bus are fine. Resetting the DAC, either by writing the reset register or by hitting the GPIO reset line, does not help. But restarting the program (and thus resetting the device) does.

I bet we can figure out how to reset and reinitialize, but we should find out whether the SPI traffic shows that this a program error or a hardware problem. Note that the low-level SPI control in the program is sketchy at best.



 Comments   
Comment by cloomis [ 21/Apr/21 ]

Fixed in INSTRM-1208

Generated at Sat Feb 10 16:32:56 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.