Thanks Ben, that jogged me in the right direction.
Using an external 8Mhz XTAL, now have the dsPIC it running at 80Mhz, UART all good and a 1mS pulse (use FC delay) is scoped at 1.0023 mS
so all spot on for my use.
I mistakenly had a Value of 40 as my 'M' value, not 'Multipler - 2' thus 38 ...
Search found 256 matches
- Sat Aug 01, 2026 1:22 pm
- Forum: Projects - Embedded
- Topic: dsPIC33 PLL
- Replies: 2
- Views: 276
- Fri Jul 31, 2026 9:03 am
- Forum: Projects - Embedded
- Topic: dsPIC33 PLL
- Replies: 2
- Views: 276
dsPIC33 PLL
Hi Guys,
Maybe someone with more dsPIC experiance can help, i'm new to poking around at this level. :)
I have a dsPIC33EV with an external 8MHz XTAL I wish to run this at 80Mhz. I'm using FC to set most of my registers, via build options.
Then the first line on my FC is C Code.
CLKDIVbits ...
Maybe someone with more dsPIC experiance can help, i'm new to poking around at this level. :)
I have a dsPIC33EV with an external 8MHz XTAL I wish to run this at 80Mhz. I'm using FC to set most of my registers, via build options.
Then the first line on my FC is C Code.
CLKDIVbits ...
- Thu Jul 30, 2026 3:15 pm
- Forum: Tips & Tricks
- Topic: Flowcode 11 Serial In Circuit Debug (ICD)
- Replies: 4
- Views: 3957
Re: Flowcode 11 Serial In Circuit Debug (ICD)
Hi Ben,
Finally got time to look at this again.
PIC18F2585 on a stand alone custom PCB.
Can this method only be used with direct USB programmed devices? since you need to Program & do ICD over a common serial link.
I use PICKIT3 or PICKIT5 for programming, but also have various old Eblocks ...
Finally got time to look at this again.
PIC18F2585 on a stand alone custom PCB.
Can this method only be used with direct USB programmed devices? since you need to Program & do ICD over a common serial link.
I use PICKIT3 or PICKIT5 for programming, but also have various old Eblocks ...
- Thu Jul 02, 2026 1:05 pm
- Forum: Tips & Tricks
- Topic: Flowcode 11 Serial In Circuit Debug (ICD)
- Replies: 4
- Views: 3957
Re: Flowcode 11 Serial In Circuit Debug (ICD)
Hi Ben,
This ICD feature looks really interesting.
At the ned of your video, you mention that it may require a custom file to work with certain microcontrollers.
My projects are mostly using PICs and controlleres that all have UART which I typically dump diagnostics out to through an FTDI Serial ...
This ICD feature looks really interesting.
At the ned of your video, you mention that it may require a custom file to work with certain microcontrollers.
My projects are mostly using PICs and controlleres that all have UART which I typically dump diagnostics out to through an FTDI Serial ...
- Tue Jun 16, 2026 2:59 pm
- Forum: Feature Requests
- Topic: App Developer - Text Array / Values Table
- Replies: 10
- Views: 14105
Re: App Developer - Text Array / Values Table
Ah... yeah. Mostly I thinking for PC developer. Which may be on a different development path to Web Dev. J.
- Tue Jun 16, 2026 12:17 pm
- Forum: Feature Requests
- Topic: App Developer - Text Array / Values Table
- Replies: 10
- Views: 14105
Re: App Developer - Text Array / Values Table
Hi, I noted from another post that App Dev may seen some more development soon, so a cheeky bump for this idea.
A simple user defined array of textboxes, x Columns * Y Rows.
With a macro that populates each cell with a text string or value.

A simple user defined array of textboxes, x Columns * Y Rows.
With a macro that populates each cell with a text string or value.
- Thu Dec 11, 2025 12:14 pm
- Forum: General
- Topic: C Based Delay - with and Without Timers
- Replies: 10
- Views: 8110
Re: C Based Delay - with and Without Timers
Yeah, I'm definatly staying within standard FC as much as I can. I'm an engineer, certainly no coder! Sadly the single Hardware UART is being used to drive a LIN output. J.
- Thu Dec 11, 2025 10:33 am
- Forum: General
- Topic: C Based Delay - with and Without Timers
- Replies: 10
- Views: 8110
Re: C Based Delay - with and Without Timers
Well, I still can't get any Software driven UART type to send out anything with the correct Bit timing for 19200 or above.
I would have though a PIC running at 32MHz should have been able to do that?
Running in HS PLL mode is painful since I'm not sure if the FC internal delays/timers ...
I would have though a PIC running at 32MHz should have been able to do that?
Running in HS PLL mode is painful since I'm not sure if the FC internal delays/timers ...
- Thu Dec 11, 2025 9:53 am
- Forum: General
- Topic: C Based Delay - with and Without Timers
- Replies: 10
- Views: 8110
Re: C Based Delay - with and Without Timers
I'm going down this rabbit hole a bit further to improve my understanding and I 'think' I'm getting there!
This needs two instuction cycles, which may explain the larger value I got previously.
LATC6 = 1;
NOP();
LATC6 = 0;
I think this is closer to a single instruction delay and is my TRUE ...
This needs two instuction cycles, which may explain the larger value I got previously.
LATC6 = 1;
NOP();
LATC6 = 0;
I think this is closer to a single instruction delay and is my TRUE ...
- Thu Dec 11, 2025 9:11 am
- Forum: General
- Topic: C Based Delay - with and Without Timers
- Replies: 10
- Views: 8110
Re: C Based Delay - with and Without Timers
Hi, Thanks Martin, Leigh,
As you both stated the method used signiicantly effects the duration of very short pulses.
A) toggling single bit of Port C, using the FC output command and delay using a single NOP(); in a C code box. Result a Pulse of : 998nS
B) toggling a bit using "LATC6" and Delay ...
As you both stated the method used signiicantly effects the duration of very short pulses.
A) toggling single bit of Port C, using the FC output command and delay using a single NOP(); in a C code box. Result a Pulse of : 998nS
B) toggling a bit using "LATC6" and Delay ...