Activating EMAC on MCF5282

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Activating EMAC on MCF5282

1,587 次查看
SVC1
Contributor I
I am using the M5282EVB and trying the Whetstone benchmark (floating point calculation).
 
The MCF5282 user's manual states that we can enable/disable the EMAC (Enhanced Multiply Accumulate Unit) by toggling the bit13 of D0 register.
 
I am executing line by line the example generated automatically by codewarrior (Hello world) and this register changes value very often and bit13 is always 0 (EMAC disabled).
 
How do I make sure and verify that the EMAC is enabled on the processor?
 
TIA,
S
标签 (1)
0 项奖励
回复
1 回复

672 次查看
stzari
Contributor III
Hi,
the EMAC is always "enabled" on your processor since its an integral part of the MCF5282 CPU.
What you are referring to is the Hardware Configuration Info the CPU writes into D0 after reset. You (usually your debugger, emulator etc.) can read this value to determine which modules are available. The contents of D0 can be safely dismissed after reading (or ignoring) that value.

For further info see Chapter 2.7.14 in the MCF5282 User's Manual

HTH
    stzari
0 项奖励
回复