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 36 matches
CCS Forum Index
Author Message
  Topic: HELP SPI on QFN IC and PIC 16F877 or 18f4685
ketron82

Replies: 32
Views: 31064

PostForum: General CCS C Discussion   Posted: Sat Jul 24, 2010 2:10 pm   Subject: HELP SPI on QFN IC and PIC 16F877 or 18f4685
Laughing Very Happy Mr. Green Mr. Green Mr. Green Very Happy Laughing
Some days ago after some tests I turned on the SI4703. I'm very happy!!
Laughing Very Happy Mr. Green Mr. Green Mr. Green Very Happy Laughing ...
  Topic: HELP SPI on QFN IC and PIC 16F877 or 18f4685
ketron82

Replies: 32
Views: 31064

PostForum: General CCS C Discussion   Posted: Mon Jul 19, 2010 7:35 pm   Subject: HELP SPI on QFN IC and PIC 16F877 or 18f4685
Many thanks for Reply,
I am newbie but I'm learning C for PIC because I have studied only C++ .
I have no hard "due date" for my project but I am interested to this project because I' ...
  Topic: HELP SPI on QFN IC and PIC 16F877 or 18f4685
ketron82

Replies: 32
Views: 31064

PostForum: General CCS C Discussion   Posted: Mon Jul 19, 2010 3:10 pm   Subject: HELP SPI on QFN IC and PIC 16F877 or 18f4685
I think that I make errors reading I2C bus!
Does the function i2c_read(1) send ACK at the end of the 1st byte??
Should be this the error??

If I use i2c_read(0);
the output is
111111111111111 ...
  Topic: HELP SPI on QFN IC and PIC 16F877 or 18f4685
ketron82

Replies: 32
Views: 31064

PostForum: General CCS C Discussion   Posted: Mon Jul 19, 2010 12:52 pm   Subject: HELP SPI on QFN IC and PIC 16F877 or 18f4685
OK...I have removed the interrupt!
I have tested the i2c_poll() function but for compile it I must add FORCE HARDWARE in #use i2c(Master, sda=PIN_C4, scl=PIN_C3) but in this way
I cannot see the ACK ...
  Topic: HELP SPI on QFN IC and PIC 16F877 or 18f4685
ketron82

Replies: 32
Views: 31064

PostForum: General CCS C Discussion   Posted: Mon Jul 19, 2010 11:42 am   Subject: HELP SPI on QFN IC and PIC 16F877 or 18f4685
I have added an external clock with 22pF and 32.768 Khz Xtal.
Now....I have the same problem!!

I am not able to read register after the write of i2c_write(0x21).

Someone can help me about I2C r ...
  Topic: HELP SPI on QFN IC and PIC 16F877 or 18f4685
ketron82

Replies: 32
Views: 31064

PostForum: General CCS C Discussion   Posted: Fri Jul 16, 2010 11:35 am   Subject: HELP SPI on QFN IC and PIC 16F877 or 18f4685
Many hanks for the info Smile

Sorry for the time of reply but I was at working.
I have desolder the XTAL 32.768kHz from old motherboard Smile

So...I'm testing the I2C Communication.

I think that I ...
  Topic: HELP SPI on QFN IC and PIC 16F877 or 18f4685
ketron82

Replies: 32
Views: 31064

PostForum: General CCS C Discussion   Posted: Wed Jul 14, 2010 12:48 pm   Subject: HELP SPI on QFN IC and PIC 16F877 or 18f4685
Read the Programming Guide.
2.1.2. Hardware Powerdown
It explains all the power-down modes. If you remove the main power
(Vdd) but keep the Vio power, the i2c bus will still be active.

;) it i ...
  Topic: HELP SPI on QFN IC and PIC 16F877 or 18f4685
ketron82

Replies: 32
Views: 31064

PostForum: General CCS C Discussion   Posted: Wed Jul 14, 2010 10:18 am   Subject: HELP SPI on QFN IC and PIC 16F877 or 18f4685
Dear friends....
I have tested I2C of SI4703 using 18f25j10 and with my surprice...the device reply ack at the address 0x20!!
The question is that the device reply ack also if it is disconnec ...
  Topic: HELP SPI on QFN IC and PIC 16F877 or 18f4685
ketron82

Replies: 32
Views: 31064

PostForum: General CCS C Discussion   Posted: Tue Jul 13, 2010 1:34 pm   Subject: HELP SPI on QFN IC and PIC 16F877 or 18f4685
Many thanks and sorry for my errors ;(


In the next hours I will begin test...

Thank You Very Much

Fabio
  Topic: HELP SPI on QFN IC and PIC 16F877 or 18f4685
ketron82

Replies: 32
Views: 31064

PostForum: General CCS C Discussion   Posted: Tue Jul 13, 2010 12:48 pm   Subject: HELP SPI on QFN IC and PIC 16F877 or 18f4685
Finally....I made PCB with 18F25J10 (3.3Volt ..compatible with SI4703).
So....in the next hours I will make a TEST for test the compatibility of the SI4703 with the I2C protocol.

I have only one q ...
  Topic: HELP SPI on QFN IC and PIC 16F877 or 18f4685
ketron82

Replies: 32
Views: 31064

PostForum: General CCS C Discussion   Posted: Mon Jul 12, 2010 3:22 am   Subject: HELP SPI on QFN IC and PIC 16F877 or 18f4685
Is correct something like that??


#include <16F877.h>
#fuses XT,NOWDT,NOPROTECT,PUT,NOLVP,NOBROWNOUT
#use delay(clock=4000000)
#use i2c(Master, sda=PIN_C4, scl=PIN_C3)
#u ...
  Topic: HELP SPI on QFN IC and PIC 16F877 or 18f4685
ketron82

Replies: 32
Views: 31064

PostForum: General CCS C Discussion   Posted: Sun Jul 11, 2010 3:12 pm   Subject: HELP SPI on QFN IC and PIC 16F877 or 18f4685
Many Thanks PCM Programmer.

I will begin the test....and I post it on this forum for correct errors!

Have I to delete the LONG CODE??

I have to use this IC because I need for university exam ...
  Topic: HELP SPI on QFN IC and PIC 16F877 or 18f4685
ketron82

Replies: 32
Views: 31064

PostForum: General CCS C Discussion   Posted: Sun Jul 11, 2010 1:59 pm   Subject: HELP SPI on QFN IC and PIC 16F877 or 18f4685
I have found:


http://people.debian.org/~anibal/kernel/kbuild-next/Documentation/video4linux/si470x.txt

http://osdir.com/ml/linux-media/2009-03/msg00312.html

http://read.pudn.com/downloads97 ...
  Topic: HELP SPI on QFN IC and PIC 16F877 or 18f4685
ketron82

Replies: 32
Views: 31064

PostForum: General CCS C Discussion   Posted: Sun Jul 11, 2010 10:13 am   Subject: HELP SPI on QFN IC and PIC 16F877 or 18f4685
Study the datasheets!
The PIC16F877A is not specified for running below 4.0V. See table 17.1 of the datasheet. Only the special 'LF' version is specified for the lower voltages.

But, why are you u ...
  Topic: HELP SPI on QFN IC and PIC 16F877 or 18f4685
ketron82

Replies: 32
Views: 31064

PostForum: General CCS C Discussion   Posted: Sun Jul 11, 2010 5:57 am   Subject: HELP SPI on QFN IC and PIC 16F877 or 18f4685
Yes, you really will need a level shifter if you run the PIC at 5v, and want to use either the hardware SPI, or I2C. However, why not user a PIC that operates at a lower voltage?. Much simpler...

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


Powered by phpBB © 2001, 2005 phpBB Group