Author |
Message |
Topic: Timer 0 problem, please advice [solved] |
maria100
Replies: 0
Views: 3409
|
Forum: General CCS C Discussion Posted: Sat Apr 28, 2012 3:28 pm Subject: Timer 0 problem, please advice [solved] |
Hello, I'm running on a 18f14k50 a test program that gets the value from Timer0 and if the value is larger or equal to 1, print a test message via UART.
main()
{
setup_timer_0(RT ... |
Topic: Software UART on ICSP (pgd, pgc) pins |
maria100
Replies: 6
Views: 11911
|
Forum: General CCS C Discussion Posted: Tue Apr 24, 2012 7:57 am Subject: Software UART on ICSP (pgd, pgc) pins |
I was just finishing reading now a other post about this and find that pgd, pgc can be only inputs , heh, even so , thank you for clearing things up once again! |
Topic: USART with PLL turned on baudrate problem |
maria100
Replies: 15
Views: 25435
|
Forum: General CCS C Discussion Posted: Tue Apr 24, 2012 6:32 am Subject: USART with PLL turned on baudrate problem |
Great , Thanks you all for your inputs , hope someday this will be useful to others too! |
Topic: USART with PLL turned on baudrate problem |
maria100
Replies: 15
Views: 25435
|
Forum: General CCS C Discussion Posted: Tue Apr 24, 2012 5:20 am Subject: USART with PLL turned on baudrate problem |
SOLVED!!!!! Setting the fuses like you did Ttelmah and not setting the setup_oscillator line did the trick..dont know exactly each one ( fuses or setup_oscillator ) was to blame but now is working! Is ... |
Topic: USART with PLL turned on baudrate problem |
maria100
Replies: 15
Views: 25435
|
Forum: General CCS C Discussion Posted: Tue Apr 24, 2012 3:57 am Subject: USART with PLL turned on baudrate problem |
The Compiler is 4.124 , That what is says in "Compiler Version" . I asked for the .LST to check if my compiler does the same thing like yours when it comes to setting up the Internal Oscilat ... |
Topic: USART with PLL turned on baudrate problem |
maria100
Replies: 15
Views: 25435
|
Forum: General CCS C Discussion Posted: Tue Apr 24, 2012 3:45 am Subject: USART with PLL turned on baudrate problem |
Thank Ttelmah for your time , unfortunately i have a not so old compiler ( Version 4.124) . You have a newer one? Other chip ( 18f25k22 ) runs just fine ..so 14k50 is the problem somehow. Can you plea ... |
Topic: USART with PLL turned on baudrate problem |
maria100
Replies: 15
Views: 25435
|
Forum: General CCS C Discussion Posted: Mon Apr 23, 2012 3:07 pm Subject: USART with PLL turned on baudrate problem |
I have "ported" the code to a 18f25k22 for testing and is working fine with the PLL ON.....i just wish PICs were a bit more standard..still..have to make the 14k50 running..:| |
Topic: USART with PLL turned on baudrate problem |
maria100
Replies: 15
Views: 25435
|
Forum: General CCS C Discussion Posted: Mon Apr 23, 2012 2:11 pm Subject: USART with PLL turned on baudrate problem |
Thanks Ttelmah ..i changed it but is working the same....:( |
Topic: USART with PLL turned on baudrate problem |
maria100
Replies: 15
Views: 25435
|
Forum: General CCS C Discussion Posted: Mon Apr 23, 2012 1:14 pm Subject: USART with PLL turned on baudrate problem |
the program is here in the thread at the begining ( the fuses that i set also).
The program runs fine with 8, 16 Mhz ( NO PLL) with all baud rates. |
Topic: USART with PLL turned on baudrate problem |
maria100
Replies: 15
Views: 25435
|
Forum: General CCS C Discussion Posted: Mon Apr 23, 2012 1:00 pm Subject: USART with PLL turned on baudrate problem |
I tried even a hardware uart now, and is working the same...did i configure the PLL wrong? ... |
Topic: USART with PLL turned on baudrate problem |
maria100
Replies: 15
Views: 25435
|
Forum: General CCS C Discussion Posted: Mon Apr 23, 2012 7:50 am Subject: USART with PLL turned on baudrate problem |
Hello, I`m running a 18f14k50 With the following test program:
#include <18f14k50.h>
#device adc=16
#FUSES BROWNOUT_NOSL //Brownout enabled during operation, disabled during SLEE ... |
Topic: Software UART on ICSP (pgd, pgc) pins |
maria100
Replies: 6
Views: 11911
|
Forum: General CCS C Discussion Posted: Sun Apr 22, 2012 10:00 am Subject: Software UART on ICSP (pgd, pgc) pins |
I did not set ICD, however I have a permanent MCLR pullup on my board. This could be the cause ? |
Topic: Software UART on ICSP (pgd, pgc) pins |
maria100
Replies: 6
Views: 11911
|
Forum: General CCS C Discussion Posted: Sun Apr 22, 2012 9:40 am Subject: Software UART on ICSP (pgd, pgc) pins |
Hello, I have tried this as in title, but it does not work. Is this a hardware problem? My PIC is 18F14k50. Thank you. |
Topic: 24LC1025 MULTI-BYTE WRITE driver |
maria100
Replies: 4
Views: 8820
|
Forum: General CCS C Discussion Posted: Mon Apr 16, 2012 2:58 pm Subject: 24LC1025 MULTI-BYTE WRITE driver |
Thanks again jeremiah , you advices solved my problem, is working as i want now! ^**^ |
Topic: 24LC1025 MULTI-BYTE WRITE driver |
maria100
Replies: 4
Views: 8820
|
Forum: General CCS C Discussion Posted: Sat Apr 14, 2012 9:13 am Subject: 24LC1025 MULTI-BYTE WRITE driver |
hmm..yea..sorry about that i did not realise that...will keep this in mind in the future..as for this one..if i had already posted it..i will go forward with it, thank you. |
|