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

跳至解决方案
96 次查看
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 解答
45 次查看
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 回复
46 次查看
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%3EK344%20%E5%92%8C%20FS26%20%E7%9A%84%E7%A4%BA%E4%BE%8B%E4%BB%A3%E7%A0%81%EF%BC%8C%E5%8C%85%E5%90%AB%20MCAL%20%E5%85%83%E5%99%A8%E4%BB%B6%20Sbc_fs26%20%E5%92%8C%20OS%20%E5%85%83%E5%99%A8%E4%BB%B6%20freeRTOS%E3%80%82%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2403750%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%3CBR%20%2F%3E%3CBR%20%2F%3E%E8%83%BD%E5%90%A6%E6%8F%90%E4%BE%9B%E4%B8%80%E4%B8%AA%E9%9B%86%E6%88%90%E4%BA%86%20Sbc_fs26%20%E5%92%8C%20freeRTOS%20%E7%BB%84%E4%BB%B6%E7%9A%84%20S32K344%20%E5%92%8C%20FS26%20%E8%8A%AF%E7%89%87%E6%BA%90%E4%BB%A3%E7%A0%81%E7%A4%BA%E4%BE%8B%EF%BC%88S32DS%20%E9%A1%B9%E7%9B%AE%EF%BC%89%EF%BC%9F%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%88%91%E7%9F%A5%E9%81%93%E6%9C%89%E4%B8%80%E4%BA%9B%E4%B8%AA%E5%88%ABRTD%E7%9A%84%E4%BE%8B%E5%AD%90%EF%BC%9A%3CBR%20%2F%3E%201)%20Sbc_fs26_example_HLD_S32K344%EF%BC%88%E6%97%A0%20freeRTOS%EF%BC%89%3CBR%20%2F%3E%202)%20FreeRTOS_Toggle_Led_Example_S32K344%EF%BC%88%E6%97%A0%20Sbc_fs26%EF%BC%89%3CBR%20%2F%3E%3CBR%20%2F%3E%E4%B8%BE%E4%B8%AA%E4%BE%8B%E5%AD%90%EF%BC%9A%3CBR%20%2F%3E%203)%20MR_CANHUBK3_IEEE1722%EF%BC%8C%E5%85%B6%E4%B8%AD%E7%9C%8B%E9%97%A8%E7%8B%97%E5%8A%9F%E8%83%BD%E8%A2%AB%E7%A6%81%E7%94%A8%EF%BC%8C%E5%B9%B6%E4%B8%94%E6%9C%AA%E4%BD%BF%E7%94%A8%20Sbc_fs26%20%E5%85%83%E5%99%A8%E4%BB%B6%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%88%91%E4%B8%BB%E8%A6%81%E6%83%B3%E6%89%BE%E4%B8%80%E4%B8%AA%E5%9F%BA%E6%9C%AC%E7%9A%84%E6%BA%90%E4%BB%A3%E7%A0%81%E7%A4%BA%E4%BE%8B%EF%BC%8C%E7%94%A8%E4%BA%8E%E5%9C%A8%20freeRTOS%20%E7%8E%AF%E5%A2%83%E4%B8%AD%E6%AD%A3%E7%A1%AE%E8%AE%BE%E7%BD%AE%E5%92%8C%E5%88%B7%E6%96%B0%20FS26%20%E8%8A%AF%E7%89%87%E3%80%82%3C%2FP%3E%3CP%3E%E8%B0%A2%E8%B0%A2%EF%BC%81%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%E4%BD%A0%E5%A5%BD%EF%BC%8C%E6%96%AF%E6%8B%89%E5%A4%AB%E7%A7%91%EF%BC%8C%3C%2FP%3E%0A%3CDIV%3E%E7%9B%AE%E5%89%8D%EF%BC%8C%E6%88%91%E8%BF%98%E6%B2%A1%E6%9C%89%E7%9C%8B%E5%88%B0%E5%B0%86%E8%BF%99%E4%BA%9B%E5%85%83%E5%99%A8%E4%BB%B6%E7%BB%93%E5%90%88%E8%B5%B7%E6%9D%A5%E7%9A%84%E5%AE%9E%E4%BE%8B%E9%A1%B9%E7%9B%AE%E3%80%82%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%E6%82%A8%E6%8F%90%E5%88%B0%E7%9A%84%E4%BE%8B%E5%AD%90%E9%83%BD%E6%98%AF%E7%9B%B8%E5%85%B3%E7%9A%84%E5%8F%82%E8%80%83%E7%82%B9%EF%BC%9A%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CP%3E-%20Sbc_fs26_example_HLD_S32K344%3CBR%20%2F%3E%E8%BF%99%E6%BC%94%E7%A4%BA%E4%BA%86%20FS26%2FSBC%20%E7%9A%84%E9%9B%86%E6%88%90%EF%BC%8C%E4%BD%86%E5%AE%83%E6%B2%A1%E6%9C%89%E4%BD%BF%E7%94%A8%20FreeRTOS%E3%80%82%3C%2FP%3E%0A%3CP%3E-%20FreeRTOS_Toggle_Led_Example_S32K344%3CBR%20%2F%3E%E8%BF%99%E6%BC%94%E7%A4%BA%E4%BA%86%20S32K344%20%E4%B8%8A%E7%9A%84%E5%9F%BA%E6%9C%AC%20FreeRTOS%20%E8%AE%BE%E7%BD%AE%EF%BC%8C%E4%BD%86%E4%B8%8D%E5%8C%85%E6%8B%AC%20FS26%20SBC%20%E5%85%83%E5%99%A8%E4%BB%B6%E3%80%82%3C%2FP%3E%0A%3CP%3E-%20MR_CANHUBK3_IEEE1722%3CBR%20%2F%3E%E8%BF%99%E5%8C%85%E6%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