Software for the slave board is in very good way, I just needed to change some GPIO placement because of a hardware bug in the PIC !!! Now the first byte of the master frame is directly passed to the next slave board through hardware without software delay. This byte is used for slave board wake up when in sleep mode, for autobaud configuration (to allow operation in the complete -40/+125°c range even with big deviation of the internal clock), and for sample/hold the voltage/temperature value. It permits simultaneous sampling on all cell, very usefull to compare cell voltage under exactly the same current !
|