Skip to main content
Topic: I2C, no ACK at random times (Read 21676 times) previous topic - next topic

Re: I2C, no ACK at random times

Reply #30
I are tested  eeprom of the series 24CXX, 24c02 and 24c04
I am writing and reading are correct but it always finishes with NACK

Vcc =5V
VPU=5V


Bus Pirate v2go
http://dangerousprototypes.com
Firmware v2.2
DEVID:0x0447 REVID:0x3043 (B5)

1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. JTAG
7. RAW2WIRE
8. RAW3WIRE
9. PC KEYBOARD
10. MIDI
11. LCD
(1) >4
Modalidad seleccionada
Modo I2C:
 1. Software
 2. Hardware
(1) >1
Elegir velocidad:
 1. Baja(~5KHz)
 2. Alta(~50KHz)
(1) >2
LISTO

I2C>W
ALIMENTACIÓN ENCENDIDA
I2C>P
 1. Pull-ups activadas
 2. Pull-ups desactivadas
(1) >1
Activar resistencias Pull-up
I2C>I
Bus Pirate v2go
http://dangerousprototypes.com
Firmware v2.2
DEVID:0x0447 REVID:0x3043 (B5)
*----------*
ALIMENTACIÓN ENCENDIDA
Sensores de tensión: 5V: 4.9 | 3.3V: 3.2 | VPULLUP: 4.9 |
a/A/@ controla pin AUX
Salidas en drenador abierto (H=entrada, L=GND)
Activar resistencias Pull-up
Configuración de orden de bits no permitida
*----------*


I2C>(1)
Buscando direcciones I2C de 7bit.
   Encontrados dispositivos en la dirección:
0xA0(0x50 W) 0xA1(0x50 R) 0xA2(0x51 W) 0xA3(0x51 R) 0xA4(0x52 W) 0xA5(0x52 R) 0xA6(0x53 W) 0xA7(0x53 R) 0xA8(0x54 W) 0xA9(0x54 R) 0xAA(0x55 W) 0xAB(0x55 R) 0xAC(0x56 W) 0xAD(0x56 R) 0xAE(0x57 W) 0xAF(0x57 R)



I2C>{0xa0 0 0}
BIT DE START I2C
ESCRITURA: 0xA0 ACK
ESCRITURA: 0x00 ACK
ESCRITURA: 0x00 ACK
BIT DE STOP I2C




I2C>{0xa1 r}
BIT DE START I2C
ESCRITURA: 0xA1 ACK
LECTURA: 0x01 NACK
BIT DE STOP I2C


or

I2C>{0xa1 r:5}
BIT DE START I2C
ESCRITURA: 0xA1 ACK
LECTURA 0x05 BYTES:
0x01 ACK 0x02 ACK 0x03 ACK 0x04 ACK 0x61 NACK
BIT DE STOP I2C

to end NACK?

failure : Hardware and software, low speed (5k,50k and 100k)


Re: I2C, no ACK at random times

Reply #32
Sorry, sorry....thank you

I am read slow this link