Author |
Message |
Topic: MiWi Port? |
Barney
Replies: 4
Views: 6353
|
Forum: General CCS C Discussion Posted: Tue Feb 16, 2010 6:22 pm Subject: MiWi Port? |
Sounds like no. |
Topic: MiWi Port? |
Barney
Replies: 4
Views: 6353
|
Forum: General CCS C Discussion Posted: Fri Feb 12, 2010 2:55 pm Subject: MiWi Port? |
I have been out of PICs for a while, but thinking about getting back in because of the MRF24J40MA module for wireless communication. I searched the forum for MiWi posts didn't find much, and those we ... |
Topic: i2c_write side effect? |
Barney
Replies: 3
Views: 5170
|
Forum: General CCS C Discussion Posted: Sun Sep 24, 2006 3:49 pm Subject: Complier Bug? |
To close out this thread, I finally found the problem, likely a complier bug. In the listing file, there is a statement
BCF 00.0
in the section that is reading the character from the array. ... |
Topic: i2c_write side effect? |
Barney
Replies: 3
Views: 5170
|
Forum: General CCS C Discussion Posted: Thu Sep 21, 2006 11:37 pm Subject: i2c_write side effect? |
1. My bad on the array length. However even when it is set correctly, I still have the mysterious array re-write problem.
2. I ran a number of trials looking at the status registers and found th ... |
Topic: i2c_write side effect? |
Barney
Replies: 3
Views: 5170
|
Forum: General CCS C Discussion Posted: Thu Sep 21, 2006 8:24 am Subject: i2c_write side effect? |
I am developing I2C slave code and am experimenting with the CCS functions & PIC variables. I created a very simple slave transmitter program that sends a series of characters to a master. The I ... |
Topic: ADC, want more noise |
Barney
Replies: 7
Views: 11107
|
Forum: General CCS C Discussion Posted: Wed Jun 07, 2006 1:31 pm Subject: ADC, want more noise |
Looks like the cure is worse than the disease, so I guess I have to bite the bullet and add a MCP3208.
Thanks for the suggestions.
Barney |
Topic: ADC, want more noise |
Barney
Replies: 7
Views: 11107
|
Forum: General CCS C Discussion Posted: Tue Jun 06, 2006 1:30 pm Subject: ADC, want more noise |
I have an unusual request, anybody know of a good and simple way to add Gaussian noise to my ADC input?
I am using an 18F6627 and want to turn the 10 bit ADC into a 12 bit ADC using oversampling an ... |
Topic: MCP3208 driver vs SPI Library functions |
Barney
Replies: 25
Views: 66756
|
Forum: General CCS C Discussion Posted: Tue Apr 11, 2006 8:50 pm Subject: Gift Horse |
DR,
Nope, I got much more than I asked for. Muchos.
"You are looking a gift horse in the mouth when you receive a gift and then you question the value of that gift. Like a person who has been ... |
Topic: MCP3208 driver vs SPI Library functions |
Barney
Replies: 25
Views: 66756
|
Forum: General CCS C Discussion Posted: Tue Apr 11, 2006 12:20 pm Subject: MCP3208 driver vs SPI Library functions |
Thanks, a more generous offer than what I was looking for, but I won't look a gift horse in the mouth. I am using the 16F87 & PCM 3.212
I had tried using the built in SPI functions about a yea ... |
Topic: MCP3208 driver vs SPI Library functions |
Barney
Replies: 25
Views: 66756
|
Forum: General CCS C Discussion Posted: Mon Apr 10, 2006 2:05 pm Subject: MCP3208 driver vs SPI Library functions |
I have to revisit my old nemesis, SPI, and last time it whipped me. (I wimped out with I2C). No choice now as I need an 8 channel 12 bit ADC (MCP3208). This time around I found the MCP3208.c driver ... |
Topic: 115200 to 57600 conversion |
Barney
Replies: 14
Views: 16707
|
Forum: General CCS C Discussion Posted: Fri Sep 16, 2005 10:31 am Subject: 115200 to 57600 conversion |
The 18F6627 with the dual UARTS works like a champ. No more dropped characters. I set it up with a 2KB buffer and just for grins ran some tests to see how much buffer was required for various output ... |
Topic: RS232 I cant receive at 230400 bauds |
Barney
Replies: 9
Views: 11417
|
Forum: General CCS C Discussion Posted: Fri Sep 16, 2005 10:12 am Subject: RS232 I cant receive at 230400 bauds |
Depends on what you are doing with the data and how fast it comes in. During bursts of continual data there is very little time to do anything except store the data for later processing. If you need ... |
Topic: LM75A and i2c |
Barney
Replies: 3
Views: 8552
|
Forum: General CCS C Discussion Posted: Thu Sep 15, 2005 2:35 pm Subject: LM75A and i2c |
I found the CCS I2C routines very easy to use. I used a 16F88 to get temperature info from a AD7614 using the following routine:
addr = 0x90 | (snsr_addr << 1);//build 7 bit addr ... |
Topic: RS232 I cant receive at 230400 bauds |
Barney
Replies: 9
Views: 11417
|
Forum: General CCS C Discussion Posted: Thu Sep 15, 2005 2:09 pm Subject: RS232 I cant receive at 230400 bauds |
I tried to do serial I/O comms (interrupt & polling) at 115KB using a 16F88 part at 20Mhz and ran out of cpu cycles. Even with H4 the clock rate will be only 14.7 Mhz. The code will need to be ... |
Topic: CCS-MPLAB Plugin |
Barney
Replies: 10
Views: 13697
|
Forum: General CCS C Discussion Posted: Tue Sep 13, 2005 9:39 pm Subject: CCS-MPLAB Plugin |
Appreciate the suggestions. I researched this issue before buying PCH and found your post with the registry changes. Frankly it is a little more than I want to bite off. For now I will be doing 90% ... |
|