Search found 44 matches

by pmgreene01
Fri Feb 20, 2026 3:45 pm
Forum: General
Topic: dsPIC33 Sample ADC synchronous with PWM
Replies: 8
Views: 1093

Re: dsPIC33 Sample ADC synchronous with PWM

Thanks for your help. I will stay with regular pwm initially and use jumpers to allow me to test the high speed pins later after things are working.
by pmgreene01
Thu Feb 19, 2026 1:03 pm
Forum: General
Topic: dsPIC33 Sample ADC synchronous with PWM
Replies: 8
Views: 1093

Re: dsPIC33 Sample ADC synchronous with PWM

Thank you for the detailed reply. This is all a bit over my head which is why I chose Flowcode in the first place. In my first project (which is working), I used the PWM component and configured the PWM to $PORTB.10 and it is working fine. My current PWM is configured at 40khz and I have a duty cycl...
by pmgreene01
Wed Feb 18, 2026 2:51 pm
Forum: General
Topic: dsPIC33 Sample ADC synchronous with PWM
Replies: 8
Views: 1093

Re: dsPIC33 Sample ADC synchronous with PWM

Hi, I am following up on this. I got things to work in my first application because I was using a single PWM channel. In my next iteration, I need to use 3 PWM channels. However, the dialog window to configure the PWM outputs on my 2D diagram has a limited list of pins and the pins linked to the PWM...
by pmgreene01
Sun Dec 21, 2025 4:00 pm
Forum: Feature Requests
Topic: FRAM COMPONENT
Replies: 29
Views: 6556

Re: FRAM COMPONENT

Thanks for the reply. I will look at incorporting this. I went down a rabbit hole with ChatGPT and got a writeString and readString macro working, but there is a ton of C-code, so I would like to be able to do it more with Flowcode. I can share the c-code if it is of any interest. However, it takes ...
by pmgreene01
Sun Dec 21, 2025 2:46 am
Forum: Feature Requests
Topic: FRAM COMPONENT
Replies: 29
Views: 6556

Re: FRAM COMPONENT

I want to use a FRAM and found this thread. However, I am not sure how I take the file FRAM_2.fcfx and use it as a component in my project. When I chose a FRAM for storage, I didn't realize that the built in EEPROM components couldn't be used to write and read to the device. I have no idea how to wr...
by pmgreene01
Wed Dec 10, 2025 10:01 pm
Forum: User Components
Topic: Component: EEPROM (DS28E07)
Replies: 1
Views: 501

Component: EEPROM (DS28E07)

I am wondering if this component will work with similar 1-wire EEPROM devices that have more storage. The DS28E07 has 1kb of storage, but there are similar chips with up to 20kb.
by pmgreene01
Wed Dec 10, 2025 1:11 am
Forum: General
Topic: PIC16 toolchain for FC9
Replies: 22
Views: 18132

Re: PIC16 toolchain for FC9

I was able to get the old compiler working again, so I can't generate the error messages any more. I thought I needed the newest compiler, but it turns out I can work with the built in one. I am not going to pursue it any more as it seems too complicated to get working.

Thanks for the reply.
by pmgreene01
Mon Dec 08, 2025 10:19 pm
Forum: General
Topic: PIC16 toolchain for FC9
Replies: 22
Views: 18132

Re: PIC16 toolchain for FC9

Are there any better, more clear instructions for how to use the latest Microchip XC16 v2.10 compiler? I tried the stuff above and the batch files, but it still doesn't work. Is there any document that describes what is supposed to be going on with the $(options)??? This is the error message I get. ...
by pmgreene01
Fri Nov 21, 2025 10:51 pm
Forum: General
Topic: dsPIC33 Sample ADC synchronous with PWM
Replies: 8
Views: 1093

dsPIC33 Sample ADC synchronous with PWM

I read that the dsPIC33EV that I am working with supports sampling an ADC channel synchronous with the PWM output. I want to do this to get accurate current sensing in a motor drive. I wanted to find out if Flowcode supports this configuration before trying to code it with a C-code block.
by pmgreene01
Thu Jan 18, 2024 2:59 pm
Forum: General
Topic: Trouble activating toolchain
Replies: 1
Views: 2399

Trouble activating toolchain

I just purchased the license to the Pic16 toolchain. I activated the key and then downloaded and installed the Pic16 toolchain. I have already successfully programmed some of the free targets and now I want to move to a paid target. So I have the MPLab software and my PicKit4 installed and working. ...