Question about Traveo II MCU programming spec

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
JackHsu_1153471
Level 3
Level 3
25 replies posted 50 sign-ins First like received

Hi,

I'm refer to the programming spec(002-22035 Rev. *B) of Traveo II to develop the programming algo.

Regarding to the CallSromApi subroutine, there is the description.

 

// Enable the notification interrupt of IPC_INTR_STRUCT[0](CM0+) for IPC_STRUCT[IpcId]
WriteIO IPC_INTR_STRUCT + IPC_INTR_STRUCT_INTR_IPC_MASK_OFFSET, 1 << (16 + 2));

 

May I know what definition is for IPC_INTR_STRUCT_INTR_IPC_MASK_OFFSET? 

I'm not it is typo or not. Thank you.

 

0 Likes
1 Solution
Ashish
Moderator
Moderator
Moderator
25 likes received 50 solutions authored 100 replies posted

Hi ,

The definition of IPC_INTR_STRUCT_INTR_IPC_MASK_OFFSET appears to be missing in programming spec document, but the comment above the line mentions "Enable the notification interrupt of IPC_INTR_STRUCT[0](CM0+) for IPC_STRUCT[IpcId]" . So, you can refer the Register TRM of the target device , under IPC_INTR_STRUCT0_INTR_MASK (refer snapshot from TVII-BE-2M Register TRM below) . Since the parameter being passed is IPC_INTR_STRUCT + IPC_INTR_STRUCT_INTR_IPC_MASK_OFFSET,  so you can subtract the IPC_INTR_STRUCT value (0x40221000) to get the offset value (which should be 0x08 here). 

Ashish_0-1633360667424.png

 

Best Regards,

Ashish

 

View solution in original post

0 Likes
8 Replies