Author |
Message |
Topic: Multiply creates no code? |
RckRllRfg
Replies: 5
Views: 6112
|
Forum: General CCS C Discussion Posted: Mon Dec 12, 2011 1:36 pm Subject: A belated Thank you |
Everyone -
Thank you for the clarification. I wanted to acknowledge it.
Regards -
RckRllRfg |
Topic: Multiply creates no code? |
RckRllRfg
Replies: 5
Views: 6112
|
Forum: General CCS C Discussion Posted: Wed Dec 07, 2011 2:55 pm Subject: Multiply creates no code? |
Hello Everyone -
In the midst of my coding, I need to multiple 2 numbers together. I was curious to see how the CCS compiler would respond; however, when looking at the .lst file, I simply do not ... |
Topic: ADC issues on the PIC16f1947 |
RckRllRfg
Replies: 6
Views: 14750
|
Forum: General CCS C Discussion Posted: Fri Nov 11, 2011 10:57 pm Subject: Update... we're up and running |
After a few modifications to timing and the voltage reference, I am up and running.
Enclosed is my code below. It contains both the SPI and ADC. As mentioned in the prior post, I am using my SPI ... |
Topic: ADC issues on the PIC16f1947 |
RckRllRfg
Replies: 6
Views: 14750
|
Forum: General CCS C Discussion Posted: Fri Nov 11, 2011 4:42 pm Subject: This is a good start |
Hi PCM programmer -
This timing is a good place to start. I will add in the loop.
Regards -
Paul T. |
Topic: ADC issues on the PIC16f1947 |
RckRllRfg
Replies: 6
Views: 14750
|
Forum: General CCS C Discussion Posted: Fri Nov 11, 2011 3:37 pm Subject: ADC issues on the PIC16f1947 |
Hello All -
I need a bit of assistance with the ADC on the PIC16F1947. I have poured over the examples in the CCS manual, I have read through forum posts with examples and I have played with the CCS ... |
Topic: SPI #use spi() |
RckRllRfg
Replies: 17
Views: 47018
|
Forum: General CCS C Discussion Posted: Wed Nov 09, 2011 2:18 pm Subject: Revisiting the SPI |
Hi everyone -
I spent some time to revisit the SPI on the 16F1947. I was able to get things up and running using the setup_spi command:
#define SPI_DO PIN_C5
#define SPI_DI PIN_C ... |
Topic: SPI #use spi() |
RckRllRfg
Replies: 17
Views: 47018
|
Forum: General CCS C Discussion Posted: Wed Nov 09, 2011 8:05 am Subject: I'll will revisit the setup_spi |
RF_Developer et. al. -
Thank you for the further insight between the #USE SPI and the setup_spi. As a side note, the CCS manual needs to make some clarifications on this subject... but this is why ... |
Topic: SPI #use spi() |
RckRllRfg
Replies: 17
Views: 47018
|
Forum: General CCS C Discussion Posted: Tue Nov 08, 2011 12:19 pm Subject: Got the #SPI working, if your interested... |
Hi Everyone -
I've spent a fair amount of time on the SPI for the PIC16F1947. Granted, I have the luxury of the SPI being a one way communication, from the PIC to the slave component.
If is VER ... |
Topic: Understanding the SPI in context with CCS coding |
RckRllRfg
Replies: 5
Views: 13103
|
Forum: General CCS C Discussion Posted: Sat Nov 05, 2011 12:04 am Subject: Much Appreciated. |
RF_Developer -
This is much appreciated. I was able to get the code example provided by CCS up and running for both channels of the mcp4822. So far, so good. However, we need to update this info ... |
Topic: Understanding the SPI in context with CCS coding |
RckRllRfg
Replies: 5
Views: 13103
|
Forum: General CCS C Discussion Posted: Thu Nov 03, 2011 10:57 am Subject: Thank you for the details |
Thank you very much for the responses. These are details that puts it all into perspective.
As for the method, I was fortunate to find code in the CCS driver directory called mcp4921. It is the e ... |
Topic: Understanding the SPI in context with CCS coding |
RckRllRfg
Replies: 5
Views: 13103
|
Forum: General CCS C Discussion Posted: Wed Nov 02, 2011 11:09 am Subject: Understanding the SPI in context with CCS coding |
Hi everyone -
On my project, I am using a SPI bus to communicate between a PIC16F1947 and a Microchip MCP4822. I am using the 4.124 compiler.
As I am looking at various code examples, I see sev ... |
Topic: How to write data into a sfr register???? |
RckRllRfg
Replies: 10
Views: 25831
|
Forum: General CCS C Discussion Posted: Tue Oct 25, 2011 12:10 pm Subject: Thanks - Great post regarding access to the FSRs |
A quick thanks for this post. These are the gems that make the forums so useful.
RckRllRfg |
Topic: Factory settings built into the code |
RckRllRfg
Replies: 4
Views: 7799
|
Forum: General CCS C Discussion Posted: Wed Oct 05, 2011 5:11 pm Subject: And to you, PCM programmer, my thanks |
PCM Programmer,
Thank you for the link. At this point in time I have only a handful of EEPROM variables that I need to store, so I will probably use the method in the links provided; however, ther ... |
Topic: Factory settings built into the code |
RckRllRfg
Replies: 4
Views: 7799
|
Forum: General CCS C Discussion Posted: Wed Oct 05, 2011 5:05 pm Subject: Interesting thought |
asmboy -
That's an interesting idea. I am familiar with performing "surgery" on hex files from my last project. That was due to the need to combine the bootloader code and the program c ... |
Topic: Factory settings built into the code |
RckRllRfg
Replies: 4
Views: 7799
|
Forum: General CCS C Discussion Posted: Wed Oct 05, 2011 12:35 pm Subject: Factory settings built into the code |
Hi Everyone -
My next project does not give me the luxury of DIP switches to control various settings. Therefore, I will be using the EEPROM to capture this information since it is non-volatile an ... |
|