Author |
Message |
Topic: 3 phase , frequency agile, ULTRA high purity sine generator |
freedom
Replies: 2
Views: 35382
|
Forum: Code Library Posted: Thu Nov 26, 2015 9:00 am Subject: 3 phase , frequency agile, ULTRA high purity sine generator |
Thanks a lot asmboy for posting 3 phase , frequency agile, ULTRA high purity sine generator
1. What do you mean by NCO (ref: AD9833 NCO) ?
" Phase is set to one part in 4096 of 360 degrees ... |
Topic: #INT_RTCC based pwm will not work |
freedom
Replies: 5
Views: 9193
|
Forum: General CCS C Discussion Posted: Tue Nov 17, 2015 11:56 pm Subject: #INT_RTCC based pwm will not work |
Thank Everyone. Now I understand my fault.
Now it is working |
Topic: #INT_RTCC based pwm will not work |
freedom
Replies: 5
Views: 9193
|
Forum: General CCS C Discussion Posted: Tue Nov 17, 2015 8:04 am Subject: #INT_RTCC based pwm will not work |
LOOPCNT is zero. Or did you want to use loopcnt_valu instead.
I want to asign the value of LOOPCNT by loopcnt_valu which is generated in while loop if statement
if (input(Speed_1)== ... |
Topic: #INT_RTCC based pwm will not work |
freedom
Replies: 5
Views: 9193
|
Forum: General CCS C Discussion Posted: Tue Nov 17, 2015 7:07 am Subject: #INT_RTCC based pwm will not work |
Hello all
They didn't show the setup code for the RTCC, so I've taken the liberty
of making a test program. For a PIC with a 4 MHz crystal, this demo
program creates a PWM signal on Pin B1, with ... |
Topic: isd4003 driver and software spi |
freedom
Replies: 6
Views: 10858
|
Forum: General CCS C Discussion Posted: Sat Jul 18, 2015 4:47 am Subject: isd4003 driver and software spi |
thanks PCM Programmer
#use rs232(baud=9600, UART1, ERRORS)
does this statement is necessary for this example ?
Ok I am going to test it |
Topic: isd4003 driver and software spi |
freedom
Replies: 6
Views: 10858
|
Forum: General CCS C Discussion Posted: Fri Jul 17, 2015 4:33 am Subject: isd4003 driver and software spi |
now SPI configuration for the ISD4003.c driver
#define ISD4003_RAC PIN_D2
#define ISD4003_SELECT PIN_D3
#define ISD4003_CLK PIN_C4
#define ISD4003_MISO PIN_C5
#define ISD4003_MOSI ... |
Topic: isd4003 driver and software spi |
freedom
Replies: 6
Views: 10858
|
Forum: General CCS C Discussion Posted: Thu Jul 16, 2015 1:00 pm Subject: isd4003 driver and software spi |
hello all
I want to use ccs supplied isd4003.c driver to record and playback.
I want to interface isd4003 chip with 16f877a through software SPI.
I use compiler version 4.124
as example
#inclu ... |
Topic: when, why and how much delay_ms and delay_us |
freedom
Replies: 6
Views: 17139
|
Forum: General CCS C Discussion Posted: Tue Jun 16, 2015 6:41 am Subject: when, why and how much delay_ms and delay_us |
delay_ms(xxx) is a set of instructions that CCS cut to give a specific amount of delay.As such this is 'inline' code, meaning that once called, the PIC will stay there and do NOTHING else until the ti ... |
Topic: when, why and how much delay_ms and delay_us |
freedom
Replies: 6
Views: 17139
|
Forum: General CCS C Discussion Posted: Tue Jun 16, 2015 3:14 am Subject: when, why and how much delay_ms and delay_us |
Dear all.
I have searched in this forum and even ccs compiler manual to find out and understand a basic things on delay_ms and delay_us function.
I just know this functions are used to delay as o ... |
Topic: Pin select for PWM |
freedom
Replies: 1
Views: 4801
|
Forum: General CCS C Discussion Posted: Mon Jun 15, 2015 4:31 am Subject: Pin select for PWM |
In 16f877A , by default C2 is PWM1 and C1 is PWM2
If I want to use PWM_1 and PWM_2 at any other pin ( as example PWM_1 at pin_A0 and PWM_2 at pin_E1),
Does it possible ?
Any software/codi ... |
Topic: how to use PWM controls in PIC16F877a |
freedom
Replies: 5
Views: 12450
|
Forum: General CCS C Discussion Posted: Mon Jun 15, 2015 3:10 am Subject: how to use PWM controls in PIC16F877a |
First look again at the data sheet. C2, is PWM1, not PWM2, and C1, is PWM2 not PWM1.
Yes I have seen this in datasheet of PIC16F877A
If I want to use PWM_1 and PWM_2 at any other pin ( as e ... |
Topic: keypad response too slow |
freedom
Replies: 16
Views: 29813
|
Forum: General CCS C Discussion Posted: Tue Dec 23, 2014 5:05 am Subject: keypad response too slow |
here is some download link
http://www.megafileupload.com/en/file/590854/4094-and-74595-LCD-with-3-wire-877A-zip.html
http://www.mediafire.com/download/kh8162yud86dkcf/4094_and_74595_LCD_with_3_wire_ ... |
Topic: keypad response too slow |
freedom
Replies: 16
Views: 29813
|
Forum: General CCS C Discussion Posted: Tue Dec 23, 2014 2:37 am Subject: keypad response too slow |
hmmm...
re -read this post again....
from the OP..
//4094(Shift Register) 3wire Serial To Parallel
hmmm....
no wonder it doesn't work if a 74595 is in the hardware mix.....
code s ... |
Topic: keypad response too slow |
freedom
Replies: 16
Views: 29813
|
Forum: General CCS C Discussion Posted: Tue Dec 23, 2014 12:03 am Subject: keypad response too slow |
here is my full project with driver, schemetic , programme file
Remmeber to comment "#include <2432.c>" this line( I forget to do this)
//! dat++;
//! lcd_gotoxy(10,3 ... |
Topic: keypad response too slow |
freedom
Replies: 16
Views: 29813
|
Forum: General CCS C Discussion Posted: Mon Dec 22, 2014 5:30 am Subject: keypad response too slow |
What happens if you make a program with the keypad code only, and
have it turn on an LED when you press a key
No problem, keypad response fine. Led is light up on key press and off after programm ... |
|