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 7 matches
CCS Forum Index
Author Message
  Topic: CLC configured as D-FlipFlop frequency divider(Solved)
CoderXY

Replies: 14
Views: 51432

PostForum: General CCS C Discussion   Posted: Fri May 06, 2016 6:09 am   Subject: CLC configured as D-FlipFlop frequency divider(Solved)
hi everyone,

This is my final contributed version of the pic16f1507 CLC2 setup as 2-Input D-FLIP-FLOP which is configured as frequency divider.

Signal generator to pin RC3 28khz and output from ...
  Topic: CLC configured as D-FlipFlop frequency divider(Solved)
CoderXY

Replies: 14
Views: 51432

PostForum: General CCS C Discussion   Posted: Fri May 06, 2016 3:17 am   Subject: CLC configured as D-FlipFlop frequency divider(Solved)
That is only really an expansion of what is in the data sheet.

Key thing is to draw out the actual logic you want.

The CCS approach follows exactly the data sheet description. All they omit to t ...
  Topic: CLC configured as D-FlipFlop frequency divider(Solved)
CoderXY

Replies: 14
Views: 51432

PostForum: General CCS C Discussion   Posted: Thu May 05, 2016 6:16 pm   Subject: CLC configured as D-FlipFlop frequency divider(Solved)
If you can't get the CLC stuff to run right, just program the PIC using CCS C ! 2 decades ago I used a PIC16C84 as a 'PLC' in some custom kit to foil( well slow down) the reverse engineers.
Microchip ...
  Topic: CLC configured as D-FlipFlop frequency divider(Solved)
CoderXY

Replies: 14
Views: 51432

PostForum: General CCS C Discussion   Posted: Thu May 05, 2016 10:26 am   Subject: CLC configured as D-FlipFlop frequency divider(Solved)

I hope someone can provide a solution using CCS PIC C to create a working 2 input D- Flip-Flop.
Only the assembly version works as shown previously.

You do mean working in hardware, not in Prote ...
  Topic: CLC configured as D-FlipFlop frequency divider(Solved)
CoderXY

Replies: 14
Views: 51432

PostForum: General CCS C Discussion   Posted: Thu May 05, 2016 9:07 am   Subject: CLC configured as D-FlipFlop frequency divider(Solved)
I'd have thought CCS would have an example for the 'CLC' PICs but my compiler versions are rather old.....

If not, ask and they will probably do one for the next release ?

Jay

hi temtronic,
...
  Topic: CLC configured as D-FlipFlop frequency divider(Solved)
CoderXY

Replies: 14
Views: 51432

PostForum: General CCS C Discussion   Posted: Wed May 04, 2016 4:26 pm   Subject: CLC configured as D-FlipFlop frequency divider(Solved)
I have a question. This stuff at the bottom, such as:
//extracted from MPLABX for PIC16F1507 using CLC2

// CLC2POL = 0x00;

// LC2D2S LC2OUT; LC2D1S CLCIN0;
// CLC2SEL0 = 0x50;
...
  Topic: CLC configured as D-FlipFlop frequency divider(Solved)
CoderXY

Replies: 14
Views: 51432

PostForum: General CCS C Discussion   Posted: Wed May 04, 2016 8:33 am   Subject: CLC configured as D-FlipFlop frequency divider(Solved)
Hi,

I have problem getting 2 input D- Flip-Flop configured as frequency divider on 16F1507 and 12F1501 in Proteus 8.2 using CCS which is not working very well.

However using MPLABX XC8 i was ab ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group