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 53 matches
CCS Forum Index
Author Message
  Topic: 18F26K22 (I2C + PWM) = Conflict
jjacob

Replies: 2
Views: 10754

PostForum: General CCS C Discussion   Posted: Thu Oct 19, 2017 9:41 am   Subject: 18F26K22 (I2C + PWM) = Conflict
Dear Ttelmah,

Thanks for your help... It solved my problem. Very Happy


// The PWM as 10bits of resolution when midle number is "255"
setup_timer_2(T2_DIV_BY_4, 255, 1) ...
  Topic: 18F26K22 (I2C + PWM) = Conflict
jjacob

Replies: 2
Views: 10754

PostForum: General CCS C Discussion   Posted: Thu Oct 19, 2017 8:48 am   Subject: 18F26K22 (I2C + PWM) = Conflict
Hello,

I want to use I2C and PWM at same time, but this is not working.

I have two slaves on i2c bus, an lcd driver (brightness is controlled by PWM) and a ds3231 rtc. So, if use only PWM to con ...
  Topic: 16F1459 - CDC - HID - EEPROM - Transfer Data
jjacob

Replies: 5
Views: 12997

PostForum: General CCS C Discussion   Posted: Wed Apr 05, 2017 4:11 am   Subject: 16F1459 - CDC - HID - EEPROM - Transfer Data
Hello,

Thank you all for your help. It's solved.

I have used 64 bytes block transfer (eeprom page write), and have implemented a simple protocol with handshaking with PC. The CCS bootloader exa ...
  Topic: 18F26K22 Two Hardware UARTS - RS485
jjacob

Replies: 4
Views: 11220

PostForum: General CCS C Discussion   Posted: Wed Apr 05, 2017 4:07 am   Subject: 18F26K22 Two Hardware UARTS - RS485
Hello,

Thank you all for your help. It's solved.

It was the:

enable_interrupts(INT_RDA);
enable_interrupts(INT_RDA2);
  Topic: 18F26K22 Two Hardware UARTS - RS485
jjacob

Replies: 4
Views: 11220

PostForum: General CCS C Discussion   Posted: Tue Apr 04, 2017 12:43 pm   Subject: 18F26K22 Two Hardware UARTS - RS485
Hello,

I'm trying to implement a RS485 converter. I have a MASTER serial device that sends data to my converter, then converter sends to rs485 network. If convert receives something from rs485 netw ...
  Topic: 16F1459 - CDC - HID - EEPROM - Transfer Data
jjacob

Replies: 5
Views: 12997

PostForum: General CCS C Discussion   Posted: Fri Mar 17, 2017 4:18 am   Subject: 16F1459 - CDC - HID - EEPROM - Transfer Data
Hello,

I'm working at a project that involves transfer data (14KBytes of data, list of clients) from a PC to a EEPROM 24LC256, through 16F1459.

I already have it working: keyboard hid + cdc + e ...
  Topic: MCP41HV51 - Digital Potentiometer
jjacob

Replies: 3
Views: 10233

PostForum: General CCS C Discussion   Posted: Wed Feb 15, 2017 6:28 am   Subject: MCP41HV51 - Digital Potentiometer
Hello everyone

I'm trying to do a digital potentiometer using MCP41HV51, and I want to control an VFD, from 0 to 10V.

Does someone have already a driver for this device?

Thanks for your help, ...
  Topic: Coin counter (cctalk)
jjacob

Replies: 2
Views: 6311

PostForum: General CCS C Discussion   Posted: Mon Aug 20, 2012 10:36 am   Subject: Coin counter (cctalk)
Thank you Ttelmah.
I'll work on that.

My problem is the communication ...

I'll give it try !!

Thank you once again.

Jacob
  Topic: Coin counter (cctalk)
jjacob

Replies: 2
Views: 6311

PostForum: General CCS C Discussion   Posted: Sun Aug 19, 2012 4:27 am   Subject: Coin counter (cctalk)
Hello all.

I need to count coins from a coin counter that uses 'cctalk' to communicate to the motherboard.
So, i was thinking in 'sniffing' the bus.

I've searched for code examples, but i found ...
  Topic: Lynux and CCS
jjacob

Replies: 2
Views: 5289

PostForum: General CCS C Discussion   Posted: Sat Oct 10, 2009 9:29 am   Subject: Lynux and CCS
Hi.

I've tried to install CCS (Compiler Version : 4.057 ) on UBUNTU 9.04
and I couldn't make it work :(

I've tried with 'Wine' emulation.

Has anybody tried to install CCS on Lynux ?
Is ther ...
  Topic: PWM, Timer0, Timer2 in 12F615
jjacob

Replies: 8
Views: 18895

PostForum: General CCS C Discussion   Posted: Sat Jul 18, 2009 5:46 pm   Subject: PWM, Timer0, Timer2 in 12F615
OK ...

I have in my .lst :

00D7: CLRF 1C


This means that register '1C' (CMCON1 register) is cleared. So :

bit 4 T1ACS: Timer1 Alternate Clock Select bit
1 = Timer 1 Clock Sou ...
  Topic: PWM, Timer0, Timer2 in 12F615
jjacob

Replies: 8
Views: 18895

PostForum: General CCS C Discussion   Posted: Sat Jul 18, 2009 5:10 pm   Subject: PWM, Timer0, Timer2 in 12F615
No problem Smile

Here is part of my .lst :

.................... setup_ccp1(CCP_PWM); // Configure CCP1 as a PWM
00EA: BCF 05.2
00EB: BCF 03.5
00EC: BCF ...
  Topic: PWM, Timer0, Timer2 in 12F615
jjacob

Replies: 8
Views: 18895

PostForum: General CCS C Discussion   Posted: Sat Jul 18, 2009 4:24 pm   Subject: PWM, Timer0, Timer2 in 12F615
Thank you PCM programmer for your simple explanation Smile


In the datasheet that i've download it is writen :

bit 1 TMR1CS: Timer1 Clock Source Select bit
1 = External clock from T1CKI pin (on ...
  Topic: PWM, Timer0, Timer2 in 12F615
jjacob

Replies: 8
Views: 18895

PostForum: General CCS C Discussion   Posted: Sat Jul 18, 2009 12:35 pm   Subject: PWM, Timer0, Timer2 in 12F615
Hi all Very Happy

I found the problem ...
Timer0 in 18F452 is a 8/16 bit (i was using as a 16bits...).
Timer0 in 12F615 is a 8 bit !! So the migration was not direct !!!

I change the code and ...
  Topic: PWM, Timer0, Timer2 in 12F615
jjacob

Replies: 8
Views: 18895

PostForum: General CCS C Discussion   Posted: Sat Jul 18, 2009 9:59 am   Subject: PWM, Timer0, Timer2 in 12F615
Hello.

I'm using :

Compiler Version : 4.057
PIC12F615
5V power supply
Internal Oscillator ...

I need to count the frequency of the input signal... 0 ... 50Hz ... and make it in a 0 ... 5V ...
 
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