Search found 126 matches

by Ferla
Mon Jan 08, 2018 12:16 pm
Forum: General Programming
Topic: Convert configuration Pic33EP to 33MX
Replies: 0
Views: 3708

Convert configuration Pic33EP to 33MX

Hello guys you could give me a hand in passing this code C (Pic33EP256MU806) ​​adapting it to the Pic33MX340F512H. Configure the clock speed and always a disaster. Do you know any road or tool that can help? PLLFBD = 46; //frequenza uscita PLL // M=48 CLKDIVbits.PLLPOST = 0; // N1=2 CLKDIVbits.PLLPR...
by Ferla
Thu Jan 04, 2018 8:17 am
Forum: Flowcode V7
Topic: UDP string rx
Replies: 40
Views: 18146

Re: UDP string rx

Hi Martin Excuse me if I did not answer you before, I was busy with the job. Thank you for your answer, I managed to complete what I wanted. Now I'm waiting for the hardware. We hope not to fight too much with the piloting of the LEDs ws2812. I read on the forum about the IP exchange etc. on EB023-2...
by Ferla
Fri Dec 29, 2017 3:54 pm
Forum: Flowcode V7
Topic: UDP string rx
Replies: 40
Views: 18146

Re: UDP string rx

Guys maybe I found the right way
viewtopic.php?t=6650
by Ferla
Fri Dec 29, 2017 8:21 am
Forum: Flowcode V7
Topic: UDP string rx
Replies: 40
Views: 18146

UDP string rx

Hello to all First of all, I wanted to wish you a Happy New Year. For second, ask for your opinion. I was trying to use the EB023 modules or the comp. ENC28J60 to receive a string via UDP protocol. My example rx string is so "015010112113114" where I should divide it into blocks to make sure that th...
by Ferla
Wed Jul 12, 2017 7:21 am
Forum: Flowcode V7
Topic: Convert BoostC to XC8
Replies: 9
Views: 6183

Re: Convert BoostC to XC8

Many thanks for your collaboration Benj
Fixed I did not put space between the 2 and the comma.
Greetings
by Ferla
Tue Jul 11, 2017 11:15 am
Forum: Flowcode V7
Topic: Convert BoostC to XC8
Replies: 9
Views: 6183

Re: Convert BoostC to XC8

Hi Benj
As you rightly advised, it was an active setup within the chip configuration.
Now you can compile perfectly but only if I remove the C code:
asm
{
bcf _porte,2
}

Try the formatting types you advise but nothing.
You can kindly tell me how to convert it correctly for XC8.
Thanks.
by Ferla
Sat Jul 08, 2017 2:44 pm
Forum: Flowcode V7
Topic: Convert BoostC to XC8
Replies: 9
Views: 6183

Re: Convert BoostC to XC8

Guys I got stuck and I can not understand why the compiler from these mistakes...!!!
by Ferla
Thu Jul 06, 2017 3:44 pm
Forum: Flowcode V7
Topic: Convert BoostC to XC8
Replies: 9
Views: 6183

Re: Convert BoostC to XC8

Beny / LeighM ....... not even Superman and fast as you when you need it. ;-)
Thanks tonight I try to let you know.
by Ferla
Thu Jul 06, 2017 2:29 pm
Forum: Flowcode V7
Topic: Convert BoostC to XC8
Replies: 9
Views: 6183

Convert BoostC to XC8

Hello guys You can help me in converting from FC4 BoostC to FC7 XC8. I have a project created in FC4 with several icons in C code, now I would like to bring it to FC7 to make some changes. After several nights of trying to find solutions by reading the XC8 manual and surfing the forum, ideas got con...
by Ferla
Mon Mar 06, 2017 12:41 pm
Forum: Flowcode V7
Topic: Pic30F4012 PWM not assign customer pin
Replies: 10
Views: 6027

Re: Pic30F4012 PWM not assign customer pin

Hello Benj I always take a cue from the industrial world and try to understand the why of certain choices. Has for some time I want a printer cnc but I always see on the web coarse printers without an effective position control axes. All printers are also beautiful and functional, but when it comes ...
by Ferla
Mon Mar 06, 2017 11:38 am
Forum: Flowcode V7
Topic: Pic30F4012 PWM not assign customer pin
Replies: 10
Views: 6027

Re: Pic30F4012 PWM not assign customer pin

Thank you all.
Fantastic . Now the control of these BLDC motors is increasingly in demand both for home use as CNC construction in both the industrial and robotics world.
It would be great to have something that will help using Flowcode.
I await your updates.
Ferla
by Ferla
Mon Mar 06, 2017 8:27 am
Forum: Flowcode V7
Topic: Pic30F4012 PWM not assign customer pin
Replies: 10
Views: 6027

Re: Pic30F4012 PWM not assign customer pin

Hello Matt Thank you for your kind reply. Step by step: - Micro I am using is the dsPic30F4012 which has excellent characteristics for driving DC and BLDC motors, as shown in the figure to well 6 PWM outputs, Pin 21,22,23,24,25,26 -flowcode: when I insert in the panel proposed the PWM component in t...
by Ferla
Sat Mar 04, 2017 7:33 pm
Forum: Flowcode V7
Topic: Pic30F4012 PWM not assign customer pin
Replies: 10
Views: 6027

Pic30F4012 PWM not assign customer pin

Hello to all Finding a micro component PWM pin assign different problem. When I import the component PWM this remains set to PORTD. Can you tell me why? I put flags on writing, I view the PIC component, but when I select the Port to me concerned this always repeats PORTD.0 Thanks to you all for the ...
by Ferla
Tue Jul 12, 2016 8:11 am
Forum: Flowcode V6
Topic: Handling Buffer contents
Replies: 0
Views: 2965

