Search found 40 matches

by JustinS
Wed Jan 20, 2021 5:19 pm
Forum: Feature Requests
Topic: Adjustable periodic waveform generator on PIC12F1612
Replies: 3
Views: 3694

Re: Adjustable periodic waveform generator on PIC12F1612

Dear Benj I can't put C Icon into Flowcode. I suppose it would increase the speed of the software. This is not yet a key issue. I need to be able to change the frequency while running. I have pins A1, A2, A4 at my disposal. I tested giving a "0" (10uS) pulse to pin A1 to change the generator frequen...
by JustinS
Fri Jan 15, 2021 3:13 pm
Forum: Feature Requests
Topic: Adjustable periodic waveform generator on PIC12F1612
Replies: 3
Views: 3694

Re: Adjustable periodic waveform generator on PIC12F1612

Could you please prepare an example for me.
I've never used C code.
by JustinS
Thu Jan 14, 2021 7:22 pm
Forum: Feature Requests
Topic: Adjustable periodic waveform generator on PIC12F1612
Replies: 3
Views: 3694

Adjustable periodic waveform generator on PIC12F1612

I want to build a simple generator using PIC12F1612 chip The generator works, but I can't change its frequency. The signal is generated by means of TMR2 64000Hz interrupt The variable "multiplier" allows you to change the frequency multiplier = 0 generator turned off multiplier = 1 frequency 250Hz m...
by JustinS
Thu Oct 22, 2020 10:28 am
Forum: General Programming
Topic: High-Endurance Flash in pic12f1612
Replies: 3
Views: 5311

High-Endurance Flash in pic12f1612

