Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

RE: [lpc2000] Connecting big endian device to LPC2210

2006-01-13 by Pieter Verstraelen

> >I don't see any problems with this but it's a tricky thing to do, so
> >maybe someone out there might have done this?
> >
> >
> Not with ARM but normally I do hardware byte swap with Renesas 16 bit
> microcontrollers and ethernet MAC chips (that are little endian
because
> they interface directly to ISA bus on PCs architectures). Endianess is
a
> common problem.

So, does this hardware byte swap solve all endian problems?  Can you use
the Ethernet MAC chip without changes to the code?  
I think 8 and 16 bit access (to a 16 bit device with swapped data lines)
is not a problem but a 32 bit access (to a 16 bit swapped device) might
go wrong.

Best regards,
Pieter Verstraelen

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.