Author |
Message |
Topic: beginner for Can bus using MCP2551 |
HGHK
Replies: 2
Views: 7440
|
Forum: General CCS C Discussion Posted: Fri Apr 12, 2013 12:34 pm Subject: beginner for Can bus using MCP2551 |
I have school project that I must connect PICs by CAN bus. I have not so much source about can bus. Please help me.
As I search I must use MCP2551 to connect to CAN L&H line. So I have PIC16F877A ... |
Topic: Profibus Master and Slave component with PIC under RS485 |
HGHK
Replies: 1
Views: 5698
|
Forum: General CCS C Discussion Posted: Tue Apr 09, 2013 1:31 pm Subject: Profibus Master and Slave component with PIC under RS485 |
I need create Profibus Master and slave component with PIC under RS485. Who knows that:
1- is there a driver for this communication in CCS c ?
2- how i can make this protocol ?
3- what's the requ ... |
Topic: I have problem to use Interrupt RB pin4-7c in PIC16LF876 |
HGHK
Replies: 5
Views: 9859
|
Forum: General CCS C Discussion Posted: Tue Jan 04, 2011 4:19 am Subject: I have problem to use Interrupt RB pin4-7c in PIC16LF876 |
I looked in your program for the port_b_pullups() line, which you say
you have in there. I didn't find it.
I placed corrections that you offered in my program. Thanks for your attention. but in ccs ... |
Topic: I have problem to use Interrupt RB pin4-7c in PIC16LF876 |
HGHK
Replies: 5
Views: 9859
|
Forum: General CCS C Discussion Posted: Tue Dec 28, 2010 7:08 am Subject: I have problem to use Interrupt RB pin4-7c in PIC16LF876 |
Dear PCM programmer
thanks
I test it, but noises make interrupt in another pin from B4-B7. I must pull-up Port B but I made my PCB and I don't know why when I use
port_b_pullups(1);
in ... |
Topic: I have problem to use Interrupt RB pin4-7c in PIC16LF876 |
HGHK
Replies: 5
Views: 9859
|
Forum: General CCS C Discussion Posted: Sat Dec 25, 2010 3:32 am Subject: I have problem to use Interrupt RB pin4-7c in PIC16LF876 |
I need use PORT B Change Interrupt (pins RB7:RB4), moreover External Interrupt (pin B0) in a PIC16LF876 to active my device from sleep.
This interrupt doesn't work carefully and when I make a pulse i ... |
Topic: Lines in Flex LCD |
HGHK
Replies: 3
Views: 7042
|
Forum: General CCS C Discussion Posted: Mon Nov 15, 2010 10:20 am Subject: Lines in Flex LCD |
sorry! My mean from "Line" is the PIC Pins that transfer data to LCD.
Thank for your attention |
Topic: Lines in Flex LCD |
HGHK
Replies: 3
Views: 7042
|
Forum: General CCS C Discussion Posted: Wed Nov 10, 2010 6:27 am Subject: Lines in Flex LCD |
How we can set Lines in this driver ? |
Topic: Store timer data in eeprom (hour,minutes) |
HGHK
Replies: 10
Views: 15578
|
Forum: General CCS C Discussion Posted: Sat Nov 06, 2010 4:44 am Subject: Use addressmod for EEPROM writing |
In ccs help you can find text like it.
void DataEE_Read(int32 addr, int8 * ram, int bytes) {
int i;
for(i=0;i<=bytes;i++,ram++,addr++)
*ram=read_eeprom( ... |
Topic: I need a driver For ICM7211AM |
HGHK
Replies: 0
Views: 2810
|
Forum: General CCS C Discussion Posted: Sat Nov 06, 2010 1:45 am Subject: I need a driver For ICM7211AM |
I use pic16lf876A and need a driver to use ICM7211AM. Thank you if you give me it. |
Topic: problem with sleep and wake up PIC16F876A |
HGHK
Replies: 7
Views: 8090
|
Forum: General CCS C Discussion Posted: Sat Oct 16, 2010 11:31 pm Subject: I need help in my code |
Dear PCM programmer,
I need your help in my program Not to ICD2 and i say it for Know and my uC programed successfully and run with out debugging.
for example is this method true?:
int8 SSPADD; ... |
Topic: problem with sleep and wake up PIC16F876A |
HGHK
Replies: 7
Views: 8090
|
Forum: General CCS C Discussion Posted: Sat Oct 16, 2010 4:25 pm Subject: correction aplied but not worked |
I correct my program as :
test1.c:#include "C:\Documents and Settings\HGhK\Desktop\CRP\temp project\test1.h"
#include "C:\Documents and Settings\HGhK\Desktop\CRP\temp project\ ... |
Topic: problem with sleep and wake up PIC16F876A |
HGHK
Replies: 7
Views: 8090
|
Forum: General CCS C Discussion Posted: Sat Oct 16, 2010 5:06 am Subject: I2C in Lower speed than standard |
Dear PCM programmer, thanks for your attention.
Now, do you know, can I use I2C in 8192Hz speed? and if it possible I must set SSPADD as 00H. How can I do it? How can write to this register?
... |
Topic: problem with sleep and wake up PIC16F876A |
HGHK
Replies: 7
Views: 8090
|
Forum: General CCS C Discussion Posted: Wed Oct 13, 2010 3:38 pm Subject: problem with sleep and wake up PIC16F876A |
I use PIC16F876A and PCF8563 for RTC. PCF8563 make an external interrupt for alarm. For testing I connect a LED to RA3 by resistor to indicate state of test program. It must be turn on 3 time to sleep ... |
Topic: I have problem to disable Watchdog Timer in sleeping |
HGHK
Replies: 6
Views: 7674
|
Forum: General CCS C Discussion Posted: Wed Oct 13, 2010 1:09 am Subject: Thanks |
Thanks for your guidance thanks a lot |
Topic: I have problem to disable Watchdog Timer in sleeping |
HGHK
Replies: 6
Views: 7674
|
Forum: General CCS C Discussion Posted: Sun Oct 10, 2010 12:37 am Subject: Worry about WDT |
I worry If I turn off WDT, then I2C, usart, sleep and delay are work or not? and tell me WDT take effect in what components in PIC16f876a? (for example if WDT were on effect in sleep and wake up occur ... |
|