1990213_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

1990213_en-US

1990213_en-US

Issue on Tresos tool for I2c configuration - S32K344uC

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



Re: Issue on Tresos tool for I2c configuration - S32K344uC

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

Re: Issue on Tresos tool for I2c configuration - S32K344uC

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. 

Re: Issue on Tresos tool for I2c configuration - S32K344uC

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.
-------------------------------------------------------------------------------

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 03:15 PM
更新者: