Mark Butcher

Benefiting from EMAC Buffer Descriptor operation in little-endian mode [K70 / K61]

Discussion created by Mark Butcher on Aug 8, 2012
Latest reply on Aug 9, 2012 by Mark Butcher

Hi All

 

The K70 and K61 (maybe others) have the capability of configuring the Ethernet EMAC's buffer descriptors to operate in native little-endian mode rather than the basic big-endian mode. This allows software to avoid having to do little-endian/big-endian swapping and thus results in optimised code.

 

To adjust existing Ethernet code to benefit from this when a suitable Kinetis type is used is quite easy. The following is an example of how it can be performed using some conditional defines:

 

http://www.utasker.com/forum/index.php?topic=1752.msg6274#msg6274

 

Regards

 

Mark

 

Outcomes