Bus Pirate Edu Kit Exercise no.10

(Difference between revisions)
 Revision as of 14:36, 6 March 2013 (view source)Arakis (Talk | contribs) (Created page with "==Overview== 600px ==The Circuit== 300px300px ==Bus Pirate Terminal== ==Not W...")← Older edit Revision as of 14:19, 11 April 2013 (view source)Arakis (Talk | contribs) (→Bus Pirate Terminal)Newer edit → Line 6: Line 6: ==Bus Pirate Terminal== ==Bus Pirate Terminal== + + HiZ>m + 1. HiZ + 2. 1-WIRE + 3. UART + 4. I2C + 5. SPI + 6. 2WIRE + 7. 3WIRE + 8. LCD + x. exit(without change) + + (1)>4 + Set speed: + 1. ~5KHz + 2. ~50KHz + 3. ~100KHz + 4. ~400KHz + + (1)>4 + Ready + I2C>W + POWER SUPPLIES ON + I2C>P + Pull-up resistors ON + I2C>[0xa6 0 1 2 3 4 5 6 7 8] + I2C START BIT + WRITE: 0xA6 ACK + WRITE: 0x00 ACK + WRITE: 0x01 ACK + WRITE: 0x02 ACK + WRITE: 0x03 ACK + WRITE: 0x04 ACK + WRITE: 0x05 ACK + WRITE: 0x06 ACK + WRITE: 0x07 ACK + WRITE: 0x08 ACK + I2C STOP BIT + I2C>[0xa6 0] + I2C START BIT + WRITE: 0xA6 ACK + WRITE: 0x00 ACK + I2C STOP BIT + I2C>[0xa7 r:8] + I2C START BIT + WRITE: 0xA7 ACK + READ: 0x01  ACK 0x02  ACK 0x03  ACK 0x04  ACK 0x05  ACK 0x06  ACK 0x07  ACK 0x08 + NACK + I2C STOP BIT + I2C>m + 1. HiZ + 2. 1-WIRE + 3. UART + 4. I2C + 5. SPI + 6. 2WIRE + 7. 3WIRE + 8. LCD + x. exit(without change) + + (1)>1 + Ready + HiZ> + + ==Not Working?== ==Not Working?== ==Taking it further== ==Taking it further==

Bus Pirate Terminal

HiZ>m
1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. 2WIRE
7. 3WIRE
8. LCD
x. exit(without change)

(1)>4
Set speed:
1. ~5KHz
2. ~50KHz
3. ~100KHz
4. ~400KHz

(1)>4
I2C>W
POWER SUPPLIES ON
I2C>P
Pull-up resistors ON
I2C>[0xa6 0 1 2 3 4 5 6 7 8]
I2C START BIT
WRITE: 0xA6 ACK
WRITE: 0x00 ACK
WRITE: 0x01 ACK
WRITE: 0x02 ACK
WRITE: 0x03 ACK
WRITE: 0x04 ACK
WRITE: 0x05 ACK
WRITE: 0x06 ACK
WRITE: 0x07 ACK
WRITE: 0x08 ACK
I2C STOP BIT
I2C>[0xa6 0]
I2C START BIT
WRITE: 0xA6 ACK
WRITE: 0x00 ACK
I2C STOP BIT
I2C>[0xa7 r:8]
I2C START BIT
WRITE: 0xA7 ACK
READ: 0x01 ACK 0x02 ACK 0x03 ACK 0x04 ACK 0x05 ACK 0x06 ACK 0x07 ACK 0x08
NACK
I2C STOP BIT
I2C>m
1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. 2WIRE
7. 3WIRE
8. LCD
x. exit(without change)

(1)>1