[En-Nut-Discussion] 940kBaud instead of 1MBaud by Nut OS 4.2.1
martin.anrig at ch.trumpf.com
martin.anrig at ch.trumpf.com
Wed Jan 10 13:43:36 CET 2007
Dear Harald,
Thank you for the fast response. The CPU Clock Freuqunecy is really 45,2Mhz instead of 47,9Mhz.
I changed the divider and the multiplier to the original values (25/5) in crtat91sam7x256_rom.S and the CPU frequency is
again 47,9MHz. Now my application run identical on 4.1.9.8rc and 4.2.1.
Best regards
Martin Anrig
Elektronikentwicklung
TRUMPF Laser Marking Systems AG
Ausserfeld
CH-7214 Grüsch
Telefon: +41 81 3076-565
Telefax: +41 81 3076-413
martin.anrig at ch.trumpf.com
www.trumpf.com
-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de [mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Harald Kipp
Gesendet: Mittwoch, 10. Januar 2007 10:22
An: Ethernut User Chat (English)
Betreff: Re: [En-Nut-Discussion] 940kBaud instead of 1MBaud by Nut OS 4.2.1
martin.anrig at ch.trumpf.com schrieb:
> Based on the RS232d Sample on the AT91SAM7X-EK Hardware I build an Ethernet to Serial Gateway. For the first release I used Nut-OS 4.1.9.8rc and the baud rate of the serial interface was more or less exactly 1Mbaud.
> Now I switched to the final release 4.2.1 and the baud rate is now 941kBaud instead of 1MBaud. I have measured the baud rate with the oscilloscope.
>
>
Martin,
I'm working on a software MP3 decoder, may have changed the SAM7X PLL settings and accidently commited this change to the CVS. If that is true, I'm sorry.
Use NutGetCpuClock() to verify the current setting. The relevant initialization is available in arch/arm/init/crtat91sam7x256_rom.S.
Harald
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
More information about the En-Nut-Discussion
mailing list