CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 26 matches
CCS Forum Index
Author Message
  Topic: I²C / SMBUS
prixsecco

Replies: 4
Views: 6597

PostForum: General CCS C Discussion   Posted: Tue Jun 12, 2012 3:47 am   Subject: I²C / SMBUS
Thank you Wink
  Topic: I²C / SMBUS
prixsecco

Replies: 4
Views: 6597

PostForum: General CCS C Discussion   Posted: Tue May 29, 2012 1:47 pm   Subject: I²C / SMBUS
Should be a general question, although the link:
http://www.ti.com/lit/an/sloa132/sloa132.pdf
  Topic: I²C / SMBUS
prixsecco

Replies: 4
Views: 6597

PostForum: General CCS C Discussion   Posted: Tue May 29, 2012 1:15 pm   Subject: I²C / SMBUS
Hello,
I've a short question:
I was looking for differences of the I²C and SMBUS Specification and there I was confused with the fixed and dependent I²C-Bus levels.
(like I²C fixed: Vih: 3.0V; I ...
  Topic: Melexis 90615 connection problem
prixsecco

Replies: 49
Views: 45234

PostForum: General CCS C Discussion   Posted: Wed Feb 01, 2012 10:49 am   Subject: Melexis 90615 connection problem
Hey again.
I checked the bus using an oscilloscope. there i can see that the SDA line is just about 0.5V high. The problem is the pic expects Vih of 2V, right?
what can i do?
using a low power vers ...
  Topic: Melexis 90615 connection problem
prixsecco

Replies: 49
Views: 45234

PostForum: General CCS C Discussion   Posted: Sat Jan 28, 2012 1:44 am   Subject: Melexis 90615 connection problem
I am happy for any help. Doesn't matter when...
Thanks to all in the mean time.

I tried another i2c sensor and there the ack test program is working fine...
Found 1 chip etc.
  Topic: Melexis 90615 connection problem
prixsecco

Replies: 49
Views: 45234

PostForum: General CCS C Discussion   Posted: Fri Jan 27, 2012 4:47 pm   Subject: Melexis 90615 connection problem
The ACK test program I'm using:
#include <18f4550.h>
#fuses hs
#use delay(crystal = 20000000)
#use i2c(master, SCL=PIN_b1, SDA=PIN_b0)
#use rs232(baud=9600, xmit=PIN_C6, ...
  Topic: Melexis 90615 connection problem
prixsecco

Replies: 49
Views: 45234

PostForum: General CCS C Discussion   Posted: Fri Jan 27, 2012 4:32 pm   Subject: Melexis 90615 connection problem
Ok the PIC can't work with 3.3V. I haven't got the LF version.

I changed power supply to +5V and used a Zener diode to regulate the VDD voltage for the sensor to +3.3 V.

But i get the same resul ...
  Topic: Melexis 90615 connection problem
prixsecco

Replies: 49
Views: 45234

PostForum: General CCS C Discussion   Posted: Fri Jan 27, 2012 3:44 pm   Subject: Melexis 90615 connection problem
PIC18F4550

Have i understand it right, 3.5 volts is the minimum supply voltage for the PIC18F4550 or does it mean the input level on pins have to be at a minimum of 3.5V ?
  Topic: Melexis 90615 connection problem
prixsecco

Replies: 49
Views: 45234

PostForum: General CCS C Discussion   Posted: Fri Jan 27, 2012 3:24 pm   Subject: Melexis 90615 connection problem
According the the 18F4550 data sheet, in the Electrical Specifications
section, the "F" version of the PIC requires a minimum Vdd voltage of 4.2v.
It's possible that it will work at 3.3v f ...
  Topic: Melexis 90615 connection problem
prixsecco

Replies: 49
Views: 45234

PostForum: General CCS C Discussion   Posted: Fri Jan 27, 2012 3:17 pm   Subject: Melexis 90615 connection problem
[quote](I will try it with another board, just a moment...)[/qoute]

Also with another evaluationboard (PIC18F4550), 112 chips found. :-(
  Topic: Melexis 90615 connection problem
prixsecco

Replies: 49
Views: 45234

PostForum: General CCS C Discussion   Posted: Fri Jan 27, 2012 3:06 pm   Subject: Melexis 90615 connection problem
The ACK Test program is just modified in the pin settings for SCL and SDA.

A Hardware problem of the PIC evaluation board?
Or the connection from the sensor to the board? (I will try it with anoth ...
  Topic: Melexis 90615 connection problem
prixsecco

Replies: 49
Views: 45234

PostForum: General CCS C Discussion   Posted: Fri Jan 27, 2012 2:29 pm   Subject: Melexis 90615 connection problem
Okey here's the result from the scan:

Start:
ACK addr: 10 ACK addr: 12 ACK addr: 14 ACK addr: 16 ACK addr: 18
ACK addr: 1A ACK addr: 1C ACK addr: 1E ACK addr&# ...
  Topic: Melexis 90615 connection problem
prixsecco

Replies: 49
Views: 45234

PostForum: General CCS C Discussion   Posted: Fri Jan 27, 2012 11:44 am   Subject: Melexis 90615 connection problem
Sorry.
I've done like you said. All values are "0" (TempMSB,TempLSB,TempRAW) in both methods.

Hyperterminal:
OBJECT TEMPERATURE:
TempLSB_obj = 0
TempMSB_obj = 0
TempRAW_obj = 0 ...
  Topic: Melexis 90615 connection problem
prixsecco

Replies: 49
Views: 45234

PostForum: General CCS C Discussion   Posted: Wed Jan 25, 2012 6:36 pm   Subject: Melexis 90615 connection problem
No idea?
Dont know whats the problem.
  Topic: Melexis 90615 connection problem
prixsecco

Replies: 49
Views: 45234

PostForum: General CCS C Discussion   Posted: Mon Jan 23, 2012 2:47 am   Subject: Melexis 90615 connection problem
Shouldn't the second i2c_write, i2c_write(0x26) and i2c_write(0x27)
better on address 0x06 and 0x07 ?

Isn't that the address for Ta and To?

Thanks...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group