Author |
Message |
Topic: info about setup of the AD clock using PIC18F |
ik1wvq
Replies: 2
Views: 8668
|
Forum: General CCS C Discussion Posted: Fri Jan 08, 2010 4:14 pm Subject: info about setup of the AD clock using PIC18F |
many thanks Ttelmah. you are the best...
Mauro |
Topic: info about setup of the AD clock using PIC18F |
ik1wvq
Replies: 2
Views: 8668
|
Forum: General CCS C Discussion Posted: Fri Jan 08, 2010 5:53 am Subject: info about setup of the AD clock using PIC18F |
Hi,
I need to done AD conversions as fast as possible (18F2620 - 16MHz clock) without using SLEEP.
I normally used:
setup_adc(ADC_CLOCK_INTERNAL);
but, by carefully reading the dat ... |
Topic: RA0 (as ANALOG) and RA3 (as VREF+) usage question on PIC18F |
ik1wvq
Replies: 1
Views: 3439
|
Forum: General CCS C Discussion Posted: Fri Jan 01, 2010 3:51 am Subject: RA0 (as ANALOG) and RA3 (as VREF+) usage question on PIC18F |
Hi,
I need to use RA0 as analog input, and RA3 as VREF+, with RA1 and RA2 as normal DIGITAL inputs/outputs. (on PIC18F2620)
It is possible to make this?
I ask this because I suppose what RA3 ... |
Topic: simple mode to send UDP packet ? |
ik1wvq
Replies: 2
Views: 6316
|
Forum: General CCS C Discussion Posted: Wed Sep 16, 2009 10:19 am Subject: simple mode to send UDP packet ? |
hi,
i need to send UDP packets to a single TCP/IP address in a local network.
ONLY SEND, ONLY UDP, ONLY single address, ONLY local network.
do you know a SIMPLE code to obtain this, using the PIC ... |
Topic: PCD problems on reading port_B .. HELP PLEASE! |
ik1wvq
Replies: 4
Views: 5976
|
Forum: General CCS C Discussion Posted: Fri Sep 19, 2008 3:50 am Subject: PCD problems on reading port_B .. HELP PLEASE! |
Hi,
I found myself the solution!
The chip 33FJ128GP706 has TWO analog_to_digital modules, and then, we MUST declare:
setup_adc_ports(no_analogs); // useless, because the compiler produces itse ... |
Topic: PCD problems on reading port_B .. HELP PLEASE! |
ik1wvq
Replies: 4
Views: 5976
|
Forum: General CCS C Discussion Posted: Tue Sep 16, 2008 1:38 am Subject: PCD problems on reading port_B .. HELP PLEASE! |
thanks anyway , but still dont work ..
ragards |
Topic: PCD problems on reading port_B .. HELP PLEASE! |
ik1wvq
Replies: 4
Views: 5976
|
Forum: General CCS C Discussion Posted: Mon Sep 15, 2008 6:18 am Subject: PCD problems on reading port_B .. HELP PLEASE! |
Hi,
PCD 4.079
3FJ128GP706
PROBLEM:
I try to read the PORTB ( whole with "input_b()" or single pin with "input(pin_rb11) ")
The results is all zeroes.
This my trivial progr ... |
Topic: PIC24/dsPICĀ® Compiler Comments |
ik1wvq
Replies: 36
Views: 127573
|
Forum: General CCS C Discussion Posted: Mon Jul 14, 2008 9:58 am Subject: PCD problem with "pin_select" of SPI HW |
Hi,
i noticed a problem with SPI "pin_select" ...
#include <33FJ12GP202.h>
#type unsigned
#Fuses WRTB,NOBSS,NOPROTECT
#Fuses NOWRT,PR_PLL,XT,CKSFSM
#Fuses NOOSCIO,NOWDT,N ... |
Topic: PCD problem with "pin_select" of SPI HW |
ik1wvq
Replies: 9
Views: 18382
|
Forum: General CCS C Discussion Posted: Mon Jul 14, 2008 9:57 am Subject: PCD problem with "pin_select" of SPI HW |
Hi,
I noticed a problem with SPI "pin_select" ...
#include <33FJ12GP202.h>
#type unsigned
#Fuses WRTB,NOBSS,NOPROTECT
#Fuses NOWRT,PR_PLL,XT,CKSFSM
#Fuses NOOSCIO,NOWDT,NOW ... |
Topic: DSPIC33 and setup_oscillator() problems.. a solution.. |
ik1wvq
Replies: 5
Views: 11445
|
Forum: General CCS C Discussion Posted: Mon Feb 18, 2008 12:28 pm Subject: DSPIC33 and setup_oscillator() problems.. a solution.. |
HI all,
i try to use the SETUP_OSCILLATOR function with DS33.
The results was bad, and then i wrote this simple code to program
PLL and switch oscillator.
WARNING: this is valid ONLY for DS33.
... |
Topic: 33FJ12GP202 and WRITE_PROGRAM_MEMORY info |
ik1wvq
Replies: 0
Views: 2895
|
Forum: General CCS C Discussion Posted: Tue Feb 05, 2008 5:45 pm Subject: 33FJ12GP202 and WRITE_PROGRAM_MEMORY info |
Hi,
i try to convert my own F18 bootloader written in C CCS to new DSPIC33 family.
the GETENV() function report the followings:
; DEVICE "DSPIC33FJ12GP202"
; SMALLEST FLASH_WRITE_SIZ ... |
Topic: PIC12F635 interrupt_on_change question |
ik1wvq
Replies: 2
Views: 5632
|
Forum: General CCS C Discussion Posted: Wed Mar 29, 2006 5:51 am Subject: PIC12F635 interrupt_on_change question |
HI,
12C635 provides an interrupt when selected pin/pins change state.
Ok, but, if i select 2 or more pins, how to understand what pin/pins
is effectively changed ?.
Take in mind what i have sh ... |
Topic: EEPROM DATA UPLOAD VIA BOOTLOADER on PIC18 |
ik1wvq
Replies: 1
Views: 4587
|
Forum: General CCS C Discussion Posted: Fri Feb 17, 2006 6:23 pm Subject: EEPROM DATA UPLOAD VIA BOOTLOADER on PIC18 |
Hi,
i wrote my own bootloader for PIC18.
I know that EEPROM data are "mapped" starting at 0xF00000 ...
my bootloader read the .hex file and write the data via the
WRITE_PROGRAM_MEMORY function.
... |
Topic: IC to expand the total# of external interrupts? |
ik1wvq
Replies: 7
Views: 11579
|
Forum: General CCS C Discussion Posted: Sun Jun 19, 2005 1:03 am Subject: IC to expand the total# of external interrupts? |
or, if you want, write an own expander with an 16F876 (or smaller/larger) configured as I/O expander with interrupt menagement, what poll all lines waiting for events, and talk with master via RB0 fo ... |
Topic: IC to expand the total# of external interrupts? |
ik1wvq
Replies: 7
Views: 11579
|
Forum: General CCS C Discussion Posted: Sun Jun 19, 2005 12:57 am Subject: IC to expand the total# of external interrupts? |
Microchip MCP23016 (16 LINES) or MCP23008 (8 lines)
I/O expander via I2C with interrupt port configurable.
Regards
Mauro IK1WVQ |
|