Issue on Tresos tool for I2c configuration - S32K344uC

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

Issue on Tresos tool for I2c configuration - S32K344uC

Jump to solution
1,901 Views
MVR
Contributor V

Hello all,

I'm facing a issue when configure I2C on Tresos tool for S32K344 microcontroller.

The current version that I'm using is: 4.0.0 HF02_D2407 (the latest version).

I configured the I2c as Fast mode, but when I try to generate the code, I get this error:

MVR_1-1730985417672.png

 

MVR_0-1730985353919.png

Can anyone help me with this problem? I'm not using the HighSpeedMode, so why there is this error?

Thank you,

MVR

 

 

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

Since you don't really need to use LPI2C_HIGHSPEED_MODE, you only need to modify the configuration so that I2cDataValidDelay meets the restrictions.

View solution in original post

0 Kudos
Reply
3 Replies
1,849 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Sorry for the inconvenience we bring you!

The issue is that the I2c Baud Rate field from I2cHighSpeedModeConfiguration container needs to be updated after I2c Prescaler field is updated, To fix this field, I2c Operating Mode should be set on LPI2C_HIGHSPEED_MODE and recalculate the I2c Baud Rate from this container. After I2c Baud Rate field is recalculated, I2c Operating Mode field should be switch on the desired operating mode.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" 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,831 Views
MVR
Contributor V

Hello @Robin_Shen ,

I did it, but I continue getting error:

MVR_0-1731336844990.png

 

Where should I recalculate this baudarte? I tried in the "Master Configuration" tab. 

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

Since you don't really need to use LPI2C_HIGHSPEED_MODE, you only need to modify the configuration so that I2cDataValidDelay meets the restrictions.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1990213%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EIssue%20on%20Tresos%20tool%20for%20I2c%20configuration%20-%20S32K344uC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1990213%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20all%2C%3C%2FP%3E%3CP%3EI'm%20facing%20a%20issue%20when%20configure%20I2C%20on%20Tresos%20tool%20for%20S32K344%20microcontroller.%3C%2FP%3E%3CP%3EThe%20current%20version%20that%20I'm%20using%20is%3A%204.0.0%20HF02_D2407%20(the%20latest%20version).%3C%2FP%3E%3CP%3EI%20configured%20the%20I2c%20as%20Fast%20mode%2C%20but%20when%20I%20try%20to%20generate%20the%20code%2C%20I%20get%20this%20error%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22MVR_1-1730985417672.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22MVR_1-1730985417672.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F309238i4307A665D13A49D6%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22MVR_1-1730985417672.png%22%20alt%3D%22MVR_1-1730985417672.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%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%22MVR_0-1730985353919.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22MVR_0-1730985353919.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F309237i3832C92105E0DA9C%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22MVR_0-1730985353919.png%22%20alt%3D%22MVR_0-1730985353919.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ECan%20anyone%20help%20me%20with%20this%20problem%3F%20I'm%20not%20using%20the%20HighSpeedMode%2C%20so%20why%20there%20is%20this%20error%3F%3C%2FP%3E%3CP%3EThank%20you%2C%3C%2FP%3E%3CP%3EMVR%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1992280%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Issue%20on%20Tresos%20tool%20for%20I2c%20configuration%20-%20S32K344uC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1992280%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ESince%20you%20don't%20really%20need%20to%20use%20LPI2C_HIGHSPEED_MODE%2C%20you%20only%20need%20to%20modify%20the%20configuration%20so%20that%20I2cDataValidDelay%20meets%20the%20restrictions.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1992050%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Issue%20on%20Tresos%20tool%20for%20I2c%20configuration%20-%20S32K344uC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1992050%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%2F57959%22%20target%3D%22_blank%22%3E%40Robin_Shen%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3EI%20did%20it%2C%20but%20I%20continue%20getting%20error%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22MVR_0-1731336844990.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22MVR_0-1731336844990.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F309796iDF5C9AEF3CB546D3%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22MVR_0-1731336844990.png%22%20alt%3D%22MVR_0-1731336844990.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EWhere%20should%20I%20recalculate%20this%20baudarte%3F%20I%20tried%20in%20the%20%22Master%20Configuration%22%20tab.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1991783%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Issue%20on%20Tresos%20tool%20for%20I2c%20configuration%20-%20S32K344uC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1991783%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%0A%3CP%3ESorry%20for%20the%20inconvenience%20we%20bring%20you!%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20issue%20is%20that%20the%20I2c%20Baud%20Rate%20field%20from%20I2cHighSpeedModeConfiguration%20container%20needs%20to%20be%20updated%20after%20I2c%20Prescaler%20field%20is%20updated%2C%20To%20fix%20this%20field%2C%20I2c%20Operating%20Mode%20should%20be%20set%20on%20LPI2C_HIGHSPEED_MODE%20and%20recalculate%20the%20I2c%20Baud%20Rate%20from%20this%20container.%20After%20I2c%20Baud%20Rate%20field%20is%20recalculated%2C%20I2c%20Operating%20Mode%20field%20should%20be%20switch%20on%20the%20desired%20operating%20mode.%3C%2FSPAN%3E%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%22Mark%20Correct%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