how do you typically tie the address pins and WP pin of I2C device? Do these lines need a pull-up/down resistor or just tied directly.
closed as unclear what you're asking by uint128_t, Neil_UK, Peter Smith, Adam Haun, Daniel Grillo Mar 28 '16 at 11:11
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Do these lines need a pull-up/down resistor or just tied directly.
Completely dependent on the specific IC you are using, and would be listed in the data sheet. Either outright, or in the recommended/typical application schematic.
That said, I've never personally seen one that couldn't be directly tied to VCC or Gnd. Unless it is one of the fancier ones that can be tied to voltage dividers, or the other address pins, or left floating.
Your specific part, the FM24V02 has both an explicit explanation, and a typical application schematic. Direct Connections shown.
A2-A0, Input, Device Select Address 2-0.
These pins are used to select one of up to 8 devices of the same type on the same I2C bus. To select the device, the address value on the three pins must match the corresponding bits contained in the slave address. The address pins are pulled down internally.
WP, Input, Write Protect.
When tied to VDD, addresses in the entire memory map will be write-protected. When WP is connected to ground, all addresses are write enabled. This pin is pulled down internally.