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 57 matches
CCS Forum Index
Author Message
  Topic: Timer based Real Time Clock (RTC)
ktallevi

Replies: 57
Views: 564421

PostForum: Code Library   Posted: Thu Jul 22, 2010 6:24 pm   Subject: Timer based Real Time Clock (RTC)
Has anyone modified this to count milliseconds as well?

thanks
  Topic: Bluetooth Stack on PIC?
ktallevi

Replies: 1
Views: 4009

PostForum: General CCS C Discussion   Posted: Mon Jul 20, 2009 7:56 am   Subject: Bluetooth Stack on PIC?
Has anyone tried porting a Bluetooth stack to the PIC18/24/32?

There is a lightweight version at http://www.sm.luth.se/~conny/lwbt/ which looks like it could be ported.

thanks.
  Topic: PIC16F688 soft UART RX issue
ktallevi

Replies: 3
Views: 4961

PostForum: General CCS C Discussion   Posted: Mon Jul 13, 2009 8:08 pm   Subject: PIC16F688 soft UART RX issue
The other device I am interfacing to is also 3.3v, but your right , I should put a pull-up resistor on that pin for when nothing is connected.

If I move the soft-serial port to a different set of p ...
  Topic: PIC16F688 soft UART RX issue
ktallevi

Replies: 3
Views: 4961

PostForum: General CCS C Discussion   Posted: Mon Jul 13, 2009 6:07 pm   Subject: PIC16F688 soft UART RX issue
I have tested the following code on ISIS simulator and it works fine. But when I test it on a bread board fgetc gets triggered (with nothing attached to the serial port), and all the data is 0x00.

...
  Topic: UART RX in low power mode
ktallevi

Replies: 3
Views: 5961

PostForum: General CCS C Discussion   Posted: Thu Nov 13, 2008 12:01 pm   Subject: UART RX in low power mode
Ttelmah, as you can see in my code, I am not putting the PIC to sleep, just switching to the Timer1 clock.

I am using a hardware UART, and the timer1 clock is 4 times the 9600 bitrate. So I should ...
  Topic: UART RX in low power mode
ktallevi

Replies: 3
Views: 5961

PostForum: General CCS C Discussion   Posted: Thu Nov 13, 2008 10:55 am   Subject: UART RX in low power mode
I am having a rather odd issue. I have a 38.4Khz crystal connected to Timer1. I switch from the main 48Mhz osc to the timer1 crystal to save power. A character coming in on the UART will wake up the P ...
  Topic: Converting a unix time stamp
ktallevi

Replies: 5
Views: 10951

PostForum: General CCS C Discussion   Posted: Tue Oct 21, 2008 12:49 pm   Subject: Converting a unix time stamp
Does CCS have any built-in functions to convert a unix time stamp to something usable.

Eg. 685586AC (hex) -> 16:05:00 June 20 2025

thanks.
  Topic: fprint quotes question
ktallevi

Replies: 4
Views: 5007

PostForum: General CCS C Discussion   Posted: Fri Aug 22, 2008 11:27 am   Subject: fprint quotes question
I want to send out a string over the serial port enclosed in quotes.

Using printf(""test""); wont work as the compiler complains about the double quotes.

Any ideas?

thanks ...
  Topic: SD 4-bit Mode driver needed
ktallevi

Replies: 0
Views: 2560

PostForum: General CCS C Discussion   Posted: Fri Jul 18, 2008 9:07 am   Subject: SD 4-bit Mode driver needed
Has anyone written a driver for SD cards using 'SD 4 bit mode'? I have seen SPI drivers and examples, but not SD 4 bit mode.

thanks!
  Topic: SD Card Init problem
ktallevi

Replies: 3
Views: 5025

PostForum: General CCS C Discussion   Posted: Fri May 30, 2008 12:51 pm   Subject: SD Card Init problem
After further examination it turns out there is only 1.7v coming out of the Data-out pin from the SD card. I have as 100k pull-up resistor to 3.3v. All the other connections on the SD card that have p ...
  Topic: SD Card Init problem
ktallevi

Replies: 3
Views: 5025

PostForum: General CCS C Discussion   Posted: Fri May 30, 2008 10:40 am   Subject: SD Card Init problem
I double checked all the hardware, I am not making any of the common mistakes you had mentioned.

Perhaps these cards, which per purchased recently do not support SPI mode. I could try to use 1 bit ...
  Topic: SD Card Init problem
ktallevi

Replies: 3
Views: 5025

PostForum: General CCS C Discussion   Posted: Fri May 30, 2008 9:20 am   Subject: SD Card Init problem
I am attempting to use the ex_fat.c sample from CCS with a microSD card. All the connections are wired up correctly to the SPI port. I have 100k pull up resistors on DI, DO, and CS lines.

During th ...
  Topic: PIC18F87J50 USB osc configuration options
ktallevi

Replies: 1
Views: 3812

PostForum: General CCS C Discussion   Posted: Mon May 12, 2008 2:44 pm   Subject: PIC18F87J50 USB osc configuration options
Im implementing USB in a mobile device. Using the PLL would draw too much current so I was hoping to just use a 24MHz crystal without the PLL enabled.

If I understand the datasheet correctly, I can ...
  Topic: USB example code, high RAM usage
ktallevi

Replies: 4
Views: 4609

PostForum: General CCS C Discussion   Posted: Thu May 01, 2008 8:27 am   Subject: USB example code, high RAM usage
thanks guys, RAM usage is down to %15, exactly what I needed!
  Topic: USB example code, high RAM usage
ktallevi

Replies: 4
Views: 4609

PostForum: General CCS C Discussion   Posted: Thu May 01, 2008 7:26 am   Subject: USB example code, high RAM usage
So I took the sample ex_usb_hid program (from version 4.068), and compiled it for the PIC18F87J50.

RAM usage is at %75! This does not leave much room for the rest of my application as it requires ...
 
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