Tool/software:
Hello, I'm working with the EtherCAT Slave Stack Code Tool from Beckhoff, generating a slave stack code for the AMIC110 processor.
The SSC Tool generates packed structures with a 16 bit index element, and then 32 bit data elements (integer or floating point) following the 16 bit integer. Are there any memory alignment restrictions for the AMIC110 hardware? If it doesn't matter, is it faster to align the floating point numbers on a 32 bit boundary?
Here is an example of the SSC tool output, which in this case is a 32 bit integer, but the same effect is present with floating point numbers:
typedef struct OBJ_STRUCT_PACKED_START {
UINT16 u16SubIndex0; /**< \brief Subindex 0 */
UINT32 aEntries[11]; /**< \brief Subindex 1 - 11 */
} OBJ_STRUCT_PACKED_END
TOBJ800E;
#endif //#ifndef _AHU_OBJECTS_H_
Thanks for any information you can provide on data alignment requirements for the AMIC110 hardware.
John