Author |
Message |
Topic: Mixing audio - INT speed problem |
Skirmitt
Replies: 11
Views: 15558
|
Forum: General CCS C Discussion Posted: Fri May 29, 2015 6:24 am Subject: Mixing audio - INT speed problem |
The sounds are prerecorded ones I made with a microphone.
The board itself already has 2 PIC's on it. One 16F that reads all the servo signals with a timer and controls the lights. The other one (18F ... |
Topic: Mixing audio - INT speed problem |
Skirmitt
Replies: 11
Views: 15558
|
Forum: General CCS C Discussion Posted: Thu May 28, 2015 6:56 am Subject: Mixing audio - INT speed problem |
Exactly, it is a sound system for RC trucks. Microsamples would be ok but pitching is a bit better because then I have more control. |
Topic: Mixing audio - INT speed problem |
Skirmitt
Replies: 11
Views: 15558
|
Forum: General CCS C Discussion Posted: Thu May 28, 2015 6:29 am Subject: Mixing audio - INT speed problem |
Exactly, I guess no matter how fast the pic is working it will always be an issue.
I'm curious what your solution would be ! |
Topic: Mixing audio - INT speed problem |
Skirmitt
Replies: 11
Views: 15558
|
Forum: General CCS C Discussion Posted: Wed May 27, 2015 8:49 am Subject: Mixing audio - INT speed problem |
I tried a few things. One was toggling a pin in the timer 0 isr and this showed on the scope what I suspected, the frequency is not constant so probably timer 1 interrupts too much for the pic.
My ... |
Topic: Mixing audio - INT speed problem |
Skirmitt
Replies: 11
Views: 15558
|
Forum: General CCS C Discussion Posted: Wed May 27, 2015 5:13 am Subject: Mixing audio - INT speed problem |
It is 8 bit uncompressed PCM audio at 16 - 22 KHz.
Playing 1 stream is no problem and I don't feel that that is stressing the PIC. It feels like the duration of the INT handler is not constant when u ... |
Topic: Mixing audio - INT speed problem |
Skirmitt
Replies: 11
Views: 15558
|
Forum: General CCS C Discussion Posted: Wed May 27, 2015 2:38 am Subject: Mixing audio - INT speed problem |
I have a project that plays 2 sound files at once (mixed). There are large sounds stored on an SD card and small sounds stored in the flash of the PIC. I use a 18f2525 with the INTOSC at 32 MHz.
Th ... |
Topic: DAC audio to PWM audio with PIC18 |
Skirmitt
Replies: 2
Views: 6665
|
Forum: General CCS C Discussion Posted: Fri Nov 21, 2014 4:26 am Subject: DAC audio to PWM audio with PIC18 |
Thanks, I'll leave it as is. |
Topic: DAC audio to PWM audio with PIC18 |
Skirmitt
Replies: 2
Views: 6665
|
Forum: General CCS C Discussion Posted: Wed Nov 19, 2014 7:34 am Subject: DAC audio to PWM audio with PIC18 |
I'm trying to simplify an audio project I did in the past. With this board I play 8bit audio from an SD card with a PIC18f2685. With timer 1 I send the audio at a rate of 22kHz to an r2r network. I al ... |
Topic: Serial communication on RX and regular output on TX |
Skirmitt
Replies: 2
Views: 5336
|
Forum: General CCS C Discussion Posted: Fri Oct 17, 2014 3:24 am Subject: Serial communication on RX and regular output on TX |
Great thanks ! |
Topic: Serial communication on RX and regular output on TX |
Skirmitt
Replies: 2
Views: 5336
|
Forum: General CCS C Discussion Posted: Thu Oct 16, 2014 8:41 am Subject: Serial communication on RX and regular output on TX |
Is it possible to use the serial port to receive data and the TX line as output ?
so this declaration:
#use rs232 (baud=9600, rcv=PIN_C7)
I need C6 to be used as regular output. |
Topic: PIC 16F vs 18F - Port B INT |
Skirmitt
Replies: 2
Views: 5231
|
Forum: General CCS C Discussion Posted: Wed May 14, 2014 6:08 am Subject: PIC 16F vs 18F - Port B INT |
I have a project that I finished a few years ago that I want to improve. Is used a PIC 16F886, a great allrounder. I now want to upgrade to 18F series cause of SD card implementation. Problem is I use ... |
Topic: Driving 2 x 74595 |
Skirmitt
Replies: 1
Views: 4061
|
Forum: General CCS C Discussion Posted: Thu Apr 19, 2012 5:39 am Subject: Driving 2 x 74595 |
In the past I've worked with the CCS driver for 74595 successfully. Now I expand my board with a second one. Wiring is correct but I can't seem to make the code work.
#define EXP_OUT_ENABLE PIN_ ... |
Topic: USB-midi problem with sending messages to pc |
Skirmitt
Replies: 3
Views: 7802
|
Forum: General CCS C Discussion Posted: Sun Feb 12, 2012 7:00 am Subject: USB-midi problem with sending messages to pc |
Hello, can you upload the most recent working code ? Perhaps you can put it in the library. |
Topic: Migrating from pic16 to pic18 |
Skirmitt
Replies: 1
Views: 3726
|
Forum: General CCS C Discussion Posted: Tue Feb 07, 2012 4:15 am Subject: Migrating from pic16 to pic18 |
Think I found it, 18f2685 doesn't have IOC on all pins, only the last 4.
Would there be a way to still be able to read the 3 encoders on pic18f ? |
Topic: Migrating from pic16 to pic18 |
Skirmitt
Replies: 1
Views: 3726
|
Forum: General CCS C Discussion Posted: Tue Feb 07, 2012 4:04 am Subject: Migrating from pic16 to pic18 |
I have a project that runs perfect on pic16f886. I now need the µc to work faster so I plugged a 18f2685 in I had from a previous project.
Problem now is I can't get the INT on port B working. On po ... |
|