livebox:hah_i2c

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
livebox:hah_i2c [2011/07/11 13:12] – external edit 127.0.0.1livebox:hah_i2c [2011/12/31 19:31] (current) – [Firmware debugging] brett
Line 49: Line 49:
 {{:livebox:pcf8575-addr.png|}} {{:livebox:pcf8575-addr.png|}}
  
-328 Firmware (2.x)+328 Firmware (2.x - > 3.x)
 ^ PPE Addr ^  I2C Address  ^^ ^ PPE Addr ^  I2C Address  ^^
 ^ ::: ^ PCF8574/N ^ PCF8574A ^ ^ ::: ^ PCF8574/N ^ PCF8574A ^
Line 84: Line 84:
 ===== Firmware debugging ===== ===== Firmware debugging =====
  
-Although direct control with the AVR isn't necessary, its useful to understand how the underlying commands are being invoked.  If you are having problems and want to do some low level debugging with microcom directly talking to the AVR command interface this is what you need to know.+Although direct control with the AVR isn't necessary, its useful to understand how the underlying commands are being invoked.  If you are having problems and want to do some low level debugging with ''microcom'' directly talking to the AVR command interface this is what you need to know. 
 + 
 +The firmware command "''i2c scan''" is VERY useful to make sure that the hardware is correctly setup and configured.  Issuing this command will perform a scan of ALL I2C addresses from 0x00-0xFF to see what responds.  You can only run this with direct microcom connection to the AVR running in DEBUG mode.  See also [[hah_microcontroller]]
  
 Additional instructions are going to be needed to configure the I2C devices. Additional instructions are going to be needed to configure the I2C devices.
Line 130: Line 132:
 i2c B4210 - PPE chip at 0x42 write byte 0x10 i2c B4210 - PPE chip at 0x42 write byte 0x10
 </code> </code>
 +
 ===== xAP control ===== ===== xAP control =====
 {{ :livebox:i2c-pin-endpoints.png|}} {{ :livebox:i2c-pin-endpoints.png|}}
  • livebox/hah_i2c.1310389930.txt.gz
  • Last modified: 2011/12/31 19:24
  • (external edit)