Author |
Message |
Topic: PIC18F27J13 Problems (big problems) |
Besugo
Replies: 3
Views: 5509
|
Forum: General CCS C Discussion Posted: Sun Apr 10, 2011 5:07 am Subject: PIC18F27J13 Problems (big problems) |
Thank you, all the issues are resolved with an ugrade to compiler version 4.114. |
Topic: PIC18F27J13 Problems (big problems) |
Besugo
Replies: 3
Views: 5509
|
Forum: General CCS C Discussion Posted: Thu Apr 07, 2011 4:37 am Subject: PIC18F27J13 Problems (big problems) |
Hi.
Big issues in PIC18F27J13. Can't Interrupt, map pins and so on.
As for the most basic stuff, the external interrupts, i've gone to bit level, and done this:
#include <18F27J13.h>
... |
Topic: PIC18f27J13 UART2 |
Besugo
Replies: 9
Views: 15538
|
Forum: General CCS C Discussion Posted: Mon Mar 28, 2011 7:00 am Subject: PIC18f27J13 UART2 |
What am I doing wrong??
#fuses HS,NODEBUG,NOXINST,NOPROTECT,NOWDT,NOCLOCKOUT,NOIOL1WAY,NOWPCFG,NOWPFP
#use delay(internal=8MHz)
#pin_select RX2=PIN_C5
#pin_select TX2=PIN_C4
#us ... |
Topic: PIC18f27J13 UART2 |
Besugo
Replies: 9
Views: 15538
|
Forum: General CCS C Discussion Posted: Sat Mar 26, 2011 2:48 pm Subject: PIC18f27J13 UART2 |
Thanks very much for your replies, i've done just that with no success, but now that I know you've had success, i'll look into it again. |
Topic: PIC18f27J13 UART2 |
Besugo
Replies: 9
Views: 15538
|
Forum: General CCS C Discussion Posted: Sat Mar 26, 2011 1:44 pm Subject: PIC18f27J13 UART2 |
Yeah, I've done that but i cant remap pins to the ports i want! |
Topic: PIC18f27J13 UART2 |
Besugo
Replies: 9
Views: 15538
|
Forum: General CCS C Discussion Posted: Sat Mar 26, 2011 1:54 am Subject: PIC18f27J13 UART2 |
Wouldn't that make it a software UART instead of an hardware UART? |
Topic: PIC18f27J13 UART2 |
Besugo
Replies: 9
Views: 15538
|
Forum: General CCS C Discussion Posted: Fri Mar 25, 2011 11:15 am Subject: PIC18f27J13 UART2 |
HI
This is working fine:
#use rs232(baud=9600, parity=N, bits=8, ERRORS, UART1, STREAM = COM1 )
but this i can't put to work:
#use rs232(baud=9600, xmit=PIN_C5,rcv=PIN_C4, par ... |
Topic: PIC18F27J13 External Interrupts |
Besugo
Replies: 25
Views: 26397
|
Forum: General CCS C Discussion Posted: Fri Mar 25, 2011 9:53 am Subject: PIC18F27J13 External Interrupts |
This forum it's not the most helpful out there... |
Topic: PIC18F27J13 External Interrupts |
Besugo
Replies: 25
Views: 26397
|
Forum: General CCS C Discussion Posted: Sun Mar 13, 2011 5:06 pm Subject: PIC18F27J13 External Interrupts |
the code is already in some previous posts.
Thanks |
Topic: PIC18F27J13 External Interrupts |
Besugo
Replies: 25
Views: 26397
|
Forum: General CCS C Discussion Posted: Sun Mar 13, 2011 4:34 pm Subject: PIC18F27J13 External Interrupts |
Thanks for all your help.
Tried that as well, doesn't work. |
Topic: PIC18F27J13 External Interrupts |
Besugo
Replies: 25
Views: 26397
|
Forum: General CCS C Discussion Posted: Sun Mar 13, 2011 3:28 pm Subject: PIC18F27J13 External Interrupts |
INT0 it's just connected to a wire, pic is powered by pickit3 3,5V, but tried also with a 5V external PSU. So voltage at INT0 it's 3,5V.
Not a Proteus project. |
Topic: PIC18F27J13 External Interrupts |
Besugo
Replies: 25
Views: 26397
|
Forum: General CCS C Discussion Posted: Sun Mar 13, 2011 12:56 pm Subject: PIC18F27J13 External Interrupts |
Yes, B0 blinks/toggles/outputs high when i tell it to. |
Topic: PIC18F27J13 External Interrupts |
Besugo
Replies: 25
Views: 26397
|
Forum: General CCS C Discussion Posted: Sun Mar 13, 2011 12:55 pm Subject: PIC18F27J13 External Interrupts |
I've tried your code, still no interrupt... pin_A0 just won't toggle (I've check the connection, it's ok). |
Topic: PIC18F27J13 External Interrupts |
Besugo
Replies: 25
Views: 26397
|
Forum: General CCS C Discussion Posted: Sun Mar 13, 2011 12:48 pm Subject: PIC18F27J13 External Interrupts |
I posted the code above, I enable the interrupts in main. Is that what you were talking about? |
Topic: PIC18F27J13 External Interrupts |
Besugo
Replies: 25
Views: 26397
|
Forum: General CCS C Discussion Posted: Sun Mar 13, 2011 10:48 am Subject: PIC18F27J13 External Interrupts |
The chip is running, it blinks.
:( |
|