S32K344 : PMIC[MFS2613] control source or example code

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

S32K344 : PMIC[MFS2613] control source or example code

Jump to solution
1,380 Views
JungkyuHan1
Contributor III

S32K344 white board has equipted PMIC[MFS2613].

I'd like to get the SPI control source code[example code].

0 Kudos
Reply
1 Solution
1,339 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Please note that during the Christmas holiday period, our support response times may be longer than usual. In some cases, your request might be addressed after the New Year. Thank you for your understanding.

Please download FS26 RTD by click S32K3 Standard Software -> Automotive SW - SBC/PMIC - Real Time Drivers -> SBC FS26 R21-11 5.0.0

SBC FS26 R21-11 5.0.0 example.png

Although these examples are not based on the S32K344-WB (note the difference in SPI pins), the accompanying S32K3 RTD is the relatively new RTD 6.0.0.

SPI pins difference between S32K344-WB and S32K3X4EVB-T172_RevB2 and.png

Or download the S32K344_Whiteboard_Example(LLD)_RTM_1.0.0.zip. Unfortunately, the S32K3 RTD version is quite old: S32K3_RTD_2_0_0_D2203
C:\NXP\S32K344_Whiteboard_Example(LLD)_RTM_1.0.0\S32K344_Whiteboard_Example(LLD)_RTM_1.0.0\s32k3_wb_fs26
C:\NXP\S32K344_Whiteboard_Example(LLD)_RTM_1.0.0\S32K344_Whiteboard_Example(LLD)_RTM_1.0.0\s32k3_wb_self_test


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
9 Replies
1,340 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Please note that during the Christmas holiday period, our support response times may be longer than usual. In some cases, your request might be addressed after the New Year. Thank you for your understanding.

Please download FS26 RTD by click S32K3 Standard Software -> Automotive SW - SBC/PMIC - Real Time Drivers -> SBC FS26 R21-11 5.0.0

SBC FS26 R21-11 5.0.0 example.png

Although these examples are not based on the S32K344-WB (note the difference in SPI pins), the accompanying S32K3 RTD is the relatively new RTD 6.0.0.

SPI pins difference between S32K344-WB and S32K3X4EVB-T172_RevB2 and.png

Or download the S32K344_Whiteboard_Example(LLD)_RTM_1.0.0.zip. Unfortunately, the S32K3 RTD version is quite old: S32K3_RTD_2_0_0_D2203
C:\NXP\S32K344_Whiteboard_Example(LLD)_RTM_1.0.0\S32K344_Whiteboard_Example(LLD)_RTM_1.0.0\s32k3_wb_fs26
C:\NXP\S32K344_Whiteboard_Example(LLD)_RTM_1.0.0\S32K344_Whiteboard_Example(LLD)_RTM_1.0.0\s32k3_wb_self_test


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply
1,285 Views
JungkyuHan1
Contributor III

Dear @Robin_Shen 

Thankyou for support.

 

I am afraid the Example file of you mentioned is EMPTY.

Please Check again. 

JungkyuHan1_0-1766712946725.png

 

==============================================================

Or download the S32K344_Whiteboard_Example(LLD)_RTM_1.0.0.zip. Unfortunately, the S32K3 RTD version is quite old: S32K3_RTD_2_0_0_D2203

0 Kudos
Reply
1,280 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Please unzip this .zip file and then install the .exe file.

0 Kudos
Reply
1,275 Views
JungkyuHan1
Contributor III

Dear @Robin_Shen 

It looks All the codes are based on Tresos AUTOSAR.

Is there any Non Autosar base White board examples or PMIC SPI driver? 

0 Kudos
Reply
1,271 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Unfortunately, s32k3_wb_fs26 uses MCAL's Sbc_fs26 in the S32DS Peripherals Tool.

s32k3_wb_self_test does not use MCAL's Sbc_fs26 in the S32DS Peripherals Tool, but the project includes /s32k3_wb_self_test/ExternalDevices/FS26_Drv.

