Author |
Message |
Topic: Save a quartz and share clock between 2 PICs |
gip_mad
Replies: 2
Views: 4028
|
Forum: General CCS C Discussion Posted: Sun Feb 05, 2012 12:58 pm Subject: Save a quartz and share clock between 2 PICs |
I LOVE this forum.
Thank you! |
Topic: Save a quartz and share clock between 2 PICs |
gip_mad
Replies: 2
Views: 4028
|
Forum: General CCS C Discussion Posted: Sun Feb 05, 2012 12:44 pm Subject: Save a quartz and share clock between 2 PICs |
Hi, I'm using 2 PICs on the same board, and I want to save a quartz; Does anyone know how to share the clock source? My idea is to connect the oscillator as usual to one of the PICs and configure it t ... |
Topic: Simple LED blink problem (ignores conditional statement) |
gip_mad
Replies: 7
Views: 9452
|
Forum: General CCS C Discussion Posted: Thu Feb 02, 2012 4:22 am Subject: Simple LED blink problem (ignores conditional statement) |
You can try to remove the sensor and manually put the pin to Vdd or Vss and see if that works, so you will know if it's a hardware or a software problem. |
Topic: Simple LED blink problem (ignores conditional statement) |
gip_mad
Replies: 7
Views: 9452
|
Forum: General CCS C Discussion Posted: Thu Feb 02, 2012 3:24 am Subject: Simple LED blink problem (ignores conditional statement) |
Also, your code infinitely prints "hello." |
Topic: Reception on CAN |
gip_mad
Replies: 8
Views: 8001
|
Forum: General CCS C Discussion Posted: Wed Feb 01, 2012 2:00 pm Subject: Reception on CAN |
Mh, 20, 24 and 21 are small, are you using short IDs? You could try to delete the " CAN_USE_EXTENDED_ID" part and see what happens. |
Topic: Reception on CAN |
gip_mad
Replies: 8
Views: 8001
|
Forum: General CCS C Discussion Posted: Wed Feb 01, 2012 8:57 am Subject: Reception on CAN |
So the speed is the same... maybe it's a filter problem. do you use extended IDs? |
Topic: Reception on CAN |
gip_mad
Replies: 8
Views: 8001
|
Forum: General CCS C Discussion Posted: Wed Feb 01, 2012 8:27 am Subject: Reception on CAN |
I would also suggest you to try the opposite too, check if the PIC can send data on the CAN bus! |
Topic: Asynchronous UART send |
gip_mad
Replies: 11
Views: 16248
|
Forum: General CCS C Discussion Posted: Wed Feb 01, 2012 8:25 am Subject: Asynchronous UART send |
Well, I'm not "forced"... It's just that I like that PIC A LOT!!! For one main reason: I work on the automotive industry, and there's this AWESOME product that I found http://www.dealextreme ... |
Topic: Asynchronous UART send |
gip_mad
Replies: 11
Views: 16248
|
Forum: General CCS C Discussion Posted: Tue Jan 31, 2012 2:14 pm Subject: Asynchronous UART send |
Yeah, I know about dual UART port PICs, but I'm stuck with a board with a PIC18F2480, and to be honest I have 2 slow SW UARTs to read from and one fast UART to write to.. Plus CAN bus! Thanks ... |
Topic: Asynchronous UART send |
gip_mad
Replies: 11
Views: 16248
|
Forum: General CCS C Discussion Posted: Tue Jan 31, 2012 11:15 am Subject: Asynchronous UART send |
Wow, thank you very much! That was very fast and helpful.
I think I will still use the TXREG, because I have to receive a byte at 2400bps from a software UART and then forward it to the HW UART at 57 ... |
Topic: Asynchronous UART send |
gip_mad
Replies: 11
Views: 16248
|
Forum: General CCS C Discussion Posted: Tue Jan 31, 2012 9:43 am Subject: Asynchronous UART send |
Nevermind, found it on http://www.ccsinfo.com/forum/viewtopic.php?t=47139&highlight=txreg
...
#byte TXREG=0x19a
...
TXREG=tx[txcount--];
...
Thank you all! |
Topic: Asynchronous UART send |
gip_mad
Replies: 11
Views: 16248
|
Forum: General CCS C Discussion Posted: Tue Jan 31, 2012 9:27 am Subject: Asynchronous UART send |
Hello,
I am writing a program and I'm quite short of processing time; I need to send a byte on the serial port and then do something else, but from what I understand the putc() function waits for the ... |
Topic: write program memory PIC18F67K90 |
gip_mad
Replies: 7
Views: 10089
|
Forum: General CCS C Discussion Posted: Sun May 22, 2011 2:54 am Subject: write program memory PIC18F67K90 |
Nevermind, I got it working with this bootloader:
https://www.ccsinfo.com/forum/viewtopic.php?t=39179
Thank you anyway! |
Topic: write program memory PIC18F67K90 |
gip_mad
Replies: 7
Views: 10089
|
Forum: General CCS C Discussion Posted: Fri May 20, 2011 11:48 am Subject: write program memory PIC18F67K90 |
Thank you, now I see it... So I guess my problem is different. The PIC resets at that exact function (I tried placing a putc before and after). Do you have any hints? (do I have to open a new topic?) |
Topic: write program memory PIC18F67K90 |
gip_mad
Replies: 7
Views: 10089
|
Forum: General CCS C Discussion Posted: Fri May 20, 2011 11:28 am Subject: write program memory PIC18F67K90 |
Hi, I have the same exact problem here with a PIC 18F2480, but with compiler version 4.120... this is the lst output:
.................... write_program_memory(addr, data, c ... |
|