Changes between Initial Version and Version 1 of Specs/I²C/Protocol


Ignore:
Timestamp:
08/22/13 23:47:33 (11 years ago)
Author:
ph3-der-loewe
Comment:

BEGIN{}

Legend:

Unmodified
Added
Removed
Modified
  • Specs/I²C/Protocol

    v1 v1  
     1= Standard I²C Protocol for RoarAudio Devices = 
     2 
     3== Overview == 
     4 
     5RoarAudio Devices with I²C interface provide a standard Memory interface on the bus. Communication with the device is done by reading and writing to memory cells. The Memory is organized into diffrent ''banks''. Each bank is used to access a single command or feature. 
     6 
     7The memory structure is as following: 
     8||= Offset =||= Description    =|| 
     9||0         ||Interface Version || 
     10||1         ||Device Status     || 
     11||2         ||Command/Bank ID   || 
     12||3         ||Device Error      || 
     13||4         ||Bank data         || 
     14 
     15=== Interface Version === 
     16This is the version of the Interface. This document describes version 0. 
     17 
     18 
     19=== Device Status === 
     20This is a overall status byte. 
     21 
     22||= Bit =||= Description =|| 
     23||0      ||Device Ready || 
     24||1      ||Selfcheck passed || 
     25||2      ||Selfcheck returned error || 
     26||3      ||Updates since last read || 
     27||4      ||Reserved || 
     28||5      ||Reserved || 
     29||6      ||Reserved || 
     30||7      ||Reserved || 
     31 
     32If bit 1 and 2 is zero selfcheck is currently running. 
     33Bit 3 is set after value changes of ADC pins or GPI pins. It is reset when the correspdoning bank (holding the updated value) is selected. 
     34 
     35=== !Command/Bank ID === 
     36This is the ID of the selected memory bank. 
     37 
     38=== Device Error === 
     39This is the device's error code. It is updated after every command/bank change and may be updated on writing command specific parameters. The values are standard RoarAudio Error Values. See [[Specs/ErrorValues]]