asuncao
Newbie level 4
/i/o and microprocessor
i have a max7313 , 16 port i/o expander with led intensity control , to use in my rgb led project. i ve learned the process of i2c communication and i should know how i can use this i/o expander as a slave device. do i have to write a slave interrupt routine or driver for the device by myself?
i ve modified the extee example and used 2401.c file. and i ve written my driver code for max7313. when i was struggling with two pics communicating,i knew which step i was on, but now i dont know what happens inside the maxim.. master transmits the codes according to my readings of datasheet but nothing happens... max7313 stays at the initial power up configuration, outputs are hi-Z. what is hard is the maxim has more complex inside addressing than eeprom.
slave address+ command address(internal register address)+ data byte
that is the process for writing to maxim..
ithink i should swallow the datasheet ... again...
i have a max7313 , 16 port i/o expander with led intensity control , to use in my rgb led project. i ve learned the process of i2c communication and i should know how i can use this i/o expander as a slave device. do i have to write a slave interrupt routine or driver for the device by myself?
i ve modified the extee example and used 2401.c file. and i ve written my driver code for max7313. when i was struggling with two pics communicating,i knew which step i was on, but now i dont know what happens inside the maxim.. master transmits the codes according to my readings of datasheet but nothing happens... max7313 stays at the initial power up configuration, outputs are hi-Z. what is hard is the maxim has more complex inside addressing than eeprom.
slave address+ command address(internal register address)+ data byte
that is the process for writing to maxim..
ithink i should swallow the datasheet ... again...