S32G: About PID and SEMA42 of XRDC module

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32G: About PID and SEMA42 of XRDC module

ソリューションへジャンプ
1,111件の閲覧回数
Kojimaa
Contributor III

Hi NXP:

  Do I have to manually call Rm_XrdcSetProcessID() or Rm_SemaphoreLockGate() which provided by the driver when I want to switch PID or lock the sema gate? 

  Can it be assigned to OS Tasks/ISRs/Applications through configuration tools such as EB tresos ?

 

Thanks

タグ(2)
0 件の賞賛
返信
1 解決策
1,050件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

For changing the PID or locking a SEMA42 gate on runtime we see that the API is required. This can be seen under the "Xrdc_Ip_Example_integrated_with_Semaphore_S32G274A_M7" example, where they move the process from domain 0 to domain 1, as well as lock the respective SEMA42 gate.

DanielAguirre_0-1696962998115.png

We understand that this should be done explicitly. Some examples are provided under the S32G2 RM [Section 15.8.7.2, Page 604, S32G2 Reference Manual, Rev. 7, February 2023].

Also, there is the AN13024 which explains more about XRDC itself. May provide useful information.

Still, could be that we are misunderstanding the request. Again, we apologize if this is true.

As for both UM and IM, they should be located under the installation path of the RTD. One example could be the following:

"C:\nxp\S32DS.3.4\S32DS\software\PlatformSDK_S32XX_2022_03\SW32_RTD_4_4_3_0_2_D2203\Rm_TS_T40D11M30I2R0\doc"

Where it can vary depending on the RTD/IDE versions.

Please, let us know.

 

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,062件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

HI,

We may not be understanding your request, for which we apologize in advance.

As you are saying, both the "Rm_XrdcSetProcessID" and "Rm_SemaphoreLockGate" are to be called if you are looking for setting the PID or locking the SEMA42 Gate module, respectively. This can be seen under the Rm Driver UM:

DanielAguirre_0-1696874169847.png

DanielAguirre_1-1696874244438.png

As for the assignment, can you share more information on this regard? Are you looking to call these functions from either Tasks/ISRs/Application?

The requirements for the RM module should be provided under the RM Driver IM.

Please, let us know.

0 件の賞賛
返信
1,055件の閲覧回数
Kojimaa
Contributor III

Hi,

  Thanks for your reply.

   My description may not be clear, I mean, for example, if a task/application needs to switch PID to run in other domain or lock a SEMA gate , do I need to manually call the API? Can the OS automatically complete the switching operation like MPU through prior configuration ?

   In addition, can you provide me with UM and IM for RM drivers ? I didn't find them

Thanks

0 件の賞賛
返信
1,051件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

For changing the PID or locking a SEMA42 gate on runtime we see that the API is required. This can be seen under the "Xrdc_Ip_Example_integrated_with_Semaphore_S32G274A_M7" example, where they move the process from domain 0 to domain 1, as well as lock the respective SEMA42 gate.

DanielAguirre_0-1696962998115.png

We understand that this should be done explicitly. Some examples are provided under the S32G2 RM [Section 15.8.7.2, Page 604, S32G2 Reference Manual, Rev. 7, February 2023].

Also, there is the AN13024 which explains more about XRDC itself. May provide useful information.

Still, could be that we are misunderstanding the request. Again, we apologize if this is true.

As for both UM and IM, they should be located under the installation path of the RTD. One example could be the following:

"C:\nxp\S32DS.3.4\S32DS\software\PlatformSDK_S32XX_2022_03\SW32_RTD_4_4_3_0_2_D2203\Rm_TS_T40D11M30I2R0\doc"

Where it can vary depending on the RTD/IDE versions.

Please, let us know.

 

0 件の賞賛
返信