s32k3_wb_self_test ExternalDevices FS26_Drv.png

 

Alternatively, you can refer to Sbc_fs26_example_IP_S32K344 to see how to use Sbc_fs26_Ip in the S32DS Peripherals Tool.

Sbc_fs26_Ip Non-AUTOSAR MCAL Sbc_fs26_example_IP_S32K344.png

0 Kudos
Reply
584 Views
JungkyuHan1
Contributor III

Dear @Robin_Shen 

Thank you for response.

I have tried to build WB_self_test but faced some errors and I have no idea how to fix it.

Please help.

JungkyuHan1_0-1767328041193.png

JungkyuHan1_1-1767328060579.png

JungkyuHan1_2-1767328078770.pngJungkyuHan1_3-1767328093043.png

JungkyuHan1_4-1767328120613.png

 

0 Kudos
Reply
306 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

If you choose Sbc_fs26 in MCAL, you need to configure the Spi in MCAL accordingly. Refer to Sbc_fs26_example_HLD_S32K344.
If you choose Sbc_fs26_Ip in Drivers, you need to configure the Lpspi in Drivers accordingly. Refer to Sbc_fs26_example_IP_S32K344.

0 Kudos
Reply
572 Views
JungkyuHan1
Contributor III

Here I attach my code. Please take a look.

0 Kudos
Reply
1,262 Views
JungkyuHan1
Contributor III

Dear @Robin_Shen 

I will check  Sbc_fs26_example_IP_S32K344 to see how to use Sbc_fs26_Ip

By the way , Where Can I get the code of [s32k3_wb_self_test]?

 

JungkyuHan1_1-1766732211655.png

 

 

