Author |
Message |
Topic: Problem with UART RXD isr on 18F47K42 [SOLVED] |
Lagaffe
Replies: 12
Views: 30195
|
Forum: General CCS C Discussion Posted: Mon Feb 07, 2022 11:02 am Subject: Problem with UART RXD isr on 18F47K42 [SOLVED] |
I want to thank you all for your help ! "My" UART is now working, and I have already marked this post as "SOLVED".
|
Topic: Problem with UART RXD isr on 18F47K42 [SOLVED] |
Lagaffe
Replies: 12
Views: 30195
|
Forum: General CCS C Discussion Posted: Sat Feb 05, 2022 11:11 am Subject: Problem with UART RXD isr on 18F47K42 [SOLVED] |
Some of the latest chips have pretty much universal PPS. Any device,
to any pin. However the older PPS chips have restrictions on what can
be done. Usually particular devices can only go to particu ... |
Topic: Problem with UART RXD isr on 18F47K42 [SOLVED] |
Lagaffe
Replies: 12
Views: 30195
|
Forum: General CCS C Discussion Posted: Sat Feb 05, 2022 11:04 am Subject: Problem with UART RXD isr on 18F47K42 [SOLVED] |
Looking at the datasheet (tables 17.1 and 17.2) that combination of pins is not
available for PPS on the hardware UARTs. Either one or the other (U1 or U2)
but not both.
You've nailed my friend ... |
Topic: Problem with UART RXD isr on 18F47K42 [SOLVED] |
Lagaffe
Replies: 12
Views: 30195
|
Forum: General CCS C Discussion Posted: Sat Feb 05, 2022 10:56 am Subject: Problem with UART RXD isr on 18F47K42 [SOLVED] |
don't use them fancy PICs with PPS but..
..does THAT PIC allow PPS to configure the pins the way you want ?
It might be that certain pins cannot be used for certain peripherals ??
Buried 3-400 page ... |
Topic: Problem with UART RXD isr on 18F47K42 [SOLVED] |
Lagaffe
Replies: 12
Views: 30195
|
Forum: General CCS C Discussion Posted: Fri Feb 04, 2022 3:31 pm Subject: Problem with UART RXD isr on 18F47K42 [SOLVED] |
Since you are using a non-standard XMIT pin and this version is a PPS chip you can try adding Pin-Select lines for the TX/RX pins. Without that I expect it is
generating a software UART which will n ... |
Topic: Problem with UART RXD isr on 18F47K42 [SOLVED] |
Lagaffe
Replies: 12
Views: 30195
|
Forum: General CCS C Discussion Posted: Fri Feb 04, 2022 3:26 pm Subject: Problem with UART RXD isr on 18F47K42 [SOLVED] |
I would start by making sure you are specifying a hardware UART. Some versions of the compiler can interpret your #use rs232 as a software UART and then the ISR wouldn't work
#use rs232(UART ... |
Topic: Problem with UART RXD isr on 18F47K42 [SOLVED] |
Lagaffe
Replies: 12
Views: 30195
|
Forum: General CCS C Discussion Posted: Fri Feb 04, 2022 12:07 pm Subject: Problem with UART RXD isr on 18F47K42 [SOLVED] |
Hello everyone,
I'm using CCS PCH C Compiler, Version 5.080, with a PIC18F47K42, and I can't figure out how to make the UART1 RX interrupt to work.
The pic is connected to a GSM module, though ... |
Topic: Library for PIC16F1847 |
Lagaffe
Replies: 2
Views: 5316
|
Forum: General CCS C Discussion Posted: Sun Nov 06, 2011 12:21 pm Subject: Library for PIC16F1847 |
Thanks for your reply.
It is far more complex than what I've imagined, but yes, it makes perfect sense.
Regards |
Topic: Library for PIC16F1847 |
Lagaffe
Replies: 2
Views: 5316
|
Forum: General CCS C Discussion Posted: Sun Nov 06, 2011 11:55 am Subject: Library for PIC16F1847 |
Hi,
I'm using the compiler version 4.084, and by default it does not have the header file for the PIC16F1847. Although, and just as a curiosity, I've decided to install the current demo version in ... |
Topic: Problem with ADC and PIC16F688 |
Lagaffe
Replies: 4
Views: 7814
|
Forum: General CCS C Discussion Posted: Tue Aug 09, 2011 6:12 am Subject: Problem with ADC and PIC16F688 |
This must be one of those things that won't work, and I can't figure out where the problem is.
I'm using the PDIP version of the PIC.
In the weekend, I'll revise all the hardware, and if no maj ... |
Topic: Problem with ADC and PIC16F688 |
Lagaffe
Replies: 4
Views: 7814
|
Forum: General CCS C Discussion Posted: Sun Aug 07, 2011 1:35 pm Subject: Problem with ADC and PIC16F688 |
Hi,
Sorry, I forgot to mentioned that.
The board, I've made it myself, its very simple, just a PIC16F688 with ICSP connector, a MAX232 with caps, a 100nF cap next to the VCC and GND of the pic, ... |
Topic: Problem with ADC and PIC16F688 |
Lagaffe
Replies: 4
Views: 7814
|
Forum: General CCS C Discussion Posted: Sun Aug 07, 2011 1:09 pm Subject: Problem with ADC and PIC16F688 |
Hi to all,
I'm trying to do a very simple thing with a PIC16F688, but for some reason, I'm failing to succeed!
All I want to do (for the moment) is to read a value from AN4, AN5 and AN6, and sen ... |
Topic: PIC16F628 problem with comparator |
Lagaffe
Replies: 2
Views: 5789
|
Forum: General CCS C Discussion Posted: Wed Sep 15, 2010 6:22 am Subject: PIC16F628 problem with comparator |
Hi PCM programmer,
Thanks for all the help!
Today I've started by add some code to the #int_RDA routine, and for some reason I've started to experience some errors while programming the PIC16F62 ... |
Topic: PIC16F628 problem with comparator |
Lagaffe
Replies: 2
Views: 5789
|
Forum: General CCS C Discussion Posted: Tue Sep 14, 2010 2:46 pm Subject: PIC16F628 problem with comparator |
Hi all,
This is my first post on this forum, although I've been reading some threads for quite some time.
I've never used PIC comparators, until today ... but for some reason I can't get it to w ... |
|