How should the host communicate with the eTPU?

There are a few ways:
-
You can pass information through static locals. The host sets these itself, during initialization.
Use the
::ETPUlocation
macro to identify the offset of the static in the function frame. Rather than assigning the value in::ETPUstaticinit
which comes from the eTPU_C program, simply set your own initial value.For more information on host interface macros, see the product documentation.