Author |
Message |
Topic: Problems using AD in dspic33EP256MU806 with Vref+ |
mizzard
Replies: 3
Views: 7005
|
Forum: General CCS C Discussion Posted: Fri Nov 16, 2012 6:01 am Subject: Problems using AD in dspic33EP256MU806 with Vref+ |
Might not be the issue but are you sure your running at 120Mhz that the delay_xx will be based on?
You have 4Mhz N1=2 M =120 n2=2 Now doesn't (4/2)*120 =240take outside the 200Mhz max restriction o ... |
Topic: Problems using AD in dspic33EP256MU806 with Vref+ |
mizzard
Replies: 3
Views: 7005
|
Forum: General CCS C Discussion Posted: Fri Nov 16, 2012 4:28 am Subject: Problems using AD in dspic33EP256MU806 with Vref+ |
Hello everybody,
I am developing a project and I use the dspic33EP256MU806 using CCS PCWHD version 4.128.
The problem is that the AD is working fine but only if I work using AVdd and AVss, and when ... |
Topic: Problems using dspic33ep256mu806 AN0 and AN1 ADC |
mizzard
Replies: 4
Views: 6633
|
Forum: General CCS C Discussion Posted: Mon Nov 05, 2012 9:44 am Subject: Problems using dspic33ep256mu806 AN0 and AN1 ADC |
Here are my fuses:
#include <33EP256MU806.h>
#device adc=10
#FUSES NODEBUG //No Debug mode for ICD
#FUSES PUT128 //Power On Reset Timer value 128ms
#F ... |
Topic: Problems using dspic33ep256mu806 AN0 and AN1 ADC |
mizzard
Replies: 4
Views: 6633
|
Forum: General CCS C Discussion Posted: Mon Nov 05, 2012 8:15 am Subject: Problems using dspic33ep256mu806 AN0 and AN1 ADC |
Yes, tested with multimeter. I have 3.3V on AVdd pin (number 19) and GND on pin number 20.
Another thing I have detected is when I use set_adc_channel(0) occurs that I have said, but when I use set ... |
Topic: Problems using dspic33ep256mu806 AN0 and AN1 ADC |
mizzard
Replies: 4
Views: 6633
|
Forum: General CCS C Discussion Posted: Mon Nov 05, 2012 5:19 am Subject: Problems using dspic33ep256mu806 AN0 and AN1 ADC |
Hello everybody, I am going to explain my problem.
I am developing a prototype using dsPIC33EP256MU806, in wich I need to use the 2 analog inputs, AN0 -> RB0 and AN1 -> RB1
I use PCWHD compil ... |
Topic: Problems using dspic33ep256mu806 hardware UARTs with PPS |
mizzard
Replies: 3
Views: 7035
|
Forum: General CCS C Discussion Posted: Mon Nov 05, 2012 5:02 am Subject: Problems using dspic33ep256mu806 hardware UARTs with PPS |
You are not using the hardware UART. On most of the DSPIC's you have to use #PIN SELECT to tell the compiler to connect the UARTx to the I/O pins, then use the UARTx form in the #USE RS232.
So:
#P ... |
Topic: Problems using dspic33ep256mu806 hardware UARTs with PPS |
mizzard
Replies: 3
Views: 7035
|
Forum: General CCS C Discussion Posted: Thu Oct 18, 2012 10:16 am Subject: Problems using dspic33ep256mu806 hardware UARTs with PPS |
Hello everybody, I am going to explain my problem.
I am developing a prototype using dsPIC33EP256MU806, in wich I need to use the 4 hardware USARTs.
I use PCWHD compiler from CCS version 4.128
Thi ... |
Topic: Crystal oscillator in dsPic33fj256gp710 |
mizzard
Replies: 3
Views: 5993
|
Forum: General CCS C Discussion Posted: Fri Sep 16, 2011 5:28 pm Subject: Crystal oscillator in dsPic33fj256gp710 |
We use a XT configuration mode, with a crystal and a couple of 22pF capacitor with parallel resistor. We looked for information in dsPIC datasheet and we configure all registers like this:
#WORD CL ... |
Topic: Crystal oscillator in dsPic33fj256gp710 |
mizzard
Replies: 3
Views: 5993
|
Forum: General CCS C Discussion Posted: Fri Sep 16, 2011 8:29 am Subject: Crystal oscillator in dsPic33fj256gp710 |
Hello everybody, We are developing a simple project using the dsPic33fj256gp710 I/PF, but we found a lot of problems when we want to work with a 10MHz Crystal Oscillator. We are developing it with CCS ... |
Topic: Help with i2c communication in MULTI_MASTER MODE between PIC |
mizzard
Replies: 2
Views: 6983
|
Forum: General CCS C Discussion Posted: Wed Jan 12, 2011 8:13 am Subject: Help with i2c communication in MULTI_MASTER MODE between PIC |
Hello everyone, before everything I am going to explain my situation.
We are developing a project that there are some PICs and they “speak” together using two lines I2C bus (we use CCS compiler ... |
Topic: rs232 in 16F84 1 wire free |
mizzard
Replies: 0
Views: 2649
|
Forum: General CCS C Discussion Posted: Sun Apr 26, 2009 7:43 pm Subject: rs232 in 16F84 1 wire free |
Hello, I have a problem.
I'm using a goldwafer card (pic16f84) and I only have b7 pin to communicate with other pic, 18f2550. I'm trying to use
#use rs232(stream = SALIDA_PC,baud=9600,parity= ... |
|