Skip to content

Scheduling tasks - #3

Open
marclave wants to merge 8 commits into
little_test_boardfrom
Scheduling_tasks
Open

marclave wants to merge 8 commits into
little_test_boardfrom
Scheduling_tasks

Conversation

@marclave

Copy link
Copy Markdown

mostly for code review.

new-ion added 4 commits April 18, 2016 16:58
Initial idea, will probably need review/changes
Attempting to move code around to make it easier to follow. Made new
functions just for setup() to call. Unnecessary, but easier to view
setup()  and see the overview of the functionality.

More comments throughout. Hopefully anyone can follow.
Comment thread AMS_Code/AMS_Code.ino
bool tempConvFlag = false;
bool tempReceiveFlag = false;
uint16_t CT_value = 0;
int error;

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better name, errorReturn from ltc or something

new-ion and others added 4 commits May 16, 2016 13:37
code cleanups. pindefs to header, LTC consts and voltages to other
header. function prototypes. optimized VoltageFix & Balance_Check.
removed OLD_BAL as we can just roll back if need to. better variable &
constant names. moved back to "no discharge" voltage checks as it was
causing instability in discharging due to voltage sag. ESR and current
voltage measurement now inside ifdef, if to use need to get better ESR
measurement.
Linear forgot an increment in the functions which read and parse the
temperature and cell voltage values. From vendor, when using multiple
stacked 6803's, this would cause the controller to read the PEC byte as
a cell voltage or temperature value for the above 6803. This fixes that
and increases that counter. This increase realigns the single
dimensional array read in from SPI with the two dimensional array used
in the general code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants