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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
235 Views
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 Kudos
Reply
1 Solution
184 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
185 Views
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 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2403750%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%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-2403750%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3ECan%20you%20provide%20a%20S32K344%20%26amp%3B%20FS26%20chips%20source%20code%20example%20(S32DS%20project)%20that%20integrates%20the%26nbsp%3BSbc_fs26%20and%26nbsp%3BfreeRTOS%20components%3F%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20aware%20that%20there%20are%20individual%20RTD%20examples%3A%3CBR%20%2F%3E1)%26nbsp%3B%20Sbc_fs26_example_HLD_S32K344%26nbsp%3B%20(no%20freeRTOS)%3CBR%20%2F%3E2)%20FreeRTOS_Toggle_Led_Example_S32K344%20(no%26nbsp%3BSbc_fs26)%3CBR%20%2F%3E%3CBR%20%2F%3Eand%20also%20an%20example%3A%3CBR%20%2F%3E3)%20MR_CANHUBK3_IEEE1722%20in%20which%20the%20watchdog%20is%20disabled%20and%20the%26nbsp%3BSbc_fs26%20component%20is%20not%20used%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EEssentially%26nbsp%3BI'm%20looking%20for%20a%20basic%20source%20code%20example%20for%20properly%20setting%20and%20refreshing%20a%20FS26%20chip%20in%20a%20freeRTOS%20environment.%3C%2FP%3E%3CP%3EThank%20you.%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%3EHello%20Slavko%2C%3C%2FP%3E%0A%3CDIV%3EAt%20the%20moment%2C%20I%20am%20not%20aware%20of%20an%20example%20project%20combining%20these%20components.%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3EThe%20examples%20you%20mentioned%20are%20the%20relevant%20reference%20points%3A%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CP%3E-%20Sbc_fs26_example_HLD_S32K344%3CBR%20%2F%3EThis%20demonstrates%20the%20FS26%2FSBC%20integration%2C%20but%20it%20does%20not%20use%20FreeRTOS.%3C%2FP%3E%0A%3CP%3E-%20FreeRTOS_Toggle_Led_Example_S32K344%3CBR%20%2F%3EThis%20demonstrates%20a%20basic%20FreeRTOS%20setup%20on%20S32K344%2C%20but%20it%20does%20not%20include%20the%20FS26%20SBC%20component.%3C%2FP%3E%0A%3CP%3E-%20MR_CANHUBK3_IEEE1722%3CBR%20%2F%3EThis%20includes%20a%20broader%20system-level%20implementation%2C%20but%20the%20FS26%20watchdog%20is%20disabled%20and%20the%20Sbc_fs26%20component%20is%20not%20used.%3C%2FP%3E%0A%3CDIV%3EFor%20your%20use%20case%2C%20the%20practical%20approach%20would%20be%20to%20start%20from%20the%20Sbc_fs26_example_HLD_S32K344%20project%20and%20then%20integrate%20the%20FreeRTOS%20configuration%20from%20the%20FreeRTOS%20example.%20The%20FS26%20initialization%20should%20remain%20part%20of%20the%20system%20startup%20sequence%2C%20while%20the%20watchdog%20refresh%20should%20be%20handled%20periodically%20from%20a%20FreeRTOS%20task%20or%3CSPAN%3E%26nbsp%3Banother%20deterministic%20timing%20mechanism.%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EBRs%2C%20Tomas%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E