Author |
Message |
Topic: #use rs232 and its effect on parity |
MrColin
Replies: 4
Views: 10594
|
Forum: General CCS C Discussion Posted: Mon Dec 15, 2014 4:34 am Subject: #use rs232 and its effect on parity |
Wow. Thanks for that incredibly full answer. Setting that bit-flag worked straight away! Parity is now restored.
Also, it was the PIC16F690. Dyslexic fingers said it was a 960.
Thanks again! |
Topic: #use rs232 and its effect on parity |
MrColin
Replies: 4
Views: 10594
|
Forum: General CCS C Discussion Posted: Fri Dec 12, 2014 10:20 am Subject: #use rs232 and its effect on parity |
Compiler: v4.121
PIC: 16F1960
Hi. My code is doing something a little unexpected and I'm hoping you can clear up why.
My device has to be able to support RS232 with and without parity. At the s ... |
Topic: Questions regarding Autotools and MPLabX |
MrColin
Replies: 0
Views: 4307
|
Forum: General CCS C Discussion Posted: Thu Nov 20, 2014 10:25 am Subject: Questions regarding Autotools and MPLabX |
Hi guys. I'm hoping to use you as a sounding board if that's ok...
I've been working on a rather large code base which spans several products. All compiled with the CCS compiler.
I'm looking at ... |
Topic: Using SPI and Asynchronous UART simultaneously |
MrColin
Replies: 6
Views: 9289
|
Forum: General CCS C Discussion Posted: Tue Oct 07, 2014 10:21 am Subject: Using SPI and Asynchronous UART simultaneously |
Amazing. Thanks for checking that out temtronic (jay). It's really appreciated! |
Topic: Using SPI and Asynchronous UART simultaneously |
MrColin
Replies: 6
Views: 9289
|
Forum: General CCS C Discussion Posted: Tue Oct 07, 2014 9:57 am Subject: Using SPI and Asynchronous UART simultaneously |
Sadly I've been asked to write code for an existing product. The old version of this product used i2c and rs232 to do the same job. This has been written in assembler and works fine, however I've been ... |
Topic: Using SPI and Asynchronous UART simultaneously |
MrColin
Replies: 6
Views: 9289
|
Forum: General CCS C Discussion Posted: Tue Oct 07, 2014 9:29 am Subject: Using SPI and Asynchronous UART simultaneously |
Perhaps simultaneously gave the wrong impression. The device I'm working on is a serial buffer which is communicated via SPI. The hope is RS232 data is buffered coming in, and sent back over SPI; and ... |
Topic: Using SPI and Asynchronous UART simultaneously |
MrColin
Replies: 6
Views: 9289
|
Forum: General CCS C Discussion Posted: Tue Oct 07, 2014 9:06 am Subject: Using SPI and Asynchronous UART simultaneously |
Good afternoon. Quick question....
On a PIC such as the PIC16F690 which contains only the 1 EUSART, is it possible to write code using CCS to operate the uC both as an interrupt driven SPI Slave an ... |
Topic: Unexpected SPI behaviour |
MrColin
Replies: 4
Views: 9142
|
Forum: General CCS C Discussion Posted: Thu Sep 18, 2014 7:19 am Subject: Unexpected SPI behaviour |
Running the SPI pretty slow, 125kbps.
And yeah, a newer PIC with DMA would be amazing, but only the PIC16's we use have any heritage in space so it's what we're stuck using!
I'm going to see how ... |
Topic: Unexpected SPI behaviour |
MrColin
Replies: 4
Views: 9142
|
Forum: General CCS C Discussion Posted: Thu Sep 18, 2014 5:39 am Subject: Unexpected SPI behaviour |
After reading through the documentation again I can see that my hunch about buffering is probably the problem. So. Is there a better way for me to be handling my SPI transactions, other than enforcing ... |
Topic: Unexpected SPI behaviour |
MrColin
Replies: 4
Views: 9142
|
Forum: General CCS C Discussion Posted: Thu Sep 18, 2014 5:23 am Subject: Unexpected SPI behaviour |
Hi. I'm having an awkward problem with SPI on a PIC16F1947. Explaining is going to be tricky so please bear with me. I'm using v4.121 of the CCS compiler.
The code below is designed to do the follo ... |
Topic: INT_RDA Not firing on reception of serial data on PIC16F690 |
MrColin
Replies: 4
Views: 10505
|
Forum: General CCS C Discussion Posted: Fri Sep 05, 2014 8:41 am Subject: INT_RDA Not firing on reception of serial data on PIC16F690 |
Winner Winner, Chicken Dinner!!!
That's spot on. Thank you very much John. I can now enjoy my weekend without worrying about PIC's! |
Topic: INT_RDA Not firing on reception of serial data on PIC16F690 |
MrColin
Replies: 4
Views: 10505
|
Forum: General CCS C Discussion Posted: Fri Sep 05, 2014 8:05 am Subject: INT_RDA Not firing on reception of serial data on PIC16F690 |
Hi John. Thanks for your quick reply. I've just been through your suggestions with no success. Here are the results...
1) Checked the clock. It's happily ticking over at the expected rate.
1.5) ... |
Topic: INT_RDA Not firing on reception of serial data on PIC16F690 |
MrColin
Replies: 4
Views: 10505
|
Forum: General CCS C Discussion Posted: Fri Sep 05, 2014 7:39 am Subject: INT_RDA Not firing on reception of serial data on PIC16F690 |
Hi. Problem as in title.
Bellow is the code I'm using to test out the uart on the PIC16F690. It's designed to send back via the UART the number of times the interrupt INT_RDA has fired and the last ... |
|