Search found 8 matches

by bobturner5791
Mon Aug 02, 2010 9:16 pm
Forum: NetBurner Software
Topic: New question on I2C communicationhttp:
Replies: 12
Views: 8692

Re: New question on I2C communicationhttp:

Hi Dave,
First I was reading back single ended so I should have been 0x80 instead of 0x04. I called a friend over at ltx and he put me in touch with the product engineer of the2309 and for sleep mode to function the bit has to be high.
I did not want to set the sleep bit. I did modify the to to ...
by bobturner5791
Mon Aug 02, 2010 7:01 am
Forum: NetBurner Software
Topic: New question on I2C communicationhttp:
Replies: 12
Views: 8692

Re: New question on I2C communicationhttp:

Hello,

I was not clear on my post, when I first run the code it works as expected. When I run it a second time it does not respond. I can get it to recover when I power down then power back up. The circuit is simple there are two LTC2309 connected to the I2c buss.

Bob
by bobturner5791
Sun Aug 01, 2010 5:16 pm
Forum: NetBurner Software
Topic: New question on I2C communicationhttp:
Replies: 12
Views: 8692

New question on I2C communicationhttp:

Guys, I got the I2C working I can read my LTC2309 the first time. The next time i run the code it dose not function. Does any one have any thoughts.

Output first time.
Waiting 2sec to start 'A' to abort
Configured IP = 192.168.1.75
Configured Mask = 255.255.255.1
MAC Address= 00:03:f4:04:4f:28 ...
by bobturner5791
Wed Jul 07, 2010 11:14 pm
Forum: NetBurner Software
Topic: I2C 5720
Replies: 16
Views: 11519

Re: I2C 5720

Larry,

I implemented the code to scan through all my address. I did not find my address. I have just bread boarded a LM75 and have attached it to my net burner programing board. So I should have seen 0x47 or 78 respond back. I have attached my scope and I can see the data and the clock. But I am ...
by bobturner5791
Wed Jul 07, 2010 6:34 am
Forum: NetBurner Software
Topic: I2C 5720
Replies: 16
Views: 11519

Re: I2C 5720

Hello,

Here is my code.

#include "predef.h"
#include <stdio.h>
#include <ctype.h>
#include <startnet.h>
#include <autoupdate.h>
#include <dhcpclient.h>
#include <smarttrap.h>
#include <taskmon.h>
#include <NetworkDebug.h>
#include "i2cmulti.h" //Used for Multi-Master I2C
#include <string.h ...
by bobturner5791
Wed Jul 07, 2010 6:14 am
Forum: NetBurner Software
Topic: I2C 5720
Replies: 16
Views: 11519

Re: I2C 5720

Guys,

I changed my code to the following.

I2CStat = ( I2CReadBuf(address, buffer, 3));


if( I2CStat == I2C_OK )
{
printf("Master RX: %x, %x\r\n", buffer[0], buffer[1]);
printf( "Receive successfully\r\n" );
}
else
iprintf( "Failed to read due to error: %d\r\n", I2CStat);
#endif


I now ...
by bobturner5791
Tue Jul 06, 2010 6:17 pm
Forum: NetBurner Software
Topic: I2C 5720
Replies: 16
Views: 11519

Re: I2C 5720

Guy's, Thanks I will try out your suggestions tonight.

Bob
by bobturner5791
Mon Jul 05, 2010 6:06 pm
Forum: NetBurner Software
Topic: I2C 5720
Replies: 16
Views: 11519

I2C 5720

Hello All, am new to the net burner platform, and I am having trouble reading back data from my LM 75 temp sensor, and my LTC 2309. I am connected to the I2c buss with the SDA and SCL pins both are pulled up to 3.3 v.

On the LM75 I am trying to reads back the temperature from device register 0X00 ...