Author |
Message |
Topic: Make a USB connection |
avami
Replies: 2
Views: 4094
|
Forum: General CCS C Discussion Posted: Wed Oct 13, 2010 6:08 am Subject: USB |
A search here would find quite a bit about this.
'Faster'?. Fastest, would be direct connection to the PIC, but implementing a block I/O device (effectively a 'disk' type storage, rather than a RS2 ... |
Topic: Make a USB connection |
avami
Replies: 2
Views: 4094
|
Forum: General CCS C Discussion Posted: Sat Sep 25, 2010 6:37 am Subject: Make a USB connection |
Hi everybody
I want to connect a PIC micro-controller to PC and send data.
I think I have to way to run this: first use USB PIC such a 18f4550, second use a chip like Ft232.
I don't know which one ... |
Topic: Master/slave spi communication |
avami
Replies: 24
Views: 40209
|
Forum: General CCS C Discussion Posted: Sat Jul 03, 2010 6:39 am Subject: Master/slave spi communication |
I mean PIC's internal registers |
Topic: Master/slave spi communication |
avami
Replies: 24
Views: 40209
|
Forum: General CCS C Discussion Posted: Tue Jun 29, 2010 7:42 am Subject: Master/slave spi communication |
Thanks "PCM programmer"
I have done that you suggested and my SPI worked with external interrupt very well.
You can't put any lines of code in-between the #int_ext and the start of
th ... |
Topic: Master/slave spi communication |
avami
Replies: 24
Views: 40209
|
Forum: General CCS C Discussion Posted: Fri Jun 25, 2010 1:26 am Subject: Master/slave spi communication |
Thanks
I try that. |
Topic: Master/slave spi communication |
avami
Replies: 24
Views: 40209
|
Forum: General CCS C Discussion Posted: Sat Jun 19, 2010 1:11 am Subject: Master/slave spi communication |
Thanks for your consideration
I had studied the example program before but I think the example program is not optimal
because they use SPI in manual method and they did not use standard codes. The s ... |
Topic: Master/slave spi communication |
avami
Replies: 24
Views: 40209
|
Forum: General CCS C Discussion Posted: Fri Jun 18, 2010 12:45 am Subject: Spi & RFM12BP |
RF module : RFM12BP
manufacturer : Hoperf
Data sheet:
http://www.hoperf.com/upfile/RFM12BP.PDF
Thanks PCM programmer |
Topic: Master/slave spi communication |
avami
Replies: 24
Views: 40209
|
Forum: General CCS C Discussion Posted: Tue Jun 15, 2010 11:07 pm Subject: Master/slave spi communication |
I don't know why you are doing this.
I want to read data from the SPI port when external interrupt is activated. I use this for connection the PIC and Rf module. When the Rf module receives da ... |
Topic: Master/slave spi communication |
avami
Replies: 24
Views: 40209
|
Forum: General CCS C Discussion Posted: Mon Jun 14, 2010 12:20 am Subject: Master/slave spi communication |
Thanks for your useful explanations again
Does the RF module have a Chip Select pin on it ?
Yes it has but I connected it to GND for ever, because I use just one device.
I have another ... |
Topic: Master/slave spi communication |
avami
Replies: 24
Views: 40209
|
Forum: General CCS C Discussion Posted: Sat Jun 12, 2010 4:47 pm Subject: Master/slave spi communication |
Thanks for your nice consideration to this matter. My circuit worked very well and the microcontroller sent the data on SPI successfully.
As you said me several points, I changed them. But I still ... |
Topic: Master/slave spi communication |
avami
Replies: 24
Views: 40209
|
Forum: General CCS C Discussion Posted: Thu Jun 10, 2010 6:27 am Subject: SPI |
Hi
I have a problem with SPI like this.
It doesn't work well, it sometimes send data and the others no!
Transmitter code:
#include <18f452.h>
#use delay(clock=12000000)
#FUSE ... |
|