PIC12F1612 has no EEPROM.
It does have Flash Memory (PFM).
Can you please indicate how to use this memory?
I did not find a component in Flowcode 8 :(
by JustinS
Fri Aug 28, 2020 10:54 am
Forum: Flowcode V8
Topic: Supported Chips
Replies: 1
Views: 1111

Supported Chips

Very interesting chips appeared, e.g. PIC16F15213. Is their support planned in Flowcode? :oops:
by JustinS
Mon Aug 10, 2020 1:55 pm
Forum: General Programming
Topic: bug in 12F1612.fcdx
Replies: 2
Views: 3241

bug in 12F1612.fcdx

procesor 12F1612 can't work with HS oscilator.
the clock selector should not have this position.
The processor can work only in the INTOSC or EXTERNAL CLOCK options
by JustinS
Fri Apr 26, 2019 2:36 pm
Forum: Flowcode V8
Topic: bug in component HBRIDGE PIC12f1822
Replies: 1
Views: 1420

bug in component HBRIDGE PIC12f1822

Hello Benj I checked for curiosity how the HBRIDGE component behaves with other ICs It turned out that PIC 12F1822 is also not well served. It has only the possibility of Half Bridge and it is shown correctly. In the SETTINGS section there is no possibility to choose the Channel, Timer, Prescale Cou...
by JustinS
Thu Apr 25, 2019 7:55 am
Forum: Flowcode V8
Topic: bug in component HBRIDGE PIC16f1825
Replies: 5
Views: 2996

Re: bug in component HBRIDGE PIC16f1825

Hello Benj I checked for curiosity how the HBRIDGE component behaves with other ICs It turned out that PIC 12F1822 is also not well served. It has only the possibility of Half Bridge and it is shown correctly. In the SETTINGS section there is no possibility to choose the Channel, Timer, Prescale Cou...
by JustinS
Thu Apr 11, 2019 3:24 pm
Forum: Flowcode V8
Topic: bug in component HBRIDGE PIC16f1825
Replies: 5
Views: 2996

Re: bug in component HBRIDGE PIC16f1825

Hello,
Everything works now
Thanks
Justin
by JustinS
Thu Apr 11, 2019 10:40 am
Forum: Flowcode V8
Topic: bug in component HBRIDGE PIC16f1825
Replies: 5
Views: 2996

Re: bug in component HBRIDGE PIC16f1825

Hi Benj

Thank you for fast help
now it works ok
One note
Why is TIMER2 available only?
It seemed to me that you can choose any Timer 2, 4, 6
by JustinS
Wed Apr 10, 2019 9:53 am
Forum: Flowcode V8
Topic: bug in component HBRIDGE PIC16f1825
Replies: 5
Views: 2996

bug in component HBRIDGE PIC16f1825

I tested the HBRIDGE component on the PIC16F1938 processor. Works great.
I wanted to use it in another project based on the PIC16F1825 processor but unfortunately you can not even configure it
First of all, you can not choose a channel and therefore probably these problems.
Can You help me
by JustinS
Fri Jun 29, 2018 3:10 pm
Forum: Flowcode V8
Topic: Error in the library DSPIC33EP128MC202?
Replies: 11
Views: 6060

Re: Error in the library DSPIC33EP128MC202?

This is why there are 4 PWM channels and should be 3
by JustinS
Fri Jun 29, 2018 2:44 pm
Forum: Flowcode V8
Topic: Error in the library DSPIC33EP128MC202?
Replies: 11
Views: 6060

Re: Error in the library DSPIC33EP128MC202?

In my opinion, the library is completely wrong
by JustinS
Fri Jun 29, 2018 2:03 pm
Forum: Flowcode V8
Topic: Error in the library DSPIC33EP128MC202?
Replies: 11
Views: 6060

Re: Error in the library DSPIC33EP128MC202?

If there is 6 PWM, why is there only 4 PWM in flowcodeV6, V7, V8?

PWM Pair means that each PWM can have two outputs. They can be controlled depending on the need. they may have identical or opposite phases, They may also have dead time
by JustinS
Fri Jun 29, 2018 1:08 pm
Forum: Flowcode V8
Topic: Error in the library DSPIC33EP128MC202?
Replies: 11
Views: 6060

Re: Error in the library DSPIC33EP128MC202?

It is written in technical data: "High-Speed PWM Up to Three PWM Pairs with Independent Timing Dead Time for Rising and Falling Edges 7.14 ns PWM Resolution" If there are 3 PWMs in dsPIC33EP128MC202 it is not possible to run 4 PWM 4 PWM generators are available only in dsPIC33FJ06GS001 / 101A and ds...
by JustinS
Fri Jun 29, 2018 11:25 am
Forum: Flowcode V8
Topic: DSPIC33EPxxx Internal Oscillator setup
Replies: 2
Views: 2230

Re: DSPIC33EPxxx Internal Oscillator setup

Thank you celebriums I will try your setting. Two years ago I used the following code in C. And it worked OK. I just found him today //Setup configuration for 138.1875MHz or 69MIPs using 7.37MHz Internal Osc PLLFBD = 73;// M=75 CLKDIVbits.PLLPOST = 0;// N1=2 CLKDIVbits.PLLPRE = 0;// N2=2 OSCTUN = 0;...
by JustinS
Fri Jun 29, 2018 10:36 am
Forum: Flowcode V8
Topic: Error in the library DSPIC33EP128MC202?
Replies: 11
Views: 6060

Re: Error in the library DSPIC33EP128MC202?

I checked in V7 the same way.
I do not have the code yet.
I have a problem which channel to choose
In the data dspic33ep128mc202 there is information that there are 3 PWM channels .In the flowcode v7, v8 4PWM channels.
One is so fake, - which?
by JustinS
Fri Jun 29, 2018 9:16 am
Forum: Flowcode V8
Topic: Error in the library DSPIC33EP128MC202?
Replies: 11
Views: 6060

Error in the library DSPIC33EP128MC202?

Error in the library DSPIC33EP128MC202?
There is probably a bug in the 33EP128MC502.fcdx file
According to the datascheet, DSPIC33EP128MC202 has 3 PWM channels
The PWM component shows 4 channels: Channel 1, Chanel2, Chanel3, Chanel4
Which is incorrect? :?:
by JustinS
Thu Jun 28, 2018 1:34 pm
Forum: Flowcode V8
Topic: DSPIC33EPxxx Internal Oscillator setup
Replies: 2
Views: 2230

DSPIC33EPxxx Internal Oscillator setup

I'm starting testing Flovcode V8 and DSPIC programming.
I test DSPIC3EP128MC202.
I searched the entire forum and can not find the C code for the internal oscillator configuration for the 140MHz frequency.
IntOsc Helper shows nothing
I am asking for quick help
:|
by JustinS
Mon Feb 12, 2018 4:09 pm
Forum: 8-Bit PIC
Topic: Problem with the PWM waveform frequency for PIC16f1936
Replies: 9
Views: 5958

Re: Problem with the PWM waveform frequency for PIC16f1936

Dear Benj
The PWM macro after refreshing shows the correct frequency.
However, on the PWM PCB test the frequency has a completely different value.
The problem with showing is not important
by JustinS
Mon Feb 12, 2018 12:59 pm
Forum: 8-Bit PIC
Topic: Problem with the PWM waveform frequency for PIC16f1936
Replies: 9
Views: 5958

Re: Problem with the PWM waveform frequency for PIC16f1936

Dear Friends
It is possible to use PWM without a macro. I am asking for help in creating the C code.
Ultimately, I want to work in ECCP Mode Half-Brigde.
I will use RC6 (PA3) and RC7 (P3B) pins and I can not use the PWM macro
by JustinS
Mon Feb 12, 2018 12:31 pm
Forum: 8-Bit PIC
Topic: Problem with the PWM waveform frequency for PIC16f1936
Replies: 9
Views: 5958

Re: Problem with the PWM waveform frequency for PIC16f1936

Dear Friends
I am asking you for quick help.
I introduced the updates that Ben recommended.
I changed the generator to an internal 32000000Hz (PLL ON). Attaching a new file
The 32MHz clock works ok because RA0 is the correct frequency.
PWM output instead of 31.25kHz is only 2kHz
by JustinS
Mon Feb 12, 2018 8:36 am
Forum: 8-Bit PIC
Topic: Problem with the PWM waveform frequency for PIC16f1936
Replies: 9
Views: 5958

Re: Problem with the PWM waveform frequency for PIC16f1936

The generator is configured well. I do not use a quartz oscillator. I use an external generator 12Mhz It seems to me that the PWM macro does not work well. When I changed the clock frequency of 12MHz to 8MHz, the PWM component did not change the frequency and still shows 11.718kHz I need 11.718kHz f...
by JustinS
Sat Feb 10, 2018 5:03 pm
Forum: 8-Bit PIC
Topic: Problem with the PWM waveform frequency for PIC16f1936
Replies: 9
Views: 5958

Problem with the PWM waveform frequency for PIC16f1936

Problem with the PWM waveform frequency for PIC16f1936 I am using the latest version of Flowcode 7 I have a test plate made of PIC16f1936 with an external 12MHz generator. The program that outputs the 50Hz waveform at the RA0 output At the RB0 output, a waveform of approximately 11 kHz should appear...
by JustinS
Wed Jun 08, 2016 12:02 pm
Forum: Bug reports
Topic: [solved] BUG in FLOWCODE 6.1.3.2 PWM in PIC16F1933 no work
Replies: 6
Views: 9434

Re: [solved] BUG in FLOWCODE 6.1.3.2 PWM in PIC16F1933 no w

Thank your for a quick replay. It compiles now :D