Menu

Tree [r924] /
 History

HTTPS access


File Date Author Commit
 CMUsend 2015-01-19 emmerik [r861] Added extra 2 second delay, in case sending mon...
 PCB 2015-07-31 dkeenan7 [r924] Last commit before moving to GitHub.
 TestICal 2015-05-02 dkeenan7 [r892] Made monolith IMU save the high word of its cou...
 common 2015-05-11 dkeenan7 [r897] Changed monolith so it estimates the internal r...
 master 2015-04-06 dkeenan7 [r888] Fixed EVCU bug where battery contactors would c...
 monitor 2015-05-09 dkeenan7 [r895] Changed "all near bypass" to "all considered fu...
 monolith 2015-05-12 dkeenan7 [r899] Made monolith IMU send a carriage return to flu...
 sendprog 2014-10-01 emmerik [r787] Use usleep() instead of horrible CPU speed depe...
 web 2012-11-26 dkeenan7 [r530] Renamed "debugger" to "TestICal" (TEST Id and C...
 ReadMe.txt 2013-06-20 dkeenan7 [r570] Deleted the obsolete BSLwriter and interpreter ...
 celltopbmu.eww 2014-12-14 dkeenan7 [r826] Added new folder monolith with new project, bas...

Read Me

This is the source code for the cell-top Battery Monitoring Unit (BMU)
of Mike Van Emmerik and Dave Keenan ("Coulomb" and "Weber" in the Australian Electric Vehicle
Association forum). See http://http://www.aeva.asn.au/forums/forum_posts.asp?TID=980

These BMUs use Texas Instruments MSP430 microcontrollers which are 16-bit and Ultra-Low-Power.
It specifically requires a model of MSP430 that comes in a 16QFN package and has a 10-bit ADC,
at least 256 bytes of RAM and 4K of flash, e.g.
http://focus.ti.com/docs/prod/folders/print/msp430g2332.html
http://focus.ti.com/docs/prod/folders/print/msp430g2352.html
or 8K of flash
http://focus.ti.com/docs/prod/folders/print/msp430g2432.html
http://focus.ti.com/docs/prod/folders/print/msp430g2452.html

To build them you will need to install the free IAR Embedded Workbench Kickstart.
See http://focus.ti.com/docs/toolsw/folders/print/iar-kickstart.html

There are two different BMU programs (IAR projects in celltopbmu.eww), only one of which may
be loaded into the BMU at any given time. There is the software that is loaded in normal operation,
and there is the special software that is only loaded to perform testing, ID setting or calibration,
or to load a new version of the bootstrap loader.

The folders within the celltopbmu folder are:

Normal BMU software:
	monitor
		Current. Uses interrupt-driven buffered full-duplex serial comms.
	
Special BMU software:
	TestICal
		Current. Updates the bootstrap loader (BSL), allows calibration and debugging.
		Adds command interpreting to BSLwriter.

Common BMU source files:
	common
		Not a BMU program, but code that is common to more than one of the above.

Host software:
	BMUsend
		Windows software. To load new programs into the BMUs via the serial port and our
		bootstrap loader (BSL), as opposed to using the JTAG port. Requires Microsoft
		Visual Studio.
		Only one of BMUsend or sendprog is needed; they do the same job. sendprog is command line
		based; BMUsend is GUI.
	sendprog
		Linux or Windows/Cygwin software. To load new programs into the BMUs via the serial
		port and our Bootstrap loader (BSL), as opposed to using the JTAG port.
		Only one of BMUsend or sendprog is needed; they do the same job. sendprog is command line
		based; BMUsend is GUI.
Hardware:
	web
		A set of web pages describing the BMUs and printed-circuit artwork.
	PCB
		The printed-circuit-board artwork and schematics in DesignSpark format 
		and parts spreadsheet in Excel.
MongoDB Logo MongoDB