Search found 10 matches

by diver999
10 Sep 2014 08:41
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: dsPIC33 ADC hangs
Replies: 9
Views: 6354

Re: dsPIC33 ADC hangs

Thanks Dany I have tried all inputs from 0 to 7 - all the same. Do you have experience of this PIC ? microElektronika team : 1. Is it possible to look at this ? 2. Also, please can you post some reference code and register/bit definitions so I can try to code an alternative by poking registers ? Man...
by diver999
09 Sep 2014 19:10
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: dsPIC33 ADC hangs
Replies: 9
Views: 6354

Re: dsPIC33 ADC hangs

Hi !
I have now tried several different chips and the ADC always hangs on dsPIC33FJ32GS606.
Please could you post some reference code so that I can try to debug this ?
It is really critical for my project now.
Many thanks
by diver999
22 Aug 2014 22:05
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: dsPIC33 ADC hangs
Replies: 9
Views: 6354

Re: dsPIC33 ADC hangs

I have tried many, many things. It always hangs on adc1_read or adc1_get_sample. Nothing to do with declaration or conversion. Have you been able to test this ?
Thanks
by diver999
22 Aug 2014 16:35
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: dsPIC33 ADC hangs
Replies: 9
Views: 6354

Re: dsPIC33 ADC hangs

Hi Marina

Do you have any comments ?

Thanks
by diver999
19 Aug 2014 12:06
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: dsPIC33 ADC hangs
Replies: 9
Views: 6354

Re: dsPIC33 ADC hangs

Thanks

The Uart displays one '.' - so it goes through Init, but hangs on the first ADC1_read (or ADC1_get_sample)
I have tried this on many inputs (at least up to 6)

R
by diver999
17 Aug 2014 09:41
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: dsPIC33 ADC hangs
Replies: 9
Views: 6354

dsPIC33 ADC hangs

Hi All, I am migrating a design from 18F4520 to dsPIC33FJ32GS606. Clock is generated by 6MHz crystal. I have all done EXCEPT reading ADC1. It hangs. I have taken the demo for the dsPIC33FJ256GP710A. Code is : program ADC_Demo; var adc_result : longint; sx : string[6]; begin // PLL settings PLLPRE_4_...
by diver999
02 Aug 2014 14:12
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: dsPIC33 EEprom
Replies: 3
Views: 3063

Re: dsPIC33 EEprom

Merci jpc
jpc wrote: you will have to use external EEPROM or use the internal Flash
Do you have any code snippets for this ?
I found something (http://www.libstock.com/projects/view/7 ... on-dspic33) but it was in C and seemed to use PLL ???
R
by diver999
02 Aug 2014 13:05
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: dsPIC33 EEprom
Replies: 3
Views: 3063

Re: dsPIC33 EEprom

Merci, jpc
Do you have any code snippets for using internal flash ? I found something on libstock, but that is in C and seeems to use PLLs ????
http://www.libstock.com/projects/view/7 ... on-dspic33
by diver999
02 Aug 2014 11:49
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: dsPIC33 EEprom
Replies: 3
Views: 3063

dsPIC33 EEprom

Hi All
I have just got Micropascal pro for dsPIC33 and am trying to port old 18F4520 code to 33FJ32GS606.
I have used EEprom_read etc on ledgacy code. How do you do this for the new device?
Thanks !

Go to advanced search