Author |
Message |
Topic: Are there advantages to using a hardware CRC? |
ortegahernandes
Replies: 2
Views: 4769
|
Forum: General CCS C Discussion Posted: Wed Nov 29, 2023 8:37 am Subject: Are there advantages to using a hardware CRC? |
I'm going to ask a very general question.
here I can use a CRC both via hardware and software
Is there an advantage to using hardware? |
Topic: Fixed voltage ( 0.6V) in pic16f886 |
ortegahernandes
Replies: 9
Views: 26639
|
Forum: General CCS C Discussion Posted: Wed Feb 02, 2022 5:39 pm Subject: Fixed voltage ( 0.6V) in pic16f886 |
re: needed this output to do an adc adjustment to find the closest power supply (~5V) in real time as it fluctuates under some conditions.
if you're saying VDD is changing ,you need to seriously r ... |
Topic: Fixed voltage ( 0.6V) in pic16f886 |
ortegahernandes
Replies: 9
Views: 26639
|
Forum: General CCS C Discussion Posted: Wed Feb 02, 2022 5:29 pm Subject: Fixed voltage ( 0.6V) in pic16f886 |
Ttelmah
Thanks for the tip.
It has clarified enough the fact of being able to read the fixed reference.
In dspic I do the same thing,
I read the VBG (voltage bandgap) and do the calculation for ... |
Topic: Fixed voltage ( 0.6V) in pic16f886 |
ortegahernandes
Replies: 9
Views: 26639
|
Forum: General CCS C Discussion Posted: Wed Feb 02, 2022 10:16 am Subject: Fixed voltage ( 0.6V) in pic16f886 |
Good afternoon everyone.
in the datasheet of pic 16f886 it is indicating that it has a fixed voltage of 0.6V for reference.
But I didn't find how to configure
I tried to set the bits
FVREN = ... |
Topic: Oscillating performance |
ortegahernandes
Replies: 10
Views: 21831
|
Forum: General CCS C Discussion Posted: Wed Mar 17, 2021 5:22 am Subject: Oscillating performance |
Thank you all for your comments.
Unfortunately, I won't have access to these two hardware anytime soon, as I'm on vacation.
However, I can say that in the most "slow" DSPiC, if I set t ... |
Topic: Oscillating performance |
ortegahernandes
Replies: 10
Views: 21831
|
Forum: General CCS C Discussion Posted: Sat Mar 13, 2021 7:37 am Subject: Oscillating performance |
Configured these two microcontroller with practically the same parameters.
It is very simple programming.
With an oscilloscope I noticed a curious thing.
The 33FJ16GS504 oscillates twice the sp ... |
Topic: Curiosity about Data integrity (off topic) |
ortegahernandes
Replies: 1
Views: 9048
|
Forum: General CCS C Discussion Posted: Sat Feb 13, 2021 7:14 am Subject: Curiosity about Data integrity (off topic) |
Good morning everyone.
Most of the protocols available for communication between electronic components on the same PCB (I2C, SPI, etc.) there is no "checksum", that is, what arrived, arri ... |
Topic: #use rs232 |
ortegahernandes
Replies: 2
Views: 11248
|
Forum: General CCS C Discussion Posted: Tue Jan 19, 2021 1:44 pm Subject: #use rs232 |
Hello good afternoon everyone.
Well at the beginning of the microcontroller programming it is possible to adjust some communication parameters like baudrate stop bit, parity, timeout .....
#user ... |
Topic: I2C velocity |
ortegahernandes
Replies: 3
Views: 12543
|
Forum: General CCS C Discussion Posted: Fri Jan 08, 2021 6:21 pm Subject: I2C velocity |
First of all thanks for responding.
And for remembering that I could "tighten" Pull Up (which was in 3K3) ...
The hardware (PCB) is already ready, has a ground plane on both surfaces, ... |
Topic: I2C velocity |
ortegahernandes
Replies: 3
Views: 12543
|
Forum: General CCS C Discussion Posted: Fri Jan 08, 2021 8:18 am Subject: I2C velocity |
I have an i2c device that supports 1 MHZ, 400 KHz and 100 Khz.
It is an F-ram memory, the equipment will be a data logger so I need quick and constant recordings in the memory.
The speed of 100 ... |
Topic: dsPIC33ch128mp506 + read_adc // freeze [resolved] |
ortegahernandes
Replies: 3
Views: 13856
|
Forum: General CCS C Discussion Posted: Sat Nov 14, 2020 10:20 am Subject: dsPIC33ch128mp506 + read_adc // freeze [resolved] |
I've solved the problem ......
if someone has the same problem ...
the parameter was missing:
"ADC_ENABLE_SHARED_CORE"
setup_adc(ADC_CLOCK_SYSTEM | ADC_CLOCK_DIV_2 | ADC_WARM ... |
Topic: dsPIC33ch128mp506 + read_adc // freeze [resolved] |
ortegahernandes
Replies: 3
Views: 13856
|
Forum: General CCS C Discussion Posted: Sat Nov 14, 2020 3:46 am Subject: dsPIC33ch128mp506 + read_adc // freeze [resolved] |
I made a simplified example of how it freezesL
#include <33CH128MP506.h>
#device ADC=10
#use delay(crystal=32MHz)
#build (stack = 512)
#FUSES NOWDT //No ... |
Topic: dsPIC33ch128mp506 + read_adc // freeze [resolved] |
ortegahernandes
Replies: 3
Views: 13856
|
Forum: General CCS C Discussion Posted: Sat Nov 14, 2020 3:22 am Subject: dsPIC33ch128mp506 + read_adc // freeze [resolved] |
Hello, good morning everyone.
I have a card with a dsPIC33ch128mp506.
After a lot of "fighting" I managed to activate the two nuclei and, they are almost fully functional, just missing ... |
Topic: can invert the PWM signal? |
ortegahernandes
Replies: 1
Views: 8582
|
Forum: General CCS C Discussion Posted: Thu Jul 02, 2020 5:45 pm Subject: can invert the PWM signal? |
Can invert the PWM signal?
Instead of starting positive, start negative for one of the PWM
setup_compare (1, COMPARE_PWM | COMPARE_TIMER2);
setup_compare (2, COMPARE_PWM | COMPARE_T ... |
Topic: What is "POR_FROM_DS" [ SOLVED ! ] |
ortegahernandes
Replies: 7
Views: 14992
|
Forum: General CCS C Discussion Posted: Sat Mar 28, 2020 8:21 am Subject: What is "POR_FROM_DS" [ SOLVED ! ] |
SOLVED !
I removed the "disabling the serial"
it's been running for over an hour
the problem occurred in less than 5 minutes.
As I still have a lot of RAM space, I put a value of 102 ... |
|