/mppcInterfaceFirmware

Firmware for the Arduino on the mppcInterface

Primary LanguageArduino

MPPC Interface Firmware

Communication through I2C the following shows the register map

Register Map

Address Byte 7 Byte 6 Byte 5 Byte 4 Byte 3 Byte 2 Byte 1 Byte 0
0x00 Channel 0 Voltage (in uV) 31:24
0x01 Channel 0 Voltage (in uV) 23:16
0x02 Channel 0 Voltage (in uV) 15:8
0x03 Channel 0 Voltage (in uV) 7:0
0x04 Channel 1 Voltage (in uV) 31:24
0x05 Channel 1 Voltage (in uV) 23:16
0x06 Channel 1 Voltage (in uV) 15:8
0x07 Channel 1 Voltage (in uV) 7:0
0x08-0x1F ...
0x20 Channel 0 Temprature (in uC) 31:24
0x21 Channel 0 Temprature (in uC) 23:16
0x22 Channel 0 Temprature (in uC) 15:8
0x23 Channel 0 Temprature (in uC) 7:0
0x24 Channel 1 Temprature (in uC) 31:24
0x25 Channel 1 Temprature (in uC) 23:16
0x26 Channel 1 Temprature (in uC) 15:8
0x27 Channel 1 Temprature (in uC) 7:0
0x28-0x3F ...
0x40 Write Channel 0 Voltage (in uV) 31:24
0x41 Write Channel 0 Voltage (in uV) 23:16
0x42 Write Channel 0 Voltage (in uV) 15:8
0x43 Write Channel 0 Voltage (in uV) 7:0
0x44 Write Channel 1 Voltage (in uV) 31:24
0x45 Write Channel 1 Voltage (in uV) 23:16
0x46 Write Channel 1 Voltage (in uV) 15:8
0x47 Write Channel 1 Voltage (in uV) 7:0
0x48-0x5F ...
0x60 LED Flag NULL NULL NULL NULL NULL NULL NULL