Search found 170 matches

by Lagoda
Thu Sep 14, 2017 10:01 am
Forum: 8-Bit PIC
Topic: PIC12F1572 ADC problem (SOLVED)
Replies: 6
Views: 5512

Re: PIC12F1572 ADC problem

Hi Martin,

Thank you for your advices.

I modified the flowchart.
The Rx function of the UART is on the RA5 now.

But the "Vref+" pin is inactive, the ADC working with VDD reference. :(

Do you have any idea?
Best regards,

Lagoda
by Lagoda
Wed Sep 13, 2017 8:27 pm
Forum: 8-Bit PIC
Topic: PIC12F1572 ADC problem (SOLVED)
Replies: 6
Views: 5512

PIC12F1572 ADC problem (SOLVED)

Hi All,

I would like to use ADC and UART modul of PIC12F1572.
The problem is that +Vref pin of ADC and Rx pin of UART are same pins and I can not setup Alternate pin function in Flowcode7.
The +Vref pin is not active.

Can I get some help?

Best Regards,

Lagoda
by Lagoda
Thu Aug 03, 2017 2:04 pm
Forum: 32-Bit PIC
Topic: PIC32MZ2048EFM100 ADC problem.
Replies: 7
Views: 10059

Re: PIC32MZ2048EFM100 ADC problem.

Hi Ben, I've made a version that tested in my Curiosity circuitboard and working. I do not know how to program in C but "A blind man may perchance hit the mark." The idea of the solution can be found in the PIC32 Family Reference Manual, ADC Scanning Multiple Inputs example. The point is that all AD...
by Lagoda
Tue Aug 01, 2017 3:23 pm
Forum: 32-Bit PIC
Topic: PIC32MZ2048EFM100 ADC problem.
Replies: 7
Views: 10059

Re: PIC32MZ2048EFM100 ADC problem.

Hello Ben, Unfortunately, it did not work. I modified it a bit (ARDY7 and ADCDATA7 from ARDY0 and ADCDATA0) and now the AN7 input is active and the resolution is 6 bits. Should be used in Class 2 or Class 3 mode. The channel parameter is completely ineffective, and can not select the analogue input....
by Lagoda
Mon Jul 31, 2017 9:53 am
Forum: 32-Bit PIC
Topic: PIC32MZ2048EFM100 ADC problem.
Replies: 7
Views: 10059

Re: PIC32MZ2048EFM100 ADC problem.

Hi Ben, I accepted your advice, and already I am able to flashing LEDs professionally. :wink: But the ADC does not work properly. The problem is that the Potentiometer component uses the ADC0 module. ADC0 is only assigned to AN0 és A45 with an multiplexer which is connected the RB0(AN0) pin. (This p...
by Lagoda
Wed Jul 26, 2017 3:57 pm
Forum: 32-Bit PIC
Topic: PIC32MZ2048EFM100 ADC problem.
Replies: 7
Views: 10059

Re: PIC32MZ2048EFM100 ADC problem.

Hi Ben, Thanks for the quick response. I set the prescale value in the SPI component. To the SPI MOSI and SPI CLK output only the oscilloscope was connected to monitor the ADC Return Value. Bus Settings: Clock Polarity: Idle Low Clock Phase:Leading Edge (actually is the Trailing Edge on the photo!) ...
by Lagoda
Tue Jul 25, 2017 9:24 pm
Forum: 32-Bit PIC
Topic: PIC32MZ2048EFM100 ADC problem.
Replies: 7
Views: 10059

PIC32MZ2048EFM100 ADC problem.

Hi All,

I would like to use the AD Converter of the Curiosity PIC32MZ EF circuit board, but the attached program does not work in the target circuit.
Can I get some help?

Best Regards,

Lagoda
by Lagoda
Fri Jul 21, 2017 9:09 am
Forum: 32-Bit PIC
Topic: PIC32MZ2048EFM100 simulation error. (SOLVED)
Replies: 5
Views: 8379

Re: PIC32MZ2048EFM100 simulation error. (SOLVED)

Hello Tibor,


Yes, that was the problem.
For the board has an ICSP Header connector.
I use PICKIT3 programmer for the programming.
Thanks for the help.

Lagoda
by Lagoda
Thu Jul 20, 2017 10:13 am
Forum: 32-Bit PIC
Topic: PIC32MZ2048EFM100 simulation error. (SOLVED)
Replies: 5
Views: 8379

Re: PIC32MZ2048EFM100 simulation error.

Hi,

Thank you for checking.
I guess it will be.

Would anyone try it in Windows 7 too?

Lagoda
by Lagoda
Wed Jul 19, 2017 9:44 pm
Forum: 32-Bit PIC
Topic: PIC32MZ2048EFM100 simulation error. (SOLVED)
Replies: 5
Views: 8379

PIC32MZ2048EFM100 simulation error. (SOLVED)

Hi All, I would like to ask for help. I have a CURIOSITY PIC32 MZ EF development board with PIC32MZ2048EFM100 processor. Unfortunately, I can not start the simulation of flowchart with this processor. I tried on two computers (WIN7 64bit HUN on both machines). On one of two computer, if I click on t...
by Lagoda
Mon May 08, 2017 11:18 am
Forum: Bug reports
Topic: Clock source and PWM problem PIC12F1572
Replies: 3
Views: 4773

Re: Clock source and PWM problem PIC12F1572

Hi Ben, I've been experimenting with PWM this weekend. The 8-bit PIC microcontroller's 16-bit PWM module is more complex than the traditional 8-bit PWM module. There are several modes and several parameters must be set to produce the correct output signal. The PWM component of Flowcode writes into t...
by Lagoda
Wed May 03, 2017 2:43 pm
Forum: Bug reports
Topic: Clock source and PWM problem PIC12F1572
Replies: 3
Views: 4773

Re: Clock source and PWM problem PIC12F1572

Hi Ben,

1.Thanks for the advice. (I was searching this setup it in Project Options, Configuration). I have not used the "IntOsc Helper" component before. I succeeded in setting the clock with it. :D

2. I tried all three options to set the PWM Timer, but the PWM output did not move. :|

Lagoda
by Lagoda
Wed May 03, 2017 8:11 am
Forum: Bug reports
Topic: Clock source and PWM problem PIC12F1572
Replies: 3
Views: 4773

Clock source and PWM problem PIC12F1572

Hello, I would like to use the PWM module of the 12f1572 microcontroller, with internal clock source. 1. But I do not know how to select the proper internal clocks. By default, the internal clock speed is 500KHz (FOSC = 125KHz) so I tried the PWM output with it. 2. Unfortunately, the PWM output does...
by Lagoda
Tue May 02, 2017 7:37 pm
Forum: Bug reports
Topic: PWM macro compilation error (PIC24FJ256GA110)(SOLVED)
Replies: 4
Views: 4726

Re: PWM macro compilation error (PIC24FJ256GA110)(SOLVED)

The PWM error was fixed by the upgrade. :D
(Flowcode_7_Latest_020517.zip)

Thank you very much.

Lagoda
by Lagoda
Sat Apr 29, 2017 8:52 pm
Forum: Bug reports
Topic: PWM macro compilation error (PIC24FJ256GA110)(SOLVED)
Replies: 4
Views: 4726

Re: PWM macro compilation error (PIC24FJ256GA110)

Hi Ben, I tested the program in the target circuit and I've experienced the following. I used PICKIT3 (PGED1, PGEC1) to programming, and I used Flowkit2 (PGED2, PGEC2) for debugging. If I set the delay to 100us then the order of execution is 2, 3, 4, 6, 3, 5, (7, 4. 6, 3, 5). The sequence in parenth...
by Lagoda
Fri Apr 28, 2017 5:14 pm
Forum: Bug reports
Topic: PWM macro compilation error (PIC24FJ256GA110)(SOLVED)
Replies: 4
Views: 4726

Re: PWM macro compilation error (PIC24FJ256GA110)

Hi Ben,

Thanks for the quick response.
Now the program's compilation is okay.
Unfortunately, in the target circuit it does not work, the PWM output is constantly low.
If I testing it in the simulator, when the Duty indicator=100% on the Dashboard Panel then the Duty variable is only 64.

Lagoda
by Lagoda
Fri Apr 28, 2017 11:51 am
Forum: Bug reports
Topic: PWM macro compilation error (PIC24FJ256GA110)(SOLVED)
Replies: 4
Views: 4726

PWM macro compilation error (PIC24FJ256GA110)(SOLVED)

Dear Support, When I want to compile this PWM example program, I get the next error message. I use PIC24FJ256GA110 chip. http://www.matrixtsl.com Fordító indítása... C:\Program Files (x86)\Flowcode 7\compilers\pic16\batchfiles\pic16_C30_comp.bat "pwm_fader" "H:\Flowcode\BUG\" "24FJ256GA110" Launchi...
by Lagoda
Sun Mar 12, 2017 8:09 pm
Forum: Flowcode V7
Topic: Unable to download software
Replies: 14
Views: 11515

Re: Unable to download software

I have upgraded that as Jorgen described and ..... working. :D
Thanks the idea.
At first glance, it looks very promising this version.
Congratulation for the MATRIX TEAM.

Lagoda
by Lagoda
Thu Mar 09, 2017 9:58 pm
Forum: Flowcode V7
Topic: *NEW* FC7.2.0.5 Out Now
Replies: 5
Views: 5606

Re: *NEW* FC7.2.0.5 Out Now

I really do not want to be a killjoy, but my computer can not install the new version. The first message is that unknown to the manufacturer. :shock: The second message is that the installation package can not be opened. I tried Win7 64bit HUN , and Win10 64bit HUN OP systems. I also really like to ...
by Lagoda
Wed Mar 08, 2017 10:01 pm
Forum: Flowcode V7
Topic: ASCII characters on GLCD
Replies: 2
Views: 3206

Re: ASCII characters on GLCD

Hi Ben, Thank you for helping! :D Maybe I badly formulated. I want to do it, received an ASCII character from the RS-232 port of the PC and displays the gLCD screen. But did not appear the characters which are ASCII code was bigger than 91d. That is why I made this little test program, that is prese...
by Lagoda
Wed Mar 08, 2017 3:06 pm
Forum: Flowcode V7
Topic: ASCII characters on GLCD
Replies: 2
Views: 3206

ASCII characters on GLCD

Hello Everybody,
I would like to see the characters from the ASCII codes on a display.
I have been struggling with it for a half day, but after the 91 code is not displayed the character.
Would help me anyone, what is wrong? (I tried it in the simulator.)

Thank you in advance for your help.

Lagoda
by Lagoda
Mon Mar 06, 2017 9:33 pm
Forum: Bug reports
Topic: Floating point numbers
Replies: 5
Views: 5513

Re: Floating point numbers

Hi Ben, Thanks, I'll check again, but if the floating point variable is converted to a string then I see on the display what the value should be rounded. When I use the "fround" function before converted to string, that happens what I wrote. I made an example that maybe help. The function in my proj...
by Lagoda
Mon Mar 06, 2017 4:41 pm
Forum: Bug reports
Topic: Floating point numbers
Replies: 5
Views: 5513

Re: Floating point numbers

Hi Ben,
Thanks for the quick help.
Now, the compiler is able to translate but in the simulator only works correctly if I set y=1 in the "fround (x, y)" function.
In the target circuits after the decimal point on the display appears only "0", independently value of "y".

Best Regards,

Lagoda
by Lagoda
Sun Mar 05, 2017 10:17 pm
Forum: Bug reports
Topic: Floating point numbers
Replies: 5
Views: 5513

Floating point numbers

Dear Support,

Maybe I'm doing something wrong but this program works in the simulator, but the compiler is unable to translate this. I use 24FJ256GA110 chip.
Could you help me?

Best Regards:

Lagoda
by Lagoda
Mon Nov 28, 2016 3:23 pm
Forum: Flowcode V7
Topic: Offline Documentation and Help
Replies: 7
Views: 8022

Re: Offline Documentation and Help

Well, after I read posts on this topic :wink: sadly I conclude that there is no such possibility. :shock:

If I understand correctly, it's harder to do than we think.

If someone have some idea of ​​DIY, as long as the factory ready solution, please share it with me.

Lagoda