Search found 11 matches

Return

by lexicon
Fri Oct 27, 2017 5:09 pm
Jump to forum
Jump to topic

Re: Windows10 Access violation errors

Just an update on this: in recent months the V5 crashes appear to have stopped so I'm assuming some Windows 10 update fixed the issue.

We've now upgraded to FC7 anyway :)
by lexicon
Wed Feb 21, 2018 6:19 pm
Jump to forum
Jump to topic

Re: ADC oddness on dsPIC33EP512GM710

I've been doing a bit more investigation on the incorrect B8 output. It seems it's not the output to port B8 but reading from E13, this always presents a low state until I do an ADC read, then it works correctly. The attached program works fine in sim - operating the input switch E13 selects the out...
by lexicon
Thu Mar 01, 2018 2:52 pm
Jump to forum
Jump to topic

Re: ADC oddness on dsPIC33EP512GM710

Hi Ben, I now get the following error: C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_CAN.c:43:3: error: #error "Internal CAN not supported on this device" I think you might have started with an old version as per this thread? https://www.matrixtsl.com/mmforums/viewtopic.php?...
by lexicon
Thu Apr 05, 2018 4:47 pm
Jump to forum
Jump to topic

Re: ADC oddness on dsPIC33EP512GM710

So I finally got around to looking a bit deeper into my ADC issue. I couldn't seem to get anywhere playing with timings etc within Flowcode, so I cobbled together some C code in MPLAB and I was able to flash a LED at a variable rate set by a pot - at least I know the hardware works. I've imported th...
by lexicon
Wed Apr 18, 2018 3:51 pm
Jump to forum
Jump to topic

Re: ADC oddness on dsPIC33EP512GM710

At least two other ADC channels are also working, so that looks good - thanks Ben.
by lexicon
Wed Apr 18, 2018 2:12 pm
Jump to forum
Jump to topic

Re: ADC oddness on dsPIC33EP512GM710

Thanks Ben, first impressions are good, it certainly works with the test code.
I'll try it out on my actual project as soon as I can.

Regards,
Martin.
by lexicon
Wed Jun 20, 2018 4:54 pm
Jump to forum
Jump to topic

Re: PIC18F66K80 - RA5 not selectable

Yep, that appears to have done the trick - thanks.
by lexicon
Wed Jun 20, 2018 5:28 pm
Jump to forum
Jump to topic

Re: CAN bus speed on dsPIC33EP512GM710

I've had time to have another look at this, so I wrote my own bit of config code which I call after the FC CAN init macro. The speed is now correct at 500kbps using 16MHz clock (although the first time it was half speed and I had to change the CANCKS bit, so maybe this device does have that issue af...
by lexicon
Wed Nov 14, 2018 5:05 pm
Jump to forum
Jump to topic

Re: PIC18F66K80 - Confused by UART config

I changed the config file to this: Define22=#define MX_UART_1 Define23=#define MX_UART_1_TX_PORT portg Define24=#define MX_UART_1_TX_TRIS trisg Define25=#define MX_UART_1_TX_PIN 3 Define26=#define MX_UART_1_RX_PORT portg Define27=#define MX_UART_1_RX_TRIS trisg Define28=#define MX_UART_1_RX_PIN 0 De...
by lexicon
Tue Jan 08, 2019 11:21 am
Jump to forum
Jump to topic

Re: dsPIC33EP512GM710 missing PWM channels

OK, thanks Ben. You have actually told me that before - memory's getting carp these days! The thing that threw me about this is that the datasheet only mentions the 12 high speed PWM channels. It doesn't say the OC modules also have a PWM mode. Only when you read the OC control register info does it...
by lexicon
Tue Aug 13, 2019 4:51 pm
Jump to forum
Jump to topic

Re: dsPIC33EP512GM710 CAN bus stopped working

Hi Leigh, Thanks for the archive: @72 and @278 both work (albeit with the incorrect speed as per the thread referenced in my opening post). All the others, including the as-installed version, appear to reset the device (i.e the whole PIC) when performing a buffer send. Initially I couldn't understan...