Hello,
I'm sending data from PPC405 CPU to MSP430 via I2C.
The data is a structure that contains few 32bits fields (unsigned long)
The PPC405 is big endian. The MSP430 is little endian.
But for some reason, when I'm sending the data I do not have to run "htonl" (byte swap) on the data received in the MSP430.
When I'm sending data from PPC405 to x86, I have to run "htonl" in the x86.
Can you explain this ?
Thanks,
Zvika