PIC32MZ2048EFH064 mit 252MHz funktioniert nicht

Support-Forum für Deutschsprachige, die in ihrer Muttersprache schreiben möchten.

Moderator: Benj

Post Reply
Speed64
Posts: 39
Joined: Sat Jul 16, 2016 12:08 pm
Has thanked: 4 times
Been thanked: 2 times
Contact:

PIC32MZ2048EFH064 mit 252MHz funktioniert nicht

Post by Speed64 »

Hallo zusammen.

in Flowcode 8 oder 9 kann ich diesen Chip nicht über 200MHz einstellen.
Ich kann in mit mikroBasic Pro for PIC 32 sogar mit 256MHz laufen lassen.Siehe Bilder
Dieser Chip ist mit 252MHz spezifiziert.

Kann man das irgendwie in Flowcode hin bekommen?


mit freundlichem Gruß
Speed64
Attachments
18-01-2021 10-39-18.png
18-01-2021 10-39-18.png (16.21 KiB) Viewed 7401 times
18-01-2021 10-13-14.png
18-01-2021 10-13-14.png (17.05 KiB) Viewed 7401 times
18-01-2021 10-15-24.png
18-01-2021 10-15-24.png (17.34 KiB) Viewed 7401 times

stefan.erni
Valued Contributor
Valued Contributor
Posts: 654
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 179 times
Contact:

Re: PIC32MZ2048EFH064 mit 252MHz funktioniert nicht

Post by stefan.erni »

Hallo Speed64

Ja Du kannst bei den Projekt Optionen sehr viele Clock Funktionen einstellen.
Meistens kannst Du Multiplizieren oder Dividieren. Es gibt auch extra Exceltabellen dazu.
Bei mir habe ich auf 100Mega eingestellt um Strom zu sparen.
Gruss

Stefan
ProjektOptionen_2021-01-18_12-15-24.png
ProjektOptionen_2021-01-18_12-15-24.png (127.75 KiB) Viewed 7392 times

Speed64
Posts: 39
Joined: Sat Jul 16, 2016 12:08 pm
Has thanked: 4 times
Been thanked: 2 times
Contact:

Re: PIC32MZ2048EFH064 mit 252MHz funktioniert nicht

Post by Speed64 »

moin zusammen

Ich möchte den Chip mit 250MHz laufen haben. Er ist mit 252MHz spezifiziert und sollte auch so betrieben werden können.
Max 200 MHz stimmt einfach nicht.
Siehe Bild.
Es darf dabei keine Fehlermeldung kommen.
12MHz Quarz / 3 x 125 /2 = 250MHz

Der Chip läuft mit MicroBasic Pro 32 sogar mit 256MHz stabil.
Alle EFH Chip können mit 252MHz laufen laut Microchip.
Attachments
19-01-2021 13-22-31.png
19-01-2021 13-22-31.png (37.82 KiB) Viewed 7379 times

Speed64
Posts: 39
Joined: Sat Jul 16, 2016 12:08 pm
Has thanked: 4 times
Been thanked: 2 times
Contact:

Re: PIC32MZ2048EFH064 mit 252MHz funktioniert nicht

Post by Speed64 »

Siehe WEB .
Attachments
19-01-2021 13-33-29.png
19-01-2021 13-33-29.png (147.62 KiB) Viewed 7379 times

stefan.erni
Valued Contributor
Valued Contributor
Posts: 654
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 179 times
Contact:

Re: PIC32MZ2048EFH064 mit 252MHz funktioniert nicht

Post by stefan.erni »

Hallo Speed64

Ich weis schon das Pic laufen mit 250 Mega. Ich habe das auch schon gemacht
Du kannst zum testen dort 200Mega eingeben. Diese Zahl ist nur für das delay gebraucht. Also wenn Du delay 1Sekunde wählst dann hast du nur ein delay von 0.8 Sekunden.
Probiere Mal.

Noch ein kleine Hinweis, Der PIC wird wärmer und braucht mehr Strom

Gruss


Stefan

Speed64
Posts: 39
Joined: Sat Jul 16, 2016 12:08 pm
Has thanked: 4 times
Been thanked: 2 times
Contact:

Re: PIC32MZ2048EFH064 mit 252MHz funktioniert nicht

Post by Speed64 »

moin, danke das scheint zu klappen.
Wie laufen die RS232 Schnittstellen?


mit freundlichem Gruß
Speed64

stefan.erni
Valued Contributor
Valued Contributor
Posts: 654
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 179 times
Contact:

Re: PIC32MZ2048EFH064 mit 252MHz funktioniert nicht

Post by stefan.erni »

Hallo Speed64

Ja Du kannst den Wert anpassen Ich habe Dir nur berechnete Werte

Gruss

Stefan

You can insert a C Code with a line like this.
This C Code has to be after the init the Uart!

U1BRG=2592; // setzt uart 1 auf 9600
U4BRG=216; // setzt uart 4 auf 115200 bei 200Mega
U4BRG=259; // setzt uart 4 auf 115200 bei 250Mega

https://www.matrixtsl.com/mmforums/view ... 76&t=22017

Post Reply