Handling Buffer contents

Hello Guys, I ask a simple help.
I have a content in the buffer date and time 20016/07/12 - 09:10:25.
I manage to extract and display the contents of the buffer of LCD as well as find it, but if I wanted to see it so -12/07/2016 9:10:25 how can I? Can you help me.
Thank you
Ferla
by Ferla
Sun Nov 01, 2015 10:06 pm
Forum: Flowcode V5
Topic: Pic 18f46K20 Send UART Software problem
Replies: 8
Views: 10597

Re: Pic 18f46K20 Send UART Software problem

To check the times I use logic analyzer Seleae Logic8 www.saleae.com , and I have a transmission time of 102us. as mentioned using a TTL converter max232 on com1 the string it is received correctly on the PC, but not dal12f675. I have not the 12f1840 who will order this week, in the meantime, my pur...
by Ferla
Sun Nov 01, 2015 8:06 pm
Forum: Flowcode V5
Topic: PSPMODE 18F46K20
Replies: 12
Views: 13165

Re: PSPMODE 18F46K20

Thanks Jac
with your help I was able to set the right frequency oscillator see post http://www.matrixtsl.com/mmforums/viewt ... 46&t=16986
even if it lacked a "0" osccon=0b01110000; . Now he's fighting with the proper time to send the string in RS232
Thanks
Ferla
by Ferla
Sun Nov 01, 2015 7:52 pm
Forum: Flowcode V5
Topic: Pic 18f46K20 Send UART Software problem
Replies: 8
Views: 10597

Re: Pic 18f46K20 Send UART Software problem

Martin thanks for your advice, I tried to send the string, but the result was the same. The attached file and an example of another 1000 that I did not succeed. I have not the right time TX can help me, and here is often just a boost in that you can understand many things. On the other hand the teac...
by Ferla
Sun Nov 01, 2015 8:56 am
Forum: Flowcode V5
Topic: Pic 18f46K20 Send UART Software problem
Replies: 8
Views: 10597

Re: Pic 18f46K20 Send UART Software problem

Hi Martin, I am grateful for your interest to my problem and for your time. Ok I will use the 12f1840 to interface to micro 18F46K20. Even yesterday I tried all day to find a solution but did not succeed. Enclosed is an example, the only thing that I can not change the settings are in the C code, 'c...
by Ferla
Sat Oct 31, 2015 9:00 am
Forum: Flowcode V5
Topic: Pic 18f46K20 Send UART Software problem
Replies: 8
Views: 10597

Re: Pic 18f46K20 Send UART Software problem

Thank Benj you for your kind response. I confirm that all interrupts are disabled. I tried to create a macro with timer0 but can not give the right time, confirming that I have to use TMR0 preload = 48 and prescaler 1: 2 ? I looked around the forum to try to find a solution. You can give me a simple...
by Ferla
Wed Oct 28, 2015 8:42 am
Forum: Flowcode V5
Topic: Pic 18f46K20 Send UART Software problem
Replies: 8
Views: 10597

Pic 18f46K20 Send UART Software problem

Hello Guys I know I can help me. I'm having problems in passing from micro 18F46K20 (Osc.Int 16Mhz) a string "* RA" in RS232 9600,8, N, 1 to a pic 12F675 which he replies. Attached are two files *bmp: 1- indicating transmission interpreted correctly by the Pic12F675 2- indicates that the transmissio...
by Ferla
Mon Oct 05, 2015 7:13 am
Forum: Flowcode V5
Topic: PSPMODE 18F46K20
Replies: 12
Views: 13165

Re: PSPMODE 18F46K20

Hello Kersing You must excuse me if I did not answer but I was away on business and now that I'm back I will continue my project. You're right, I covered the data sheet Pic and in default he is 1Mhz. Tonight I try to create a macro using the TMR0, hope will be able to find the correct timing. A ques...
by Ferla
Wed Sep 23, 2015 7:44 am
Forum: Flowcode V5
Topic: PSPMODE 18F46K20
Replies: 12
Views: 13165

Re: PSPMODE 18F46K20

The Micros has not external oscillator, in attegato find the original configuration. As I mentioned with the programmer I read a Pic fully functional and used the same fuses that have attached files (* fcf) posted in the emails past, but there are with timing. You can find some ruse ? I really appre...
by Ferla
Mon Sep 21, 2015 10:05 pm
Forum: Flowcode V5
Topic: PSPMODE 18F46K20
Replies: 12
Views: 13165

Re: PSPMODE 18F46K20

Hi all Sorry, I spoke to wanted to say Timer1 instead Timer0. We start from the beginning. I realized that the PSPMode is not what I need, but just use the RS232 components setting to software. A test with display count seconds that the slow, same thing with the test led. Perhaps this is the cause o...
by Ferla
Sun Sep 20, 2015 9:27 pm
Forum: Flowcode V5
Topic: PSPMODE 18F46K20
Replies: 12
Views: 13165

Re: PSPMODE 18F46K20

When I saw that you could connect more serial interfaces to a pic with a single hardware interface I am intrigued, and I started to understand how it is possible .Today are many modules with serial interface that's why I want aprofondire this topic with the help of experts forum friends, I know ther...
by Ferla
Sun Sep 20, 2015 7:12 am
Forum: Flowcode V5
Topic: PSPMODE 18F46K20
Replies: 12
Views: 13165

Re: PSPMODE 18F46K20

Hi Jac Thank you for your response. I'll explain the request. The serial ports of the Pic (RC6-RC7) are occupied by a GSM module, while the other port RD3 RD2 compliance should communicate rs232 to an RTC link> http://www.futuraelettronica.net/pdf_ita/7100-FT674M.pdf , while the port RD6-RC4 must al...