small clock error PIC32MZ2048EFH100

Any bugs you encounter with Flowcode should be discussed here.
SpeedPIC32
Posts: 252
http://meble-kuchenne.info.pl
Joined: Thu Dec 10, 2020 2:35 pm
Has thanked: 36 times
Been thanked: 17 times

Re: small clock error PIC32MZ2048EFH100

Post by SpeedPIC32 »

Hello stefan

how or where can I change this?

Greeting SpeedPic32

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: small clock error PIC32MZ2048EFH100

Post by stefan.erni »

Hi SpeedPIC32

In the Build => project option you can set some.

This is a sample, maybe not exactly from the PIC32MZ2048EFH100

but the way is the same.
clock-settings_fc_org1.PNG
clock-settings_fc_org1.PNG (269.2 KiB) Viewed 2329 times


You can see in the distribution picture, timer1 is different to timer2...timer6

regards
Stefan
clock_2022-02-15_15-23-05.jpg
clock_2022-02-15_15-23-05.jpg (92.97 KiB) Viewed 2329 times

SpeedPIC32
Posts: 252
Joined: Thu Dec 10, 2020 2:35 pm
Has thanked: 36 times
Been thanked: 17 times

Re: small clock error PIC32MZ2048EFH100

Post by SpeedPIC32 »

Hello Stefan,

first of all thank you for your efforts.
Question: How do I get the image with the red lines bigger?
or where can I download your template?
What I don't understand is this.
I create a programme
Compile it and program the PIC
It runs the way I programmed it.
The timer runs with the times as FC shows it during programming.
The programmed pause in the loop also runs with the time I programmed.

Now I start "DEBUG" in FC.
now only the pause runs with the time (1sec) I have programmed.
The interrupt runs with twice the time.

Ben has changed something.
Before, the error was also present in the hardware.
32MZ2048EFH100.fcdx version 3 had the error.
in the current one the error is as described.

"
The change should be that the interrupt enable icon now shows 200Hz instead of the previous 100Hz it was showing before. So the calculated frequency should now match the hardware frequency."

With kind regards

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: small clock error PIC32MZ2048EFH100

Post by stefan.erni »

Hi SpeedPIC32

Here the picture more readable.
It's from a PIC but not from the EFH100.

regards


Stefan
Attachments
clock-settings_fc_org1.zip
(333.23 KiB) Downloaded 99 times

SpeedPIC32
Posts: 252
Joined: Thu Dec 10, 2020 2:35 pm
Has thanked: 36 times
Been thanked: 17 times

Re: small clock error PIC32MZ2048EFH100

Post by SpeedPIC32 »

Hello stefan
the PIC32MZ2048EFH100 has the possibilities

I think you can only do this by entering C-code.

with kind regards
SpeedPic32
Attachments
PIC32MZ2048EFH100.jpg
PIC32MZ2048EFH100.jpg (56.79 KiB) Viewed 2313 times

SpeedPIC32
Posts: 252
Joined: Thu Dec 10, 2020 2:35 pm
Has thanked: 36 times
Been thanked: 17 times

Re: small clock error PIC32MZ2048EFH100

Post by SpeedPIC32 »

Hello stefan
the PIC32MZ2048EFH100 has the possibilities

I think you can only do this by entering C-code.

with kind regards
SpeedPic32
Attachments
PIC32MZ2048EFH100.zip
(374.87 KiB) Downloaded 100 times

SpeedPIC32
Posts: 252
Joined: Thu Dec 10, 2020 2:35 pm
Has thanked: 36 times
Been thanked: 17 times

Re: small clock error PIC32MZ2048EFH100

Post by SpeedPIC32 »

Hello Team,
does the error remain now?

Post Reply