good luck to find it in french... unless you want to try GooGLE or else on-line translatorthat will'nt be better
![]()
good luck to find it in french... unless you want to try GooGLE or else on-line translatorthat will'nt be better
![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Ports are set to digital, analog and comparators turned off. 4.7K resistors in place, 24C32 chip is brand new and authentic.Code:SDA var PORTA.1 SCL var PORTA.2 T1 var byte T1=15 I2CAddress var word 'I2C address I2CDevice var byte 'I2C device add i2CDevice=$A0 I2CAddress=8 I2CWrite SDA,SCL,I2CDevice,I2CAddress,127 pause 100 i2cread SDA,SCL,I2CDevice,I2CAddress,T1 LCDOUT $FE,$c0, "value ", dEC T1 pause 1000 stop
Only VDD/VSS and SDA/SCL pins are used, others are left floating, according to datasheet.
The interesting thing is, that i2cread returns nothing - I mean, I added T1=15 just for test, so that 15 is displayed, instead of 127
whole i2croutine doing nothing?
hello
start a TEST first to see if your I2C unit is OK
let go here
https://playground.arduino.cc/Main/I2cScanner/
francois
Only VDD/VSS and SDA/SCL pins are used, others are left floating, according to datasheet.or read the data sheet again and work out the consequences of floating address pins on the device addressstart a TEST first to see if your I2C unit is OK
let go here
Warning I'm not a teacher
From the datasheet:
DEVICE/PAGE ADDRESSES (A2, A1, A0): The A2, A1 and A0 pins are device address
inputs that are hard wired or left not connected for hardware compatibility with
AT24C16. When the pins are hardwired, as many as eight 32K/64K devices may be
addressed on a single bus system (device addressing is discussed in detail under the
Device Addressing section). When the pins are not hardwired, the default A2, A1, and A0
are zero.
WRITE PROTECT (WP): The write protect input, when tied to GND, allows normal write
operations. When WP is tied high to VCC, all write operations to the upper quandrant
(8/16K bits) of memory are inhibited. If left unconnected, WP is internally pulled down to
GND.
The A2, A1, and A0 pins use an internal proprietary circuit that biases them
to a logic low condition if the pins are allowed to float.
to my surprise i found the 24c32 on my ds3231 module did not behave as expected when the resistor block [circled] was removed
to conserve energy for a battery device
the address was still 0xAE, contrary to the datasheet , so i looked at a data sheet from another manufacturer, where for a 24c32n
they did not describe this address pin biased low behavior for their version
to ensure 0xA0 the pins needed to be grounded
so how sure are you that the datasheet matches the chip?
its an easy test
Warning I'm not a teacher
I will try grounding. I will also hook up scope to see what happens.
I do have pull up resistors in place for SDA/SCL pins.
Regarding how I know about datasheet?
I bought this IC from digikey, and downloaded datasheet from the SKU page
This is genuine atmega part.
Bookmarks