CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 564 matches
CCS Forum Index
Author Message
  Topic: OT Hardware Question, Isolating a Shared UART Line
jecottrell

Replies: 3
Views: 4938

PostForum: General CCS C Discussion   Posted: Tue Nov 13, 2012 8:10 pm   Subject: OT Hardware Question, Isolating a Shared UART Line
Perfect!

SN74 Single FET Bus Switch....

Thanks for the help.
  Topic: OT Hardware Question, Isolating a Shared UART Line
jecottrell

Replies: 3
Views: 4938

PostForum: General CCS C Discussion   Posted: Tue Nov 13, 2012 5:30 pm   Subject: OT Hardware Question, Isolating a Shared UART Line
I've got a weird situation where I need to use a hardware UART and it is connected to an FTDI USB and a Bluetooth radio. In one situation I need to disable the TX line from the PIC to the Bluetooth ra ...
  Topic: OT - Transition to dsPIC from 18F6627 (dsPIC Experts?)
jecottrell

Replies: 4
Views: 6358

PostForum: General CCS C Discussion   Posted: Wed Jul 25, 2012 8:38 am   Subject: OT - Transition to dsPIC from 18F6627 (dsPIC Experts?)
Excellent. All really nice things to know. I appreciate the time that you invested to share.

Looks like the hardware swap should be fairly simple. I should be able to just rip up the tracks at the ...
  Topic: OT - Transition to dsPIC from 18F6627 (dsPIC Experts?)
jecottrell

Replies: 4
Views: 6358

PostForum: General CCS C Discussion   Posted: Tue Jul 24, 2012 2:35 pm   Subject: OT - Transition to dsPIC from 18F6627 (dsPIC Experts?)
Thanks.

I guess I'll just have to dive in.
  Topic: OT - Transition to dsPIC from 18F6627 (dsPIC Experts?)
jecottrell

Replies: 4
Views: 6358

PostForum: General CCS C Discussion   Posted: Mon Jul 23, 2012 6:15 pm   Subject: OT - Transition to dsPIC from 18F6627 (dsPIC Experts?)
I have a prototype that I based upon the 18F6627 because I had experience with 18F parts and the compiler. The project collects analog samples from a microphone and performs some FFT math (using the G ...
  Topic: RS485 Implementing a Daisy-chain
jecottrell

Replies: 8
Views: 12137

PostForum: General CCS C Discussion   Posted: Fri Feb 24, 2012 9:34 am   Subject: RS485 Implementing a Daisy-chain
I'm diving into RS485 for the first time and I've read many of the posts here on CCS and spent time Googling as well. I've come up with some questions that I haven't been able to answer and thought th ...
  Topic: Soft UART with INT_EXT2 Nuts and Bolts
jecottrell

Replies: 15
Views: 21541

PostForum: General CCS C Discussion   Posted: Tue Jan 03, 2012 6:41 pm   Subject: Soft UART with INT_EXT2 Nuts and Bolts
Worked like a champ. Thanks to everyone for the ideas and the help.

Thanks PCM for teaching me to fish.
  Topic: Soft UART with INT_EXT2 Nuts and Bolts
jecottrell

Replies: 15
Views: 21541

PostForum: General CCS C Discussion   Posted: Tue Jan 03, 2012 8:33 am   Subject: Soft UART with INT_EXT2 Nuts and Bolts
Yes, it's TTL (PIC directly to PIC).

It idles high. I'm detecting the leading edge... but with the wrong interrupt setting as PCM has alluded to?

Looks like I should use this syntax:

ext_int_ ...
  Topic: Soft UART with INT_EXT2 Nuts and Bolts
jecottrell

Replies: 15
Views: 21541

PostForum: General CCS C Discussion   Posted: Tue Jan 03, 2012 6:34 am   Subject: Soft UART with INT_EXT2 Nuts and Bolts
I was assuming there delay to get into the interrupt handler, but now that you mention it, it shouldn't be that long, right? Especially when I have slowed the baud to 1200 to see if I can find my prob ...
  Topic: Soft UART with INT_EXT2 Nuts and Bolts
jecottrell

Replies: 15
Views: 21541

PostForum: General CCS C Discussion   Posted: Mon Jan 02, 2012 9:27 pm   Subject: Soft UART with INT_EXT2 Nuts and Bolts

Have you tried the hardware UART of the 2nd unit ? If so with what results? If the hardware UART works 100%, gotta be a 'software' issue..

Just tried it. The hardware UART works fine.



I'll ...
  Topic: Soft UART with INT_EXT2 Nuts and Bolts
jecottrell

Replies: 15
Views: 21541

PostForum: General CCS C Discussion   Posted: Mon Jan 02, 2012 6:01 pm   Subject: Soft UART with INT_EXT2 Nuts and Bolts
I see that you are using EXT2 for soft serial interrupt

rcv=PINB6 is not EXT2

You should be using rcv=PINB2



Jerry,

Sorry, that was one of the things I had meant to add to one of my edi ...
  Topic: Soft UART with INT_EXT2 Nuts and Bolts
jecottrell

Replies: 15
Views: 21541

PostForum: General CCS C Discussion   Posted: Mon Jan 02, 2012 8:06 am   Subject: Soft UART with INT_EXT2 Nuts and Bolts
What's your PIC oscillator frequency and your compiler verison ?

10mHz
3.249


If you were sampling 'late' in the 'AA' pattern, you'd receive the MSb set in the received byte, and get D5.

Do ...
  Topic: Soft UART with INT_EXT2 Nuts and Bolts
jecottrell

Replies: 15
Views: 21541

PostForum: General CCS C Discussion   Posted: Sun Jan 01, 2012 10:39 pm   Subject: Soft UART with INT_EXT2 Nuts and Bolts
I've used soft UARTs before and never run into this problem. Now that I'm seeing it, I'm wondering two things: how soft UARTs work and possible reasons mine isn't.

I've got 2 18F2620s tied together ...
  Topic: EEPROM Address
jecottrell

Replies: 8
Views: 8593

PostForum: General CCS C Discussion   Posted: Sat Nov 19, 2011 5:35 pm   Subject: EEPROM Address
At least in the v3 compilers the default was to write int16.


I just checked the manual. Yup, default is words. Thanks for that info, that would have eaten a good chunk of my life trying to find.
  Topic: EEPROM Address
jecottrell

Replies: 8
Views: 8593

PostForum: General CCS C Discussion   Posted: Fri Nov 18, 2011 6:17 pm   Subject: EEPROM Address
Thanks for the info. I had seen the getenv in another post and had assumed it was v4 unique. I'll look and see if it is v3 friendly and use it.

I just spent all morning trying to find an addressing ...
 
Page 1 of 38 Goto page 1, 2, 3 ... 36, 37, 38  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group