Example code for K344 & FS26 with MCAL component Sbc_fs26 and OS component freeRTOS

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

Example code for K344 & FS26 with MCAL component Sbc_fs26 and OS component freeRTOS

ソリューションへジャンプ
90件の閲覧回数
Djuric
Contributor III

Hello,

Can you provide a S32K344 & FS26 chips source code example (S32DS project) that integrates the Sbc_fs26 and freeRTOS components?

I am aware that there are individual RTD examples:
1)  Sbc_fs26_example_HLD_S32K344  (no freeRTOS)
2) FreeRTOS_Toggle_Led_Example_S32K344 (no Sbc_fs26)

and also an example:
3) MR_CANHUBK3_IEEE1722 in which the watchdog is disabled and the Sbc_fs26 component is not used 

Essentially I'm looking for a basic source code example for properly setting and refreshing a FS26 chip in a freeRTOS environment.

Thank you.

0 件の賞賛
返信
1 解決策
39件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

Hello Slavko,

At the moment, I am not aware of an example project combining these components.
 
The examples you mentioned are the relevant reference points:

- Sbc_fs26_example_HLD_S32K344
This demonstrates the FS26/SBC integration, but it does not use FreeRTOS.

- FreeRTOS_Toggle_Led_Example_S32K344
This demonstrates a basic FreeRTOS setup on S32K344, but it does not include the FS26 SBC component.

- MR_CANHUBK3_IEEE1722
This includes a broader system-level implementation, but the FS26 watchdog is disabled and the Sbc_fs26 component is not used.

For your use case, the practical approach would be to start from the Sbc_fs26_example_HLD_S32K344 project and then integrate the FreeRTOS configuration from the FreeRTOS example. The FS26 initialization should remain part of the system startup sequence, while the watchdog refresh should be handled periodically from a FreeRTOS task or another deterministic timing mechanism.
 
BRs, Tomas

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
40件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

Hello Slavko,

At the moment, I am not aware of an example project combining these components.
 
The examples you mentioned are the relevant reference points:

- Sbc_fs26_example_HLD_S32K344
This demonstrates the FS26/SBC integration, but it does not use FreeRTOS.

- FreeRTOS_Toggle_Led_Example_S32K344
This demonstrates a basic FreeRTOS setup on S32K344, but it does not include the FS26 SBC component.

- MR_CANHUBK3_IEEE1722
This includes a broader system-level implementation, but the FS26 watchdog is disabled and the Sbc_fs26 component is not used.

For your use case, the practical approach would be to start from the Sbc_fs26_example_HLD_S32K344 project and then integrate the FreeRTOS configuration from the FreeRTOS example. The FS26 initialization should remain part of the system startup sequence, while the watchdog refresh should be handled periodically from a FreeRTOS task or another deterministic timing mechanism.
 
