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: 648
I WANT TO IMPLIMENT i2c (MASTER mode) USING INTERRUPTS.
IN ISR WAT EXACTLY I code FOR THE SAME PLZZZZ HELP ME
Microcontrollers :: 08-16-2010 01:10 :: embed_v :: Replies: 1 :: Views: 1160
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: 2188
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: 1914
Yes it is , you will need to do bit banging on the I/O poert simulating i2c bus in master mode
Do not try to do i2c bus in slave mode using I/O very hard to impliment
I belive you can find code for i2c master mode in TI site
All the (...)
Microcontrollers :: 07-07-2007 06:44 :: bobcat1 :: Replies: 1 :: Views: 949
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: 1493
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: 9881
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: 3480