I2C Peformance

Started by spw099 in Rabbit-Semi14 years ago 4 replies

I use a I2C A2D converter rated at 44kHz... I cannot seem to pull data from the I2C bus faster then ~2millisec per sensor. The I2C bus ...

I use a I2C A2D converter rated at 44kHz... I cannot seem to pull data from the I2C bus faster then ~2millisec per sensor. The I2C bus seems to be painfully slow on the Rabbit. I rewrote some parts in assembly but that did not help at all. Any ideas?


i2c problems

Started by tricard in Rabbit-Semi11 years ago

Hello, I am trying to use th i2c library with a rabbit RCM2000, but I don't understand anything. When I try the sample and so on, I can't...

Hello, I am trying to use th i2c library with a rabbit RCM2000, but I don't understand anything. When I try the sample and so on, I can't see any signal on either PD6 or 7. Is there anything to do before starting i2c? Thanks a lot for your help! --


I2C fast performance

Started by mirberti2003 in Rabbit-Semi13 years ago 3 replies

Hi, I use RCM2200 and DC 7.25. I write a routine with use I2C for comunicate with a PIC18FXX, but i2c bus is very slow. Anyone have a...

Hi, I use RCM2200 and DC 7.25. I write a routine with use I2C for comunicate with a PIC18FXX, but i2c bus is very slow. Anyone have a i2c library for use i2b bus with fast performance ?? Regards Mirko


i2c.lib bug functions do not work

Started by INDRANUJ HALDAR in Rabbit-Semi14 years ago 1 reply

Hi all, I was working on i2c.I was using rabbit's inbuilt library(i2c_devices.lib,i2c.lib).But they were not working for me. I found in...

Hi all, I was working on i2c.I was using rabbit's inbuilt library(i2c_devices.lib,i2c.lib).But they were not working for me. I found in i2c.lib they are writing on pdddr but not on pddr.I was confused why they are configuring so many times ports as i/p & o/p and making rotate left operation while writing. I was also stunned to see that while writi


Plz help regarding I2C protocol

Started by sath...@microview-tech.com in Rabbit-Semi10 years ago 2 replies

Hi, I want to use I2C protocol for my project.I tried for 24LC64 EEPROM and it is working .But i need to use I2c for Xicor X9241 digital...

Hi, I want to use I2C protocol for my project.I tried for 24LC64 EEPROM and it is working .But i need to use I2c for Xicor X9241 digital pot.I used same I2c routine which i used for EEPROM and only i changed slave address and index.i send the parameters according to the sequence given in datasheet of digital pot.But i am getting error as -21 which is NO ACK from slave. Hardware is perfect as...


SMBus library?

Started by Alan Matheson in Rabbit-Semi9 years ago 3 replies

I use I2C bus devices in an instrument, the I2C library supplied with Dynamic C works very well. Now I want to use a chip that has an SMBus...

I use I2C bus devices in an instrument, the I2C library supplied with Dynamic C works very well. Now I want to use a chip that has an SMBus interface. Superficially this looks very similar to I2C. Is it possible to use the I2C library to control these devices. If not is there a library available anywhere that caters for this bus? Alan Matheson ------------------------------------


how should i read a I2C ADC @50khz on rcm2250?

Started by Flux in Rabbit-Semi14 years ago 4 replies

currently, i am using external ISR to read the 8bit ADC0804 the sampling action is driven by internal ISR driving by timer A. using...

currently, i am using external ISR to read the 8bit ADC0804 the sampling action is driven by internal ISR driving by timer A. using I2C means no interrupt anymore?? how can i tailor the speed I2C works and the I/O that I can use??


I2C with Rabbit RCM2000

Started by Geri in Rabbit-Semi12 years ago 2 replies

Hi I am using a Rabbit 2000 with an ATMEL I2C-EEPROM called AT24C256 (256KB-Size). After wireing the hardware I tried to connect to...

Hi I am using a Rabbit 2000 with an ATMEL I2C-EEPROM called AT24C256 (256KB-Size). After wireing the hardware I tried to connect to the I2C- EEPROM with the simple Example I2C_24LC16.C, delivered with Dynamic C. Unfortunately the procedure does not work. I already had some approaches but I did not succeed. Maybe someone of you had already


problem with i2c.lib SCL line is low at initialisation

Started by sjowen1909 in Rabbit-Semi12 years ago

Hey, I have a problem concerning the I2C.lib. I wat to connect a ADC (the MAX1169) to the RCM3200 with the interface I2C. Using the...

Hey, I have a problem concerning the I2C.lib. I wat to connect a ADC (the MAX1169) to the RCM3200 with the interface I2C. Using the library i2c.lib from the samples. And calling different types of function such as i2c_init() etc... give me the following result. At init. the SDA line is high but the SCL line is low, I think this is


Using i2c.lib on a port other than D

Started by Douglas Groen in Rabbit-Semi12 years ago 3 replies

Hi, The custom board I plug my RCM3360 into was designed (not by me!) to use PB6 and PB7 for the I2C bus. How do I handle the changes...

Hi, The custom board I plug my RCM3360 into was designed (not by me!) to use PB6 and PB7 for the I2C bus. How do I handle the changes to the #defines in i2c.lib and the function calls (setting up the open-drain capability of the pins, for example) in i2c_init.c? To float the lines do I need to make them inputs? I do have external pull-ups on th