BRs, Tomas
0 件の賞賛
返信
%3CLINGO-SUB%20id%3D%22lingo-sub-2403750%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMCAL%E3%82%B3%E3%83%B3%E3%83%9D%E3%83%BC%E3%83%8D%E3%83%B3%E3%83%88Sbc_fs26%E3%81%A8OS%E3%82%B3%E3%83%B3%E3%83%9D%E3%83%BC%E3%83%8D%E3%83%B3%E3%83%88freeRTOS%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9FK344%E3%81%8A%E3%82%88%E3%81%B3FS26%E3%81%AE%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB%E3%82%B3%E3%83%BC%E3%83%89%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2403750%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%80%81%3CBR%20%2F%3E%3CBR%20%2F%3ESbc_fs26%E3%81%A8freeRTOS%E3%81%AE%E3%82%B3%E3%83%B3%E3%83%9D%E3%83%BC%E3%83%8D%E3%83%B3%E3%83%88%E3%82%92%E7%B5%B1%E5%90%88%E3%81%97%E3%81%9FS32K344%E3%81%A8FS26%E3%83%81%E3%83%83%E3%83%97%E3%81%AE%E3%82%BD%E3%83%BC%E3%82%B9%E3%82%B3%E3%83%BC%E3%83%89%E4%BE%8B(S32DS%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88)%E3%82%92%E6%95%99%E3%81%88%E3%81%A6%E3%82%82%E3%82%89%E3%81%88%E3%81%BE%E3%81%99%E3%81%8B%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%E5%80%8B%E5%88%A5%E3%81%AERTD%E3%81%AE%E4%BE%8B%E3%81%8C%E3%81%82%E3%82%8B%E3%81%93%E3%81%A8%E3%81%AF%E6%89%BF%E7%9F%A5%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3CBR%20%2F%3E%201)%20Sbc_fs26_example_HLD_S32K344%20(FreeRTOS%E3%81%AA%E3%81%97)%3CBR%20%2F%3E%202)%20FreeRTOS_Toggle_Led_Example_S32K344%20(Sbc_fs26%E3%81%AA%E3%81%97)%3CBR%20%2F%3E%3CBR%20%2F%3E%E3%81%9D%E3%81%97%E3%81%A6%E3%80%81%E4%BE%8B%E3%82%92%E6%8C%99%E3%81%92%E3%82%8B%E3%81%A8%E6%AC%A1%E3%81%AE%E3%82%88%E3%81%86%E3%81%AB%E3%81%AA%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%3CBR%20%2F%3E%203)%20MR_CANHUBK3_IEEE1722%EF%BC%88%E3%82%A6%E3%82%A9%E3%83%83%E3%83%81%E3%83%89%E3%83%83%E3%82%B0%E3%81%8C%E7%84%A1%E5%8A%B9%E3%81%A7%E3%80%81Sbc_fs26%E3%82%B3%E3%83%B3%E3%83%9D%E3%83%BC%E3%83%8D%E3%83%B3%E3%83%88%E3%81%8C%E4%BD%BF%E7%94%A8%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%AA%E3%81%84%EF%BC%89%3CBR%20%2F%3E%3CBR%20%2F%3E%E8%A6%81%E3%81%99%E3%82%8B%E3%81%AB%E3%80%81FreeRTOS%E7%92%B0%E5%A2%83%E3%81%A7FS26%E3%83%81%E3%83%83%E3%83%97%E3%82%92%E9%81%A9%E5%88%87%E3%81%AB%E8%A8%AD%E5%AE%9A%E3%81%8A%E3%82%88%E3%81%B3%E6%9B%B4%E6%96%B0%E3%81%99%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AE%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA%E3%82%BD%E3%83%BC%E3%82%B9%E3%82%B3%E3%83%BC%E3%83%89%E4%BE%8B%E3%82%92%E6%8E%A2%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3E%E3%82%88%E3%82%8D%E3%81%97%E3%81%8F%E3%81%8A%E9%A1%98%E3%81%84%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2404000%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Example%20code%20for%20K344%20%26amp%3B%20FS26%20with%20MCAL%20component%20Sbc_fs26%20and%20OS%20component%20freeRTOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2404000%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%80%81%E3%82%B9%E3%83%A9%E3%83%B4%E3%82%B3%E3%81%95%E3%82%93%E3%80%82%3C%2FP%3E%0A%3CDIV%3E%E7%8F%BE%E6%99%82%E7%82%B9%E3%81%A7%E3%81%AF%E3%80%81%E3%81%93%E3%82%8C%E3%82%89%E3%81%AE%E8%A6%81%E7%B4%A0%E3%82%92%E7%B5%84%E3%81%BF%E5%90%88%E3%82%8F%E3%81%9B%E3%81%9F%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E4%BE%8B%E3%81%AF%E6%8A%8A%E6%8F%A1%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%E3%81%82%E3%81%AA%E3%81%9F%E3%81%8C%E6%8C%99%E3%81%92%E3%81%9F%E4%BE%8B%E3%81%AF%E3%80%81%E9%96%A2%E9%80%A3%E3%81%99%E3%82%8B%E5%8F%82%E8%80%83%E8%B3%87%E6%96%99%E3%81%A7%E3%81%99%E3%80%82%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CP%3E-%20Sbc_fs26_example_HLD_S32K344%3CBR%20%2F%3E%E3%81%93%E3%82%8C%E3%81%AFFS26%2FSBC%E3%81%AE%E7%B5%B1%E5%90%88%E3%82%92%E7%A4%BA%E3%81%99%E3%82%82%E3%81%AE%E3%81%A7%E3%81%99%E3%81%8C%E3%80%81FreeRTOS%E3%81%AF%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%3C%2FP%3E%0A%3CP%3E-%20FreeRTOS_Toggle_Led_Example_S32K344%3CBR%20%2F%3E%E3%81%93%E3%82%8C%E3%81%AFS32K344%E4%B8%8A%E3%81%A7%E3%81%AE%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AAFreeRTOS%E3%81%AE%E3%82%BB%E3%83%83%E3%83%88%E3%82%A2%E3%83%83%E3%83%97%E4%BE%8B%E3%82%92%E7%A4%BA%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%81%8C%E3%80%81FS26%20SBC%E3%82%B3%E3%83%B3%E3%83%9D%E3%83%BC%E3%83%8D%E3%83%B3%E3%83%88%E3%81%AF%E5%90%AB%E3%81%BE%E3%82%8C%E3%81%A6%E3%81%84%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%3C%2FP%3E%0A%3CP%3E-%20MR_CANHUBK3_IEEE1722%3CBR%20%2F%3E%E3%81%93%E3%82%8C%E3%81%AB%E3%81%AF%E3%82%88%E3%82%8A%E5%BA%83%E7%AF%84%E3%81%AA%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E3%83%AC%E3%83%99%E3%83%AB%E3%81%AE%E5%AE%9F%E8%A3%85%E3%81%8C%E5%90%AB%E3%81%BE%E3%82%8C%E3%81%BE%E3%81%99%E3%81%8C%E3%80%81FS26%E3%82%A6%E3%82%A9%E3%83%83%E3%83%81%E3%83%89%E3%83%83%E3%82%B0%E3%81%AF%E7%84%A1%E5%8A%B9%E3%81%AB%E3%81%AA%E3%81%A3%E3%81%A6%E3%81%8A%E3%82%8A%E3%80%81Sbc_fs26%E3%82%B3%E3%83%B3%E3%83%9D%E3%83%BC%E3%83%8D%E3%83%B3%E3%83%88%E3%81%AF%E4%BD%BF%E7%94%A8%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%3C%2FP%3E%0A%3CDIV%3E%E3%81%82%E3%81%AA%E3%81%9F%E3%81%AE%E3%83%A6%E3%83%BC%E3%82%B9%E3%82%B1%E3%83%BC%E3%82%B9%E3%81%A7%E3%81%AF%E3%80%81%E5%AE%9F%E7%94%A8%E7%9A%84%E3%81%AA%E6%96%B9%E6%B3%95%E3%81%AFSbc_fs26_example_HLD_S32K344%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%81%8B%E3%82%89%E5%A7%8B%E3%82%81%E3%81%A6%E3%80%81FreeRTOS%E3%81%AE%E4%BE%8B%E3%81%8B%E3%82%89FreeRTOS%E6%A7%8B%E6%88%90%E3%82%92%E7%B5%B1%E5%90%88%E3%81%99%E3%82%8B%E3%81%93%E3%81%A8%E3%81%A7%E3%81%99%E3%80%82FS26%E3%81%AE%E5%88%9D%E6%9C%9F%E5%8C%96%E3%81%AF%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E3%81%AE%E8%B5%B7%E5%8B%95%E3%82%B7%E3%83%BC%E3%82%B1%E3%83%B3%E3%82%B9%E3%81%AE%E4%B8%80%E9%83%A8%E3%81%A8%E3%81%97%E3%81%A6%E6%AE%8B%E3%81%97%E3%80%81%E3%82%A6%E3%82%A9%E3%83%83%E3%83%81%E3%83%89%E3%83%83%E3%82%B0%E3%81%AE%E6%9B%B4%E6%96%B0%E3%81%AFFreeRTOS%E3%82%BF%E3%82%B9%E3%82%AF%E3%82%84%3CSPAN%3E%E4%BB%96%E3%81%AE%E3%83%87%E3%82%BF%E3%83%BC%E3%83%9F%E3%83%8B%E3%82%B9%E3%83%86%E3%82%A3%E3%83%83%E3%82%AF%E3%81%AA%E3%82%BF%E3%82%A4%E3%83%9F%E3%83%B3%E3%82%B0%E6%A9%9F%E6%A7%8B%3C%2FSPAN%3E%E3%81%8B%E3%82%89%E5%AE%9A%E6%9C%9F%E7%9A%84%E3%81%AB%E5%87%A6%E7%90%86%E3%81%95%E3%82%8C%E3%82%8B%E3%81%B9%E3%81%8D%E3%81%A7%E3%81%99%E3%80%82%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EBRs%E3%80%81%E3%83%88%E3%83%BC%E3%83%9E%E3%82%B9%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E