8 Threads found on edaboard.com: i2c Slave Mode Code
Simple i2c controller
-- 1) No multimaster
-- 2) No slave mode
-- 3) No fifo's
-- Every command is acknowledged. Do not set a new command before previous is acknowledged.
-- Dout is available 1 clock cycle later as cmd_ack
PLD, SPLD, GAL, CPLD, FPGA Design :: 04-22-2011 08:13 :: daisyzari :: Replies: 0 :: Views: 483
Can you re-frame your question :?: and make it a bit more clear..
Do you mean an i2c master with interrupt from slaves. On receiving an interrupt via any of its GPIO pin, the master services the slave. Is this you are asking?
Microcontrollers :: 08-16-2010 16:41 :: hardyethan :: Replies: 1 :: Views: 850
I did a communication between a dspic 33 fj256gp710 as a master (on a explorer 16 board) and a pic 16f887 as a slave (on a pickit 2 board). When I'm runnig the programs(both master and slave) in animate mode it is ok for the first cycle, in next cycle thoose does not syncronize I think. In normal running mode the same (...)
PC Programming and Interfacing :: 06-05-2008 12:55 :: vasiliugeo :: Replies: 1 :: Views: 1823
I am working on PIC microcontrollers currently-dsPIC33F256GP710. I want to work my PIC as a slave device for i2c communication. I have done the initialization part only till now.
If any one have the code for i2c slave mode for any microcontroller please upload here or please forward (...)
Microcontrollers :: 07-30-2007 08:20 :: mdeepamenon :: Replies: 1 :: Views: 1588
I am using MSP430F449. I am using external RTC wit i2c bus. My micro 2 SPI 's are occupied. So Is it possible to use configure the general perpose I/O ports for i2c communication by software as well. If so pls explain me.
Microcontrollers :: 07-04-2007 20:39 :: london :: Replies: 1 :: Views: 765
i trying to interface EEPROM and RTC with my 6713 dsp using i2c bus which is inbuild module in 6713. I have written code based in the documents given my code is working in DIGITAL LOOPBACK mode. but when im trying ti write some thing to EEPROM or RTC i didnt get any acknowledgement from (...)
Digital Signal Processing :: 04-07-2007 10:48 :: Jeeva :: Replies: 0 :: Views: 1146
Chose two I/O pins for SDA and SCL and connect them to i2c device(slave mode) directly.
See, it works.
The C code for 8051:
Microcontrollers :: 03-15-2007 12:35 :: Harrylhq :: Replies: 6 :: Views: 8835
I want to send serial eeprom data to CPLD/FPGA in i2c bus .
My component is AT24C16 and AT89s52 and FPGA
There are two way I could think of :
Way 1:So need to write a i2c HDL code let FPGA directly read AT24C16
Way 2:Use AT89s52 to read AT24C16 then write to FPGA by i2c bus .
Coudl you help to get (...)
PLD, SPLD, GAL, CPLD, FPGA Design :: 05-10-2005 12:29 :: TERRYWU3 :: Replies: 2 :: Views: 2957