Search found 153 matches

by Lagoda
Thu Nov 23, 2017 1:07 pm
Forum: 32-Bit PIC
Topic: PIC32MZ2048EFM144 UART problem (incorrect remap pins) (SOLVED)
Replies: 6
Views: 3547

PIC32MZ2048EFM144 UART problem (incorrect remap pins) (SOLVED)

Hello, I would like to ask for help. If I set the UART to "Channel 6" in the attached program, it can not receive the characters. If I set channel of UART to "Software", it works perfectly. The external clock of the MCU is 14.7456 MHz. I also attached the clock settings. ( I tested the UART transmit...
by Lagoda
Mon Oct 09, 2017 4:17 pm
Forum: Flowcode V7
Topic: How can I to set general I / O ports as an interrupt source? (SOLVED!)
Replies: 5
Views: 2418

Re: How can I to set general I / O ports as an interrupt source?

The PIC32MZ device only supports both edges as part of the IOC interrupt, it is a limitation of the silicon not Flowcode.
Oops!

This avoided my attention. I'm sorry. :oops:

I hope this MCU isn't will cause more surprises for me.

Thank you very much.

Best Regards,

Lagoda
by Lagoda
Mon Oct 09, 2017 1:36 pm
Forum: Flowcode V7
Topic: How can I to set general I / O ports as an interrupt source? (SOLVED!)
Replies: 5
Views: 2418

Re: How can I to set general I / O ports as an interrupt source?

Hi Ben, I checked what you recommended. In this example, you can set any type of edge. (color of the pin may be green, red, gray or white) And I opened a new project. If I set the type of target MCU to PIC32MZ2048EFM144 then you can activate the interrupt on both edges only. (The color of the pin ma...
by Lagoda
Sat Oct 07, 2017 3:41 pm
Forum: Flowcode V7
Topic: How can I to set general I / O ports as an interrupt source? (SOLVED!)
Replies: 5
Views: 2418

How can I to set general I / O ports as an interrupt source? (SOLVED!)

Hi All, I would like to use a PIC32MZ Series MCU. I wanted to use an external interrupt, but I could not to interpret what I see in the "Interrupt Proprties" window. How can I to setup the masks? I've also tried the "Select pin (s)" button, but every pin of this port is active at both edges by defau...
by Lagoda
Sun Oct 01, 2017 6:44 pm
Forum: 32-Bit PIC
Topic: Getting PIC32MZ connected
Replies: 5
Views: 3772

Re: Getting PIC32MZ connected

Hi Igor,

I think the J7 connector is the right one, if you use PICKIT3.

Best Regards,

Lagoda
by Lagoda
Sun Sep 24, 2017 5:56 pm
Forum: Flowcode V7
Topic: help with programming logic
Replies: 8
Views: 3101

Re: help with programming logic

Hi Ricardo, I think you should use more samples for the decision and have to find local minimum and maximum. It should be considered whether the actual sample value is smaller or larger than the previous samples. For example, if the value of samples was growing for a time, but value of three samples...
by Lagoda
Thu Sep 14, 2017 1:31 pm
Forum: 8-Bit PIC
Topic: PIC12F1572 ADC problem (SOLVED)
Replies: 6
Views: 2998

Re: PIC12F1572 ADC problem

And it works well !!! :D

Thank you very much!

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

Re: PIC12F1572 ADC problem

Hi Ben,

Thank you for your help.

Unfortunately, the problem remains.

If i set the reference VDD then in the line 626 is: FC_CAL_ADC_Enable(3, 3, 0, 40);
If i set the reference Vref+ then in the line 626 is: FC_CAL_ADC_Enable(3, 3, 1, 40);

Best Regards,

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

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: 2998

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: 5532

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: 5532

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: 5532

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: 5532

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: 5532

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: 4339

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: 4339

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: 4339

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: 2861

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: 2861

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: 2861

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: 2873

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: 2873

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: 2873

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: 2873

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...