Author |
Message |
Topic: TLV5620 DAC design analog connection to pic |
ddorling
Replies: 4
Views: 5041
|
Forum: General CCS C Discussion Posted: Sat Jul 18, 2009 12:31 am Subject: TLV5620 DAC design analog connection to pic |
Hi
Yes, that makes perfect electrical sense. Thanks for clearing up that point for me.
best wishes |
Topic: TLV5620 DAC design analog connection to pic |
ddorling
Replies: 4
Views: 5041
|
Forum: General CCS C Discussion Posted: Thu Jul 16, 2009 10:24 pm Subject: TLV5620 DAC design analog connection to pic |
Hi, thanks for your response
In the datasheet for the TLV5620
SLAS110B – JANUARY 1995 – REVISED APRIL 1997
fig12 shows an output buffering scheme having the TLV output connected to a voltage ... |
Topic: PCD CAN |
ddorling
Replies: 2
Views: 3643
|
Forum: General CCS C Discussion Posted: Thu Jul 16, 2009 6:06 am Subject: PCD CAN |
Hi
you may have to set the baud rate divisor bits in the UxBRG register manually if you can't get the setup functions to do it. Baud Rate = FCY / (16*(BRG+1)) is the calculation for the 30f3013
and ... |
Topic: PCD CAN |
ddorling
Replies: 2
Views: 3643
|
Forum: General CCS C Discussion Posted: Thu Jul 16, 2009 5:50 am Subject: PCD CAN |
Hi
to achieve 250k I had to use an OSC1 speed of 80 Mhz, that is using a 10Mhz external clock with a PLL of 8. This is on a 30f3013. Your clock speed will accomadate a particular set of baud rates. ... |
Topic: TLV5620 DAC design analog connection to pic |
ddorling
Replies: 4
Views: 5041
|
Forum: General CCS C Discussion Posted: Thu Jul 16, 2009 4:18 am Subject: TLV5620 DAC design analog connection to pic |
Hi
The TLV5620 is a popular low cost 4 channel 8 bit DAC. When interfacing the outputs to the analog inputs of a pic is it necessary to use a load resistor (10k) to ground on each channel or can it ... |
Topic: MAC instruction Assembly dsp 4.092 mysterious |
ddorling
Replies: 3
Views: 7724
|
Forum: General CCS C Discussion Posted: Thu Jul 16, 2009 1:37 am Subject: MAC assembly 30f |
Hi
I am just an average programmer and came to the conclusion that the MAC assembly instruction isn't implemented in the CCS compiler to accomplish what it is suppose to do according to the microchip ... |
Topic: Help using MAC instruction |
ddorling
Replies: 0
Views: 2056
|
Forum: General CCS C Discussion Posted: Fri May 29, 2009 5:42 am Subject: Help using MAC instruction |
Hi
Is anyone using the MAC instruction
Wd*Wc,acc,da,dc
Acc = Acc + Wa * Wb; {[W13] = Acc}; {prefetch}
I'm building a simple 2nd order bandpass bank and need this ... |
Topic: L14F2 light detector |
ddorling
Replies: 6
Views: 5007
|
Forum: General CCS C Discussion Posted: Thu May 21, 2009 2:42 am Subject: metric/calibration |
The current/light relationship may not be useful to you. Device operating limits so it won't fry. You may want to calibrate a scale yourself. This of course depends upon what the sensor is measuring. ... |
Topic: L14F2 light detector |
ddorling
Replies: 6
Views: 5007
|
Forum: General CCS C Discussion Posted: Tue May 19, 2009 9:18 pm Subject: maybe this will help |
You'll have to write conversion functions.
Convert adc value 0-255, if using 8bit, to volts.
Figure out volts per step determined by the adc reference value and multiply by adc value.
Then conv ... |
Topic: MAC instruction Assembly dsp 4.092 mysterious |
ddorling
Replies: 3
Views: 7724
|
Forum: General CCS C Discussion Posted: Tue May 19, 2009 8:58 pm Subject: accumulator doubling multiply result |
Here is some more info.
Rather than using the prefetch part of the instruction I move the data directly into the registers. This works except that the accumulator adds a doubling of the multiply resu ... |
Topic: MAC instruction Assembly dsp 4.092 mysterious |
ddorling
Replies: 3
Views: 7724
|
Forum: General CCS C Discussion Posted: Tue May 19, 2009 5:46 pm Subject: MAC instruction Assembly dsp 4.092 mysterious |
Can someone see what's going wrong here.
A simple snippet using the MAC instruction. I thought the instruction pretches for the next instruction, so loaded the first values myself.
The prefetch ... |
Topic: Debug: Unable to run target mplab ICD2 dspic30F3013 |
ddorling
Replies: 3
Views: 4983
|
Forum: General CCS C Discussion Posted: Tue May 19, 2009 5:33 pm Subject: replaced old header |
I replaced the old header with the new one in my application folder. This fixed the problem. |
Topic: Debug: Unable to run target mplab ICD2 dspic30F3013 |
ddorling
Replies: 3
Views: 4983
|
Forum: General CCS C Discussion Posted: Sat May 09, 2009 2:39 pm Subject: Debug: Unable to run target mplab ICD2 dspic30F3013 |
Debug: Unable to run target
debugging with mplab ICD2 IDE8.00A
I recently updated to 4.092 from 4.075. Had no problems with mplab ICD2 under compiler 4.075.
Target is dspic 30F013.
Usin ... |
|