Author |
Message |
Topic: 2 interrupts problem |
neverlog
Replies: 1
Views: 2993
|
Forum: General CCS C Discussion Posted: Wed Aug 25, 2010 7:48 pm Subject: 2 interrupts problem |
I have found a method call RTOS.
Is RTOS suitable to run 2 critical task which required more than 2 interrupts as both high priority.
Or PIC itself is not meant for RTOS? Any advice will be appr ... |
Topic: 2 interrupts problem |
neverlog
Replies: 1
Views: 2993
|
Forum: General CCS C Discussion Posted: Wed Aug 25, 2010 3:01 am Subject: 2 interrupts problem |
Dear All,
I really wish you can help me for the below:
I am doing a RFID controller, I have 8 unit RFID controller(Slave) which linked with each other via BUS(I use ex_PBUSM.c for the communicat ... |
Topic: Understanding interrupt handler on PIC18 |
neverlog
Replies: 7
Views: 11202
|
Forum: General CCS C Discussion Posted: Tue Aug 24, 2010 9:33 pm Subject: Understanding interrupt handler on PIC18 |
Thank you, Ttelmah. |
Topic: Understanding interrupt handler on PIC18 |
neverlog
Replies: 7
Views: 11202
|
Forum: General CCS C Discussion Posted: Tue Aug 24, 2010 4:49 am Subject: Understanding interrupt handler on PIC18 |
Yes.
I see you are not using INT_EXT, so that caveat vanishes. :-)
You are listing INT_RDA twice. Presmably (hopefully) the second is INT_RDA2?.
Best Wishes
Will the caveat appear if I use INT ... |
Topic: Multiple PIC communication |
neverlog
Replies: 34
Views: 34910
|
Forum: General CCS C Discussion Posted: Thu Aug 19, 2010 5:15 am Subject: Multiple PIC communication |
I have corrected some bug.
ext_int_edge( 2, h_to_l );
enable_interrupts(int_ext2);
But still can't work.... Please help! |
Topic: Multiple PIC communication |
neverlog
Replies: 34
Views: 34910
|
Forum: General CCS C Discussion Posted: Thu Aug 19, 2010 3:08 am Subject: Multiple PIC communication |
Dear All,
I have study the whole code for ex_PBUSM.c
I have modify the program, but the master just won't receive the data send by slave. My compiler is 4.104. I have debugged for 2 days. I just ... |
Topic: Multiple PIC communication |
neverlog
Replies: 34
Views: 34910
|
Forum: General CCS C Discussion Posted: Mon Aug 16, 2010 8:57 am Subject: Multiple PIC communication |
Thank you Humberto for your kind sharing.
It helps me look into this matter from different perspective. Thanks! |
Topic: int_RDA buffer problem |
neverlog
Replies: 5
Views: 7269
|
Forum: General CCS C Discussion Posted: Mon Aug 16, 2010 1:33 am Subject: int_RDA buffer problem |
Just make sure your buffer size is multiple of 8, it will solve your problem. |
Topic: Multiple PIC communication |
neverlog
Replies: 34
Views: 34910
|
Forum: General CCS C Discussion Posted: Thu Aug 12, 2010 9:29 pm Subject: Multiple PIC communication |
Dear All,
in the ex_PBUSM.c example, in line 71.
#bit intf=11.1
May I know what is this line means?
Thank you very much on your help.
I really appreciate the help. Thanks!! |
Topic: Multiple PIC communication |
neverlog
Replies: 34
Views: 34910
|
Forum: General CCS C Discussion Posted: Thu Aug 12, 2010 4:30 am Subject: Multiple PIC communication |
Dear All,
enum pbus_states {PBUS_IDLE=0x80,PBUS_NEED_LEN=0x81,PBUS_NEED_TO=0x82,
PBUS_NEED_FROM=0x83,PBUS_NEED_CS=0x84};
Humberto
Does anyone know what is P ... |
Topic: RS485 half duplex communication |
neverlog
Replies: 17
Views: 26627
|
Forum: General CCS C Discussion Posted: Sun Aug 01, 2010 5:55 pm Subject: RS485 half duplex communication |
anyone? Please................... |
Topic: RS485 half duplex communication |
neverlog
Replies: 17
Views: 26627
|
Forum: General CCS C Discussion Posted: Sun Aug 01, 2010 8:51 am Subject: RS485 half duplex communication |
hi all,
Does anyone know what is the difference among the following:
1) PBUSM
2) EX_RS485
3) MODBUS
Basically I need to have 16 Slaves and be linked to a PC. The PC will send commands to sl ... |
Topic: Multiple PIC communication |
neverlog
Replies: 34
Views: 34910
|
Forum: General CCS C Discussion Posted: Thu Jul 29, 2010 8:06 am Subject: Multiple PIC communication |
oppss...... sorry |
Topic: Multiple PIC communication |
neverlog
Replies: 34
Views: 34910
|
Forum: General CCS C Discussion Posted: Wed Jul 28, 2010 9:08 am Subject: Multiple PIC communication |
I have tested the program PBUSM.c today.
It works fine but only can send 8 bytes data.
Can anyone confirm that?
Thanks! |
Topic: Multiple PIC communication |
neverlog
Replies: 34
Views: 34910
|
Forum: General CCS C Discussion Posted: Tue Jul 27, 2010 9:02 am Subject: Multiple PIC communication |
Sounds like bad grounds, either open or high resistance.
All USB converters have a CPU in them, can generate EMI (noise), so your circuits must have great grounds and shielding (even small value ca ... |
|