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 73 matches
CCS Forum Index
Author Message
  Topic: [SOLVED] Trouble interfacing PIC16F1509 with AD5263
picj1984

Replies: 13
Views: 33668

PostForum: General CCS C Discussion   Posted: Tue Jun 22, 2021 3:02 pm   Subject: [SOLVED] Trouble interfacing PIC16F1509 with AD5263
Good. At least you got there once PCM pointed out how to get 10bit operation.
It sounded like a hardware problem. Lesson is to never 'assume' pins will
pull up/down....

I've got one more question ...
  Topic: [SOLVED] Trouble interfacing PIC16F1509 with AD5263
picj1984

Replies: 13
Views: 33668

PostForum: General CCS C Discussion   Posted: Thu May 27, 2021 1:00 pm   Subject: [SOLVED] Trouble interfacing PIC16F1509 with AD5263
Good. At least you got there once PCM pointed out how to get 10bit operation.
It sounded like a hardware problem. Lesson is to never 'assume' pins will
pull up/down....

yes, and a very good lesso ...
  Topic: [SOLVED] Trouble interfacing PIC16F1509 with AD5263
picj1984

Replies: 13
Views: 33668

PostForum: General CCS C Discussion   Posted: Wed May 26, 2021 1:10 pm   Subject: [SOLVED] Trouble interfacing PIC16F1509 with AD5263
It was a very, very dumb hardware thing. There's a reset pin on the AD5263 that I thought had a pull-up on it but it needed to be tied high. I *really* appreciate y'all helping me and am pleased wit ...
  Topic: [SOLVED] Trouble interfacing PIC16F1509 with AD5263
picj1984

Replies: 13
Views: 33668

PostForum: General CCS C Discussion   Posted: Mon May 24, 2021 3:38 pm   Subject: [SOLVED] Trouble interfacing PIC16F1509 with AD5263
OK I just tried that I am indeed seeing 10 bit transfers on the scope now. Very cool. Still, the resistance on the 0 address of AD5263 is just staying the same. I think I need to take another look at ...
  Topic: [SOLVED] Trouble interfacing PIC16F1509 with AD5263
picj1984

Replies: 13
Views: 33668

PostForum: General CCS C Discussion   Posted: Mon May 24, 2021 2:07 pm   Subject: [SOLVED] Trouble interfacing PIC16F1509 with AD5263
the stuff commented out is just random things I've been trying to try and get something to happen.

From what I can tell, it's impossible to get spi_xfer to do anything besides a multiple of 8 bit ...
  Topic: [SOLVED] Trouble interfacing PIC16F1509 with AD5263
picj1984

Replies: 13
Views: 33668

PostForum: General CCS C Discussion   Posted: Mon May 24, 2021 1:17 pm   Subject: [SOLVED] Trouble interfacing PIC16F1509 with AD5263
Hi all. Well, it's happened again. I've spent a full week trying to get something simple to happen and I can't seem to figure it out so I'm here. I'm using compiler V4.140. I'm trying to get my PIC1 ...
  Topic: Strange code behavior with unused global variables?
picj1984

Replies: 7
Views: 16229

PostForum: General CCS C Discussion   Posted: Wed Sep 04, 2019 2:32 pm   Subject: Strange code behavior with unused global variables?
which PIC ? how much RAM is used ?

PIC16F1527

RAM: 35 - 39%
ROM: 53%
  Topic: Strange code behavior with unused global variables?
picj1984

Replies: 7
Views: 16229

PostForum: General CCS C Discussion   Posted: Wed Sep 04, 2019 2:11 pm   Subject: Strange code behavior with unused global variables?
I've had issues where moving a comment up or down a line would prevent the debugger from working, so I've certainly seen odd things Smile

Was it an int8 by any chance? We had an issue where another in ...
  Topic: Strange code behavior with unused global variables?
picj1984

Replies: 7
Views: 16229

PostForum: General CCS C Discussion   Posted: Wed Sep 04, 2019 10:39 am   Subject: Strange code behavior with unused global variables?
Hello all. I'm using compiler v4.140. I just had kind of a crazy thing happened. I was having some weird issues with the behavior of my code and I found that only deleting / commenting out unused g ...
  Topic: fastest reasonable UART baud rate between two PICs
picj1984

Replies: 4
Views: 12185

PostForum: General CCS C Discussion   Posted: Mon Jan 14, 2019 1:25 pm   Subject: fastest reasonable UART baud rate between two PICs
this info is so helpful, thank you!

In my application I'm in the same enclosure, the PICs are on different PCBs connected via IDC cable. So I think I'll give a baud rate of 1M a go.
  Topic: fastest reasonable UART baud rate between two PICs
picj1984

Replies: 4
Views: 12185

PostForum: General CCS C Discussion   Posted: Mon Jan 14, 2019 10:45 am   Subject: fastest reasonable UART baud rate between two PICs
Hello,

I'm using two PIC16F1527s to communicate with each other via the hardware UART.

I'm curious if you guys have any advice for fastest reasonable speed. I'm running the processors at 20MH ...
  Topic: Setting up multiple UART on one PIC
picj1984

Replies: 10
Views: 20131

PostForum: General CCS C Discussion   Posted: Mon Jan 14, 2019 10:42 am   Subject: Setting up multiple UART on one PIC
another note..
While you're working on your project, if you press F11, the CCS Compiler manual will 'magically' open !

thank you Smile
  Topic: Setting up multiple UART on one PIC
picj1984

Replies: 10
Views: 20131

PostForum: General CCS C Discussion   Posted: Mon Jan 14, 2019 10:42 am   Subject: Setting up multiple UART on one PIC
Just a note: open and read (or skim Wink ) the processor's header file. This would be the 16F1527.h for example. Near the bottom (usually) is a list of all supported interrupts.

ahhh... thank y ...
  Topic: Setting up multiple UART on one PIC
picj1984

Replies: 10
Views: 20131

PostForum: General CCS C Discussion   Posted: Fri Jan 11, 2019 4:42 pm   Subject: Setting up multiple UART on one PIC
This compiles with no errors or warnings:

#include <16F1527.h>
#fuses NOWDT
#use delay(internal=4M)

#use RS232(UART1, baud=9600, ERRORS, stream=STR1)
# ...
  Topic: Setting up multiple UART on one PIC
picj1984

Replies: 10
Views: 20131

PostForum: General CCS C Discussion   Posted: Fri Jan 11, 2019 4:18 pm   Subject: Setting up multiple UART on one PIC
I just downloaded the datasheet, it has 2 HW UARTs and they're on fixed pins so easy to use providing your compiler version has it. Simply read about #use RS232( streams=....)

Jay

amazing! is ...
 
Page 1 of 5 Goto page 1, 2, 3, 4, 5  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group