Author |
Message |
Topic: Timer based Real Time Clock (RTC) |
ktallevi
Replies: 57
Views: 563130
|
Forum: 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: 3999
|
Forum: 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: 4950
|
Forum: 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: 4950
|
Forum: 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: 5932
|
Forum: 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: 5932
|
Forum: 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: 10923
|
Forum: 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: 4991
|
Forum: 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: 2552
|
Forum: 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: 5006
|
Forum: 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: 5006
|
Forum: 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: 5006
|
Forum: 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: 3802
|
Forum: 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: 4587
|
Forum: 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: 4587
|
Forum: 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 ... |
|