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 46 matches
CCS Forum Index
Author Message
  Topic: SPI Rx ISR and Timer ISRs
Backfire

Replies: 4
Views: 2893

PostForum: General CCS C Discussion   Posted: Fri Jul 26, 2024 6:37 am   Subject: SPI Rx ISR and Timer ISRs
Hi Ttelmah, and thanks for such detailed advice.

I was right in thinking that there was only the most basic of interrupt handling on this device then, I've not yet used a PIC with multiple interrup ...
  Topic: SPI Rx ISR and Timer ISRs
Backfire

Replies: 4
Views: 2893

PostForum: General CCS C Discussion   Posted: Thu Jul 25, 2024 4:41 am   Subject: SPI Rx ISR and Timer ISRs
Hi all,
I'm hoping someone can help me find an issue with some SPI code I'm trying to get working.

I have a system of 4 PIC's (all PIC16F15356); One acting as an SPI master, three acting as slaves ...
  Topic: SPI PIC16F15356
Backfire

Replies: 11
Views: 10149

PostForum: General CCS C Discussion   Posted: Wed Jan 10, 2024 5:24 am   Subject: SPI PIC16F15356
Is my issue likely to be caused by the fact I don't set a MODE value / SAMPLE_RISE/SAMPLE_FALL values? The compiler documentation has so many options for configuring the SPI peripheral, I might be mis ...
  Topic: SPI PIC16F15356
Backfire

Replies: 11
Views: 10149

PostForum: General CCS C Discussion   Posted: Tue Jan 09, 2024 9:35 am   Subject: SPI PIC16F15356
Hi temtronic, though I am using a timer, I'm using it as an 'inactivity monitor', so my main routine has the below call;


// Check to see if we've got SPI messages, but not actually received anyth ...
  Topic: SPI PIC16F15356
Backfire

Replies: 11
Views: 10149

PostForum: General CCS C Discussion   Posted: Tue Jan 09, 2024 8:13 am   Subject: SPI PIC16F15356
So, SPI comms have been established! The required fix was found in this thread; ( http://www.ccsinfo.com/forum/viewtopic.php?p=227266 ), and it was the requirement for the slave SPI #use statement to ...
  Topic: SPI PIC16F15356
Backfire

Replies: 11
Views: 10149

PostForum: General CCS C Discussion   Posted: Tue Dec 19, 2023 4:21 am   Subject: SPI PIC16F15356
Hi, and thanks for the input Ttelmah.

Seemingly the same issue is persistent though, I have added back in BITS=8, (I actually had this included in earlier code attempts, I stripped it out trying to ...
  Topic: SPI PIC16F15356
Backfire

Replies: 11
Views: 10149

PostForum: General CCS C Discussion   Posted: Mon Dec 18, 2023 9:33 am   Subject: SPI PIC16F15356
Oh, it's also worth noting that I'm handling the Chip Select lines also, so this is a more full snippet of the call;


if(target == slave1)
output_low(slave1_cs);
if(targe ...
  Topic: SPI PIC16F15356
Backfire

Replies: 11
Views: 10149

PostForum: General CCS C Discussion   Posted: Mon Dec 18, 2023 8:58 am   Subject: SPI PIC16F15356
Hi all, hoping someone can shed some light on an SPI comms issue I'm having between two PIC16F15356, one configured as a Master, and one as Slave. The master is configured as below;


#pin_select S ...
  Topic: Using a PIC to control another PICs MCLR
Backfire

Replies: 3
Views: 6205

PostForum: General CCS C Discussion   Posted: Sat Sep 16, 2023 3:06 am   Subject: Using a PIC to control another PICs MCLR
Amazing!

Many thanks for the advice Ttelmah.
  Topic: Using a PIC to control another PICs MCLR
Backfire

Replies: 3
Views: 6205

PostForum: General CCS C Discussion   Posted: Fri Sep 15, 2023 7:22 am   Subject: Using a PIC to control another PICs MCLR
Hello all,
I had a quick question and would value peoples input. I am developing a board that has 4 PIC’s, one device acting as a ‘controller’ (let’s call it the CPU) and three devices that a ...
  Topic: RS485 With MAX3085 & PIC16F15356
Backfire

Replies: 30
Views: 53289

PostForum: General CCS C Discussion   Posted: Wed Feb 08, 2023 3:04 am   Subject: RS485 With MAX3085 & PIC16F15356
I love that the CCS compiler can do so much "auto configuration", for wont of a better phrase. But with so many PICs in existence now, so many 'caveats' and 'device quirks' must also exist. ...
  Topic: RS485 With MAX3085 & PIC16F15356
Backfire

Replies: 30
Views: 53289

PostForum: General CCS C Discussion   Posted: Tue Feb 07, 2023 4:24 am   Subject: RS485 With MAX3085 & PIC16F15356
Good morning (where I am) everyone...

Once again many thanks for everybody’s advice, this forum is genuinely filled with some very knowledgeable people!

In the end, it was a configuration issu ...
  Topic: RS485 With MAX3085 & PIC16F15356
Backfire

Replies: 30
Views: 53289

PostForum: General CCS C Discussion   Posted: Mon Feb 06, 2023 11:46 am   Subject: RS485 With MAX3085 & PIC16F15356
Hi temtronic,
I've DM'ed you them... I think! phpBB and it's quirky 'outbox' and 'sentbox' implementation.
  Topic: RS485 With MAX3085 & PIC16F15356
Backfire

Replies: 30
Views: 53289

PostForum: General CCS C Discussion   Posted: Mon Feb 06, 2023 10:50 am   Subject: RS485 With MAX3085 & PIC16F15356
I'm happy to post just the FUSES from the .h file that seem related to the OSC pins, if that's forum permitted? It'd just be the three FUSE lines that reference the oscillator.
  Topic: RS485 With MAX3085 & PIC16F15356
Backfire

Replies: 30
Views: 53289

PostForum: General CCS C Discussion   Posted: Mon Feb 06, 2023 10:16 am   Subject: RS485 With MAX3085 & PIC16F15356
Hi all,
thanks for peoples input so far. Through my troubleshooting, and having reviewed most suggestions and tested them, I still see no output (at RO, (pin1)) from the MAX3085 mounted on the board. ...
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group