Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/29/06 20:54
Read: times


 
#125397 - code architect
Responding to: ???'s previous message
Dear Andy,
respect, The codearchitect is really the best i used it very well for ADC DAC UART and internal EEPROM, i only had less experince with I2C, as i have readed all the documentation i still cannot get along with it. I need to attach a 1024 Kbit AT24C1024 EEPROM on my P89LPC936. I really need some guidance on this project, so if anyone is capable of helping me on this matter, please help me.

unsigned char i2c_master_getbyte
(
unsigned int bytenum // number of the byte in this transfer
// (0 = first byte)
)
{
// insert code here// what Code should i have to insert here? or in other functions stated on the generated code by codearchitect?

return 0x00; // is this return only ment as dummy, or does it always return 0x00?

} // i2c_master_getbyte


Please help me people as i am really stuck and cant think clear. I found a code for the P87LPC764 found at the Keil samples site but i cannot understand how to make the code suitable for the P89LPC936


Any help,

Regards,
K. Sarsam

List of 11 messages in thread
TopicAuthorDate
P89LPC936 and external EEPROM through I2C            01/01/70 00:00      
   If you mean CODE memory, you can't            01/01/70 00:00      
      Sorry, not ment as code memory            01/01/70 00:00      
         WRONG! get rid of the interruptifobia            01/01/70 00:00      
            Interrupfobia            01/01/70 00:00      
               then why            01/01/70 00:00      
                  why no interrupts            01/01/70 00:00      
                     I2c            01/01/70 00:00      
                     Code Architect            01/01/70 00:00      
                        code architect            01/01/70 00:00      
                           if domebody carries you through this one ...            01/01/70 00:00      

Back to Subject List