I have been playing with the AMS AS3935 Lightning Detector and comparing it with results from a homemade receiver and ADC/oscilloscope.
Came across this in the data sheet (page 12):
Source: https://media.digikey.com/pdf/Data Sheets/Austriamicrosystems PDFs/AS3935.pdf
AMS does not define MMSByte, but by common usage, an MMSByte is between the LSB and MSB, i.e., the first "M" means "middle." However, the datasheet is suspicious, as it implies the MMSB is the highest byte, not a middle byte. Moreover, the order of the registers and the fact that it is only a 5-bit byte seem to suggest that it is the most significant byte.
Has anyone come across the use of MMSB to mean "most, most significant" instead of "middle, most/more significant?"
AMS has not published an errata for that chip that I can find. FWIW, there is a well-known error in the I2C address.
I wrote a routine to read and display those three registers, but it may be a few days before I get to test it.
John
Came across this in the data sheet (page 12):
Source: https://media.digikey.com/pdf/Data Sheets/Austriamicrosystems PDFs/AS3935.pdf
AMS does not define MMSByte, but by common usage, an MMSByte is between the LSB and MSB, i.e., the first "M" means "middle." However, the datasheet is suspicious, as it implies the MMSB is the highest byte, not a middle byte. Moreover, the order of the registers and the fact that it is only a 5-bit byte seem to suggest that it is the most significant byte.
Has anyone come across the use of MMSB to mean "most, most significant" instead of "middle, most/more significant?"
AMS has not published an errata for that chip that I can find. FWIW, there is a well-known error in the I2C address.
I wrote a routine to read and display those three registers, but it may be a few days before I get to test it.
John