Skip to content

These module docs are in beta and may be incomplete.

modm:driver:ad7280a: AD7280A Lithium Ion Battery Monitoring System

The AD7280A is monitor for lithium ion battery packs with up to six cells. It contains six 12-ADCs with 1µs conversion per channel and a cell balancing interface. Up to 7 devices can be added through a Daisy-Chain interface (chain of 8 devices).

  • cell voltage accuracy of ±1.6 mV.
  • Supply voltage 8-30V
  • six auxiliary ADC input channels

Recommended SPI Clk frequency is 1 MHz. With a 1 MHz Clk, it takes approximately 1.54 ms to read back the voltage conversions on 48 channels.

When addressing devices in the chain directly the frequency needs to be lower than 1 MHz because delays introduced in each stage of the chain.

Content

// Class
class modm::Ad7280a< typename Spi , typename Cs , typename Cnvst , int N >;

// Struct
struct modm::ad7280a::ConversionValue;
struct modm::ad7280a::RegisterValue;

// Function
IOStream& modm::operator<<(IOStream &os, const ad7280a::ConversionValue &c);
IOStream& modm::operator<<(IOStream &os, const ad7280a::RegisterValue &c);

// Enum
enum Average;
enum Cell;
enum Channel;
enum Device;
enum Register;

Dependencies

modm:driver:ad7280a modm_driver_ad7280a modm: driver: ad7280a modm_architecture_delay modm: architecture: delay modm_driver_ad7280a->modm_architecture_delay modm_architecture_gpio modm: architecture: gpio modm_driver_ad7280a->modm_architecture_gpio modm_architecture_spi modm: architecture: spi modm_driver_ad7280a->modm_architecture_spi modm_driver modm: driver modm_driver_ad7280a->modm_driver modm_io modm: io modm_driver_ad7280a->modm_io modm_math_utils modm: math: utils modm_driver_ad7280a->modm_math_utils modm_utils modm: utils modm_driver_ad7280a->modm_utils