S32K388EVB-Q289_EVB FS5600 I2C example code

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

S32K388EVB-Q289_EVB FS5600 I2C example code

Jump to solution
850 Views
seanwu
Contributor IV

Dear sir,

On the S32K388EVB-Q289 board, is there any sample code available for controlling the FS5600 via LPI2C1?
I noticed that the NTB0102GT is not suitable for use with I²C. Since this part is used on the EVB, does the functionality still work properly?
Or what should I do if I want to use LPI2C1 to control the FS5600?

 

Thanks.

BR,

Sean Wu

seanwu_2-1764676989890.png

 

Tags (1)
0 Kudos
Reply
1 Solution
830 Views
PavelL
NXP Employee
NXP Employee

Hello @seanwu ,

You are correct that NTB0102GT is not suitable for I²C communication. The correct part for I²C level shifting should be NTS0102. NTB0102 and NTS0102 share the same footprint, so replacing NTB0102 with NTS0102 is straightforward 

On the S32K388EVB-Q289, NTB0102GT is currently populated, which means that using LPI2C1 through this translator may lead to unreliable communication.

NXP provides a FS56 Generic Software Driver with Examples, available on the FS5600 product page:

https://www.nxp.com/products/FS5600

PavelL_0-1764682481460.png

 

Best regards,

Pavel

View solution in original post

0 Kudos
Reply
2 Replies
809 Views
seanwu
Contributor IV

Dear Pavel,

Thank you for your detailed explanation. 

 

BR,

Sean Wu

0 Kudos
Reply
831 Views
PavelL
NXP Employee
NXP Employee

Hello @seanwu ,

You are correct that NTB0102GT is not suitable for I²C communication. The correct part for I²C level shifting should be NTS0102. NTB0102 and NTS0102 share the same footprint, so replacing NTB0102 with NTS0102 is straightforward 

On the S32K388EVB-Q289, NTB0102GT is currently populated, which means that using LPI2C1 through this translator may lead to unreliable communication.

NXP provides a FS56 Generic Software Driver with Examples, available on the FS5600 product page:

https://www.nxp.com/products/FS5600

PavelL_0-1764682481460.png

 

Best regards,

Pavel

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2253153%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K388EVB-Q289_EVB%20FS5600%20I2C%20example%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2253153%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EDear%20sir%2C%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EOn%20the%20S32K388EVB-Q289%20board%2C%20is%20there%20any%20sample%20code%20available%20for%20controlling%20the%20FS5600%20via%20LPI2C1%3F%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EI%20noticed%20that%20the%20NTB0102GT%20is%20not%20suitable%20for%20use%20with%20I%C2%B2C.%20Since%20this%20part%20is%20used%20on%20the%20EVB%2C%20does%20the%20functionality%20still%20work%20properly%3F%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EOr%20what%20should%20I%20do%20if%20I%20want%20to%20use%20LPI2C1%20to%20control%20the%20FS5600%3F%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EThanks.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EBR%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESean%20Wu%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22seanwu_2-1764676989890.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22seanwu_2-1764676989890.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368208i90B64D6A9979BF01%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22seanwu_2-1764676989890.png%22%20alt%3D%22seanwu_2-1764676989890.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2253565%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K388EVB-Q289_EVB%20FS5600%20I2C%20example%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2253565%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20Pavel%2C%3C%2FP%3E%3CP%3E%3CSPAN%3EThank%20you%20for%20your%20detailed%20explanation.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EBR%2C%3C%2FP%3E%3CP%3ESean%20Wu%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2253221%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K388EVB-Q289_EVB%20FS5600%20I2C%20example%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2253221%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F46187%22%20target%3D%22_blank%22%3E%40seanwu%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EYou%20are%20correct%20that%20NTB0102GT%20is%20not%20suitable%20for%20I%C2%B2C%20communication.%20The%20correct%20part%20for%20I%C2%B2C%20level%20shifting%20should%20be%20NTS0102.%20NTB0102%20and%20NTS0102%20share%20the%20same%20footprint%2C%20so%20replacing%20NTB0102%20with%20NTS0102%20is%20straightforward%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOn%20the%20S32K388EVB-Q289%2C%20NTB0102GT%20is%20currently%20populated%2C%20which%20means%20that%20using%20LPI2C1%20through%20this%20translator%20may%20lead%20to%20unreliable%20communication.%3C%2FP%3E%0A%3CP%3ENXP%20provides%20a%26nbsp%3BFS56%20Generic%20Software%20Driver%20with%20Examples%2C%20available%20on%20the%20FS5600%20product%20page%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fproducts%2FFS5600%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%20shape%3D%22rect%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fproducts%2FFS5600%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PavelL_0-1764682481460.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22PavelL_0-1764682481460.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368228iA4BBE27AB98EEB67%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22PavelL_0-1764682481460.png%22%20alt%3D%22PavelL_0-1764682481460.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPavel%3C%2FP%3E%3C%2FLINGO-BODY%3E