problem with I2C

Started by omprakash karamunge in Rabbit-Semi11 years ago 3 replies

Hello friends, I am trying to communicate ds1621 temperature sensor using I2c protocol. sda = pd3 & scl = pd4 i have written the program...

Hello friends, I am trying to communicate ds1621 temperature sensor using I2c protocol. sda = pd3 & scl = pd4 i have written the program using i2c library but it not run. when i same ic interface to 8051 then my assemly language program runs.so please help me what can i do so that i can communicate that chip using rabbit processor. thank you. Send instant messages to your online


question on i2c library functions(help required urgently)

Started by INDRANUJ HALDAR in Rabbit-Semi14 years ago 2 replies

Hi all, I am writing a routine using i2c . Now the problem I was facing is if I call up i2c_startw_tx/ i2c_write_char etc I dont see even...

Hi all, I am writing a routine using i2c . Now the problem I was facing is if I call up i2c_startw_tx/ i2c_write_char etc I dont see even a single pulse in the sca / sda pins. I have set pd3,pd4 as my serial lines .I defined I2CSCLBit,I2CSDABit as 4 & 3 respectively before calling #use "i2c.lib".Afterwards I tried to go through the lib f


Timer B

Started by james_r_hebert in Rabbit-Semi11 years ago 4 replies

I am trying to write some code that will go to an interrupt and do some I2C stuff. I cant seem to get the code to go anywhere past...

I am trying to write some code that will go to an interrupt and do some I2C stuff. I cant seem to get the code to go anywhere past the=20 WrPortI(TBCSR, &TBCSRShadow, 0x02); when I have the interrupt with the I2C stuff in there. When I use just a simple increment it works. But not with I2C. any help would be greatly appreciated. Code Below.=20 Ryan Code: #class auto // Set equ...


i2c clock freq set as default

Started by INDRANUJ HALDAR in Rabbit-Semi14 years ago

Hi all, I am writing the i2c protocol . Now what is the default clock frequency ,default data frequency set in the i2c.lib file. Which...

Hi all, I am writing the i2c protocol . Now what is the default clock frequency ,default data frequency set in the i2c.lib file. Which are those variables? If anybody can supply me these informations I will be highly thankful. thanking you all, with rgds, Indranuj __________________________________


I2C or PWM?

Started by knkoehn in Rabbit-Semi10 years ago

Currently I'm using PWM to control two DC motors over four PWM lines but I've hit a block and need another two lines (which the rabbit doesn't...

Currently I'm using PWM to control two DC motors over four PWM lines but I've hit a block and need another two lines (which the rabbit doesn't seem to have). Has anyone worked with I2C for motor control? I understand that it is a serial/time based protocol but I've never had experience. What is everyones thought on PWM versus I2C for motor drivers? All of the motors would be driven at...


Dumb question about SPI & I2C

Started by Robert Horton in Rabbit-Semi13 years ago 3 replies

Hi, just wondering if I really need pullups on the I2C lines and SPI SI line of the RCM2200. Thanks Rob Horton

Hi, just wondering if I really need pullups on the I2C lines and SPI SI line of the RCM2200. Thanks Rob Horton


I2C on R6000

Started by seecwriter in Rabbit-Semi5 years ago 9 replies

Has anyone else noticed that for the R6000, the I2C driver shifts the device address left by one bit before using it? What's up with...

Has anyone else noticed that for the R6000, the I2C driver shifts the device address left by one bit before using it? What's up with that? Looking at the I2C sample program for the R6000, I2C_24LC16.C, it defines the address of the device as 0xA2. The 'A' is the device code, and it's correct for the 24LC16. The '2' is the second device, which the sample doesn't mention. But if you left-shif...


BL2600 I2C pins information needed.

Started by "ant...@gmail.com [rabbit-semi]" in Rabbit-Semi3 years ago 1 reply

Hello, I'm new BL2600 user and I cannot find information where to connect I2C lines. I tried PortF by changing i2c.lib a little and I was able to...

Hello, I'm new BL2600 user and I cannot find information where to connect I2C lines. I tried PortF by changing i2c.lib a little and I was able to use pins 20 and 21 but voltage level varies only 4.7 V to 2.5 V and instead of 0-5 V . I tried several different pullup resistors but still the source voltage won't go to zero. Are there any information how ports are mapped to BL2600 pins ? I can find...


RCM 3110

Started by lau_robert in Rabbit-Semi13 years ago 2 replies

Hello! I am a new embedded programmer with the rabbit semiconductor chip. I just started programming with this processsor about a month...

Hello! I am a new embedded programmer with the rabbit semiconductor chip. I just started programming with this processsor about a month ago. I am currently having problems on one of the programs that consists of toggling an I/O in order to create a I2C communication. I looked up the i2c sample code and I am currently using its structure; however, I think


what the mean of 'open drain' in i2c ?

Started by jianjia in Rabbit-Semi13 years ago 1 reply

i2c should take port D as SCL and SDA for 'open drain' reason. but what is it mean ? thanks in advance! ---------- Best...

i2c should take port D as SCL and SDA for 'open drain' reason. but what is it mean ? thanks in advance! ---------- Best Regards