JungkyuHan1_0-1766732171719.png

 

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2268383%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K344%20%3A%20PMIC%5BMFS2613%5D%20control%20source%20or%20example%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2268383%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ES32K344%20white%20board%20has%20equipted%20%3CSTRONG%3EPMIC%3C%2FSTRONG%3E%5B%3CSTRONG%3EMFS2613%3C%2FSTRONG%3E%5D.%3C%2FP%3E%3CP%3EI'd%20like%20to%20get%20the%20%3CSTRONG%3ESPI%3C%2FSTRONG%3E%20control%20source%20code%5Bexample%20code%5D.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2268567%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20%3A%20PMIC%5BMFS2613%5D%20control%20source%20or%20example%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2268567%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%23808080%22%3EPlease%20note%20that%20during%20the%20Christmas%20holiday%20period%2C%20our%20support%20response%20times%20may%20be%20longer%20than%20usual.%20In%20some%20cases%2C%20your%20request%20might%20be%20addressed%20after%20the%20New%20Year.%20Thank%20you%20for%20your%20understanding.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EPlease%20download%20FS26%20RTD%20by%20click%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fswlicensing%2Fsso%2FdownloadSoftware.sp%3Fcatid%3DSW32K3-STDSW-D%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ES32K3%20Standard%20Software%3C%2FA%3E%20-%26gt%3B%20Automotive%20SW%20-%20SBC%2FPMIC%20-%20Real%20Time%20Drivers%20-%26gt%3B%26nbsp%3BSBC%20FS26%20R21-11%205.0.0%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22SBC%20FS26%20R21-11%205.0.0%20example.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SBC%20FS26%20R21-11%205.0.0%20example.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SBC%20FS26%20R21-11%205.0.0%20example.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SBC%20FS26%20R21-11%205.0.0%20example.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SBC%20FS26%20R21-11%205.0.0%20example.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SBC%20FS26%20R21-11%205.0.0%20example.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SBC%20FS26%20R21-11%205.0.0%20example.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SBC%20FS26%20R21-11%205.0.0%20example.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SBC%20FS26%20R21-11%205.0.0%20example.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F371130i7AE1687F55E19EFF%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22SBC%20FS26%20R21-11%205.0.0%20example.png%22%20alt%3D%22SBC%20FS26%20R21-11%205.0.0%20example.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EAlthough%20these%20examples%20are%20not%20based%20on%20the%20S32K344-WB%20(note%20the%20difference%20in%20SPI%20pins)%2C%20the%20accompanying%20S32K3%20RTD%20is%20the%20relatively%20new%20RTD%206.0.0.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22SPI%20pins%20difference%20between%20S32K344-WB%20and%20S32K3X4EVB-T172_RevB2%20and.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SPI%20pins%20difference%20between%20S32K344-WB%20and%20S32K3X4EVB-T172_RevB2%20and.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SPI%20pins%20difference%20between%20S32K344-WB%20and%20S32K3X4EVB-T172_RevB2%20and.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SPI%20pins%20difference%20between%20S32K344-WB%20and%20S32K3X4EVB-T172_RevB2%20and.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SPI%20pins%20difference%20between%20S32K344-WB%20and%20S32K3X4EVB-T172_RevB2%20and.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SPI%20pins%20difference%20between%20S32K344-WB%20and%20S32K3X4EVB-T172_RevB2%20and.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SPI%20pins%20difference%20between%20S32K344-WB%20and%20S32K3X4EVB-T172_RevB2%20and.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SPI%20pins%20difference%20between%20S32K344-WB%20and%20S32K3X4EVB-T172_RevB2%20and.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SPI%20pins%20difference%20between%20S32K344-WB%20and%20S32K3X4EVB-T172_RevB2%20and.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F371131i3DE8660FB75F0AEF%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22SPI%20pins%20difference%20between%20S32K344-WB%20and%20S32K3X4EVB-T172_RevB2%20and.png%22%20alt%3D%22SPI%20pins%20difference%20between%20S32K344-WB%20and%20S32K3X4EVB-T172_RevB2%20and.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EOr%20download%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K344-Whiteboard-Example-Project%2Fm-p%2F1500850%23M16879%22%20target%3D%22_self%22%3ES32K344_Whiteboard_Example(LLD)_RTM_1.0.0.zip%3C%2FA%3E.%20Unfortunately%2C%20the%20S32K3%20RTD%20version%20is%20quite%20old%3A%26nbsp%3BS32K3_RTD_2_0_0_D2203%3CBR%20%2F%3EC%3A%5CNXP%5CS32K344_Whiteboard_Example(LLD)_RTM_1.0.0%5CS32K344_Whiteboard_Example(LLD)_RTM_1.0.0%5Cs32k3_wb_fs26%3CBR%20%2F%3EC%3A%5CNXP%5CS32K344_Whiteboard_Example(LLD)_RTM_1.0.0%5CS32K344_Whiteboard_Example(LLD)_RTM_1.0.0%5Cs32k3_wb_self_test%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3ERobin%3CBR%20%2F%3E-------------------------------------------------------------------------------%3CBR%20%2F%3ENote%3A%3CBR%20%2F%3E-%20If%20this%20post%20answers%20your%20question%2C%20please%20click%20the%20%22ACCEPT%20AS%20SOLUTION%22%20button.%20Thank%20you!%3C%2FP%3E%0A%3CP%3E-%20We%20are%20following%20threads%20for%207%20weeks%20after%20the%20last%20post%2C%20later%20replies%20are%20ignored%3CBR%20%2F%3EPlease%20open%20a%20new%20thread%20and%20refer%20to%20the%20closed%20one%2C%20if%20you%20have%20a%20related%20question%20at%20a%20later%20point%20in%20time.%3CBR%20%2F%3E-------------------------------------------------------------------------------%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2269050%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20%3A%20PMIC%5BMFS2613%5D%20control%20source%20or%20example%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2269050%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F57959%22%20target%3D%22_blank%22%3E%40Robin_Shen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThankyou%20for%20support.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20am%20afraid%20the%20Example%20file%20of%20you%20mentioned%20is%20EMPTY.%3C%2FP%3E%3CP%3EPlease%20Check%20again.%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JungkyuHan1_0-1766712946725.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_0-1766712946725.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_0-1766712946725.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_0-1766712946725.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_0-1766712946725.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_0-1766712946725.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_0-1766712946725.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_0-1766712946725.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F371205iCEEFD89C160DC462%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JungkyuHan1_0-1766712946725.png%22%20alt%3D%22JungkyuHan1_0-1766712946725.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FP%3E%3CP%3E%3CSPAN%3EOr%20download%20the%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K344-Whiteboard-Example-Project%2Fm-p%2F1500850%23M16879%22%20target%3D%22_self%22%3ES32K344_Whiteboard_Example(LLD)_RTM_1.0.0.zip%3C%2FA%3E%3CSPAN%3E.%20Unfortunately%2C%20the%20S32K3%20RTD%20version%20is%20quite%20old%3A%26nbsp%3BS32K3_RTD_2_0_0_D2203%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2269052%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20%3A%20PMIC%5BMFS2613%5D%20control%20source%20or%20example%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2269052%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EPlease%20unzip%20this%20.zip%20file%20and%20then%20install%20the%20.exe%20file.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2269118%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20%3A%20PMIC%5BMFS2613%5D%20control%20source%20or%20example%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2269118%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F57959%22%20target%3D%22_blank%22%3E%40Robin_Shen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20will%20check%26nbsp%3B%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ESbc_fs26_example_IP_S32K344%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3Bto%20see%20how%20to%20use%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ESbc_fs26_Ip%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EBy%20the%20way%20%2C%20Where%20Can%20I%20get%20the%20code%20of%26nbsp%3B%5B%3CSTRONG%3Es32k3_wb_self_test%3C%2FSTRONG%3E%5D%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JungkyuHan1_1-1766732211655.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_1-1766732211655.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_1-1766732211655.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_1-1766732211655.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_1-1766732211655.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_1-1766732211655.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F371221i5EE3527E4B278210%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JungkyuHan1_1-1766732211655.png%22%20alt%3D%22JungkyuHan1_1-1766732211655.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JungkyuHan1_0-1766732171719.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_0-1766732171719.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_0-1766732171719.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_0-1766732171719.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_0-1766732171719.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_0-1766732171719.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F371220i75855A7C2696C1BA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JungkyuHan1_0-1766732171719.png%22%20alt%3D%22JungkyuHan1_0-1766732171719.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2269085%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20%3A%20PMIC%5BMFS2613%5D%20control%20source%20or%20example%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2269085%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F57959%22%20target%3D%22_blank%22%3E%40Robin_Shen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20looks%20All%20the%20codes%20are%20based%20on%20Tresos%20AUTOSAR.%3C%2FP%3E%3CP%3EIs%20there%20any%20Non%20Autosar%20base%20White%20board%20examples%20or%20PMIC%20SPI%20driver%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2269089%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20%3A%20PMIC%5BMFS2613%5D%20control%20source%20or%20example%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2269089%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EUnfortunately%2C%20%3CSTRONG%3Es32k3_wb_fs26%3C%2FSTRONG%3E%20uses%20MCAL's%20%3CSTRONG%3ESbc_fs26%3C%2FSTRONG%3E%26nbsp%3Bin%20the%20%3CEM%3E%3CSTRONG%3ES32DS%20Peripherals%20Tool%3C%2FSTRONG%3E%3C%2FEM%3E.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3Es32k3_wb_self_test%3C%2FSTRONG%3E%26nbsp%3Bdoes%20not%20use%20MCAL's%20%3CSTRONG%3ESbc_fs26%3C%2FSTRONG%3E%26nbsp%3Bin%20the%20%3CEM%3E%3CSTRONG%3ES32DS%20Peripherals%20Tool%3C%2FSTRONG%3E%3C%2FEM%3E%2C%20but%20the%20project%20includes%20%2Fs32k3_wb_self_test%2FExternalDevices%2FFS26_Drv.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22s32k3_wb_self_test%20ExternalDevices%20FS26_Drv.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22s32k3_wb_self_test%20ExternalDevices%20FS26_Drv.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22s32k3_wb_self_test%20ExternalDevices%20FS26_Drv.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22s32k3_wb_self_test%20ExternalDevices%20FS26_Drv.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F371213i962982FEECC99D96%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22s32k3_wb_self_test%20ExternalDevices%20FS26_Drv.png%22%20alt%3D%22s32k3_wb_self_test%20ExternalDevices%20FS26_Drv.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EAlternatively%2C%20you%20can%20refer%20to%20%3CSTRONG%3ESbc_fs26_example_IP_S32K344%3C%2FSTRONG%3E%26nbsp%3Bto%20see%20how%20to%20use%20%3CSTRONG%3ESbc_fs26_Ip%3C%2FSTRONG%3E%26nbsp%3Bin%20the%20%3CEM%3E%3CSTRONG%3ES32DS%20Peripherals%20Tool%3C%2FSTRONG%3E%3C%2FEM%3E.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sbc_fs26_Ip%20Non-AUTOSAR%20MCAL%20Sbc_fs26_example_IP_S32K344.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Sbc_fs26_Ip%20Non-AUTOSAR%20MCAL%20Sbc_fs26_example_IP_S32K344.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Sbc_fs26_Ip%20Non-AUTOSAR%20MCAL%20Sbc_fs26_example_IP_S32K344.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Sbc_fs26_Ip%20Non-AUTOSAR%20MCAL%20Sbc_fs26_example_IP_S32K344.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F371212i92E8684077AAF671%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Sbc_fs26_Ip%20Non-AUTOSAR%20MCAL%20Sbc_fs26_example_IP_S32K344.png%22%20alt%3D%22Sbc_fs26_Ip%20Non-AUTOSAR%20MCAL%20Sbc_fs26_example_IP_S32K344.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2270651%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20%3A%20PMIC%5BMFS2613%5D%20control%20source%20or%20example%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2270651%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F57959%22%20target%3D%22_blank%22%3E%40Robin_Shen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20response.%3C%2FP%3E%3CP%3EI%20have%20tried%20to%20build%20WB_self_test%20but%20faced%20some%20errors%20and%20I%20have%20no%20idea%20how%20to%20fix%20it.%3C%2FP%3E%3CP%3EPlease%20help.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JungkyuHan1_0-1767328041193.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_0-1767328041193.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_0-1767328041193.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F371593iBAD6975DCD75E70F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JungkyuHan1_0-1767328041193.png%22%20alt%3D%22JungkyuHan1_0-1767328041193.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JungkyuHan1_1-1767328060579.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_1-1767328060579.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_1-1767328060579.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F371594iEE1799D582F17995%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JungkyuHan1_1-1767328060579.png%22%20alt%3D%22JungkyuHan1_1-1767328060579.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JungkyuHan1_2-1767328078770.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_2-1767328078770.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_2-1767328078770.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F371595i5F9DA8F6AB3DAF1B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JungkyuHan1_2-1767328078770.png%22%20alt%3D%22JungkyuHan1_2-1767328078770.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JungkyuHan1_3-1767328093043.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_3-1767328093043.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_3-1767328093043.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F371596i31B18CA8FE41FCB9%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JungkyuHan1_3-1767328093043.png%22%20alt%3D%22JungkyuHan1_3-1767328093043.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JungkyuHan1_4-1767328120613.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_4-1767328120613.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JungkyuHan1_4-1767328120613.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F371597i58E4CB0CED89742A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JungkyuHan1_4-1767328120613.png%22%20alt%3D%22JungkyuHan1_4-1767328120613.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2270653%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20%3A%20PMIC%5BMFS2613%5D%20control%20source%20or%20example%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2270653%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHere%20I%20attach%20my%20code.%20Please%20take%20a%20look.%3C%2FP%3E%3C%2FLINGO-BODY%3E