CYT4xx - CM7 CPU indexing

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

cross mob
M_F
Level 1
Level 1
First reply posted First question asked First like given

How can the application distinguish CM7_0 and CM7_1 cores during runtime? Is there some core register that keeps the CPU index information (readable by application)? I have found only the CPUID register with identification of the CM0+ and CM7 but without index information.

0 Likes
1 Solution
Swathi
Moderator
Moderator
Moderator
25 replies posted 25 sign-ins 10 solutions authored

Hi,

The expected values for the 'MS' field is given in the 'Table 22-1. Bus Masters for Access and Protection Control' of the device datasheet.

'PC' refers to the Protection Context of the current Bus master. It is used to restrict access to memory and peripheral resources. The value depends on how Memory Protection Unit is configured for that particular core. It ranges from 0 to 7. For more information on PC refer to the 'Protection Context' section of the device Architecture TRM.

View solution in original post

3 Replies
SwS_4081306
Level 1
Level 1
5 sign-ins First like received First reply posted

Hi,

The Arbiter (part of flash controller) performs priority-based arbitration based on the master identifier. Each bus master has a dedicated 4-bit master identifier. This master identifier is used for bus arbitration and IPC functionality. 

The 'MS' field of the CPUSS_IDENTITY register (in CYT4XX Registers TRM) specifies the bus master identifier of the current core. You can find the Bus master ID of the respective core in the device datasheet. 

 

Thank you for your answer. Unfortunately, I did not find an implementation-specific description of this register for Travel II derivatives. The values which can be expected in bit-fields "MS" and "PC".

0 Likes
Swathi
Moderator
Moderator
Moderator
25 replies posted 25 sign-ins 10 solutions authored

Hi,

The expected values for the 'MS' field is given in the 'Table 22-1. Bus Masters for Access and Protection Control' of the device datasheet.

'PC' refers to the Protection Context of the current Bus master. It is used to restrict access to memory and peripheral resources. The value depends on how Memory Protection Unit is configured for that particular core. It ranges from 0 to 7. For more information on PC refer to the 'Protection Context' section of the device Architecture TRM.