Author |
Message |
Topic: PIC18F4550 and two UART's |
defoxe
Replies: 3
Views: 11539
|
Forum: General CCS C Discussion Posted: Sun May 14, 2017 3:51 am Subject: PIC18F4550 and two UART's |
With every HW UART you must always have 'errors' in the use rs232(...options...)
Yes! It was this.
With "ERRORS" and manual set "RECEIVE_BUFFER" everything is working. |
Topic: PIC18F4550 and two UART's |
defoxe
Replies: 3
Views: 11539
|
Forum: General CCS C Discussion Posted: Fri May 12, 2017 3:44 pm Subject: PIC18F4550 and two UART's |
First I was trying to use my PIC18F4550 with UART and USB cdc, it's working but sometimes
UART rx is hanging up. Its working nice after PIC reset.
A6 GSM --(115200bps UART)-- PIC --(115200bps USB ... |
Topic: Fusebit of PIC18F4550 with USB |
defoxe
Replies: 4
Views: 11203
|
Forum: General CCS C Discussion Posted: Fri May 12, 2017 2:54 pm Subject: Fusebit of PIC18F4550 with USB |
Thank you for answers, but I must have spend a little bit more time on this. |
Topic: Fusebit of PIC18F4550 with USB |
defoxe
Replies: 4
Views: 11203
|
Forum: General CCS C Discussion Posted: Tue May 09, 2017 3:01 pm Subject: Fusebit of PIC18F4550 with USB |
Hello,
I am not sure why working configuration of fusebit for PIC18F4550 with USB and quartz 20MHz is:
#fuses HSPLL, NOWDT, NOPROTECT, NOLVP, NODEBUG, USBDIV, PLL5, CPUDIV1, VREGEN
and clock:
... |
Topic: PIC18F25K80 UART and ECAN problems [SOLVED] |
defoxe
Replies: 6
Views: 12028
|
Forum: General CCS C Discussion Posted: Tue Feb 03, 2015 1:15 pm Subject: PIC18F25K80 UART and ECAN problems [SOLVED] |
What PIC pins are you using for the CAN bus ? The 18F25K80 can have the CAN bus on PortB or on PortC, depending upon the #fuses, which
are CANB and CANC. If no fuse is specified, it defaults to Po ... |
Topic: PIC18F25K80 UART and ECAN problems [SOLVED] |
defoxe
Replies: 6
Views: 12028
|
Forum: General CCS C Discussion Posted: Sat Jan 31, 2015 11:25 am Subject: PIC18F25K80 UART and ECAN problems [SOLVED] |
Post a small test program only for the UART and I'll test it with your version. The program should be complete, with #include, #fuses, #use delay, etc.
Today I am using my laptop and USB-RS232 conv ... |
Topic: PIC18F25K80 UART and ECAN problems [SOLVED] |
defoxe
Replies: 6
Views: 12028
|
Forum: General CCS C Discussion Posted: Fri Jan 30, 2015 11:20 am Subject: PIC18F25K80 UART and ECAN problems [SOLVED] |
The first thing you should do is get the UART working reliably.
Remove all the CAN code. Just test the UART.
I was trying with simply code for UART. Two different uC and speed 300, 600, 9600.
... |
Topic: PIC18F25K80 UART and ECAN problems [SOLVED] |
defoxe
Replies: 6
Views: 12028
|
Forum: General CCS C Discussion Posted: Fri Jan 30, 2015 9:43 am Subject: PIC18F25K80 UART and ECAN problems [SOLVED] |
Hello,
I have two boards with PIC18F25K80 connected via ECAN (MCP2551 and resistors).
I am using INTRC_IO.
Here is a code for RX board (#define BOARDRX 1 uncommented).
CAN isnt work, also from UAR ... |
|