Mixing drivers from two different SDK

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

Mixing drivers from two different SDK

ソリューションへジャンプ
2,250件の閲覧回数
viveknath_thulasi
Contributor II

Hi,

I developed a firmware on top of an example project(From SDK 2.9.0) that works completely fine.

When I try to do the Same with an another existing firmware, It throws Ki2c_busy always right after the first I2C_RTOS_Transfer. The underlying SDK/Drivers are from SDK 2.5.0.

Is It good idea/Preferred to mix the corresponding Drivers new related to I2c with the drivers from old SDK?

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
2,217件の閲覧回数
viveknath_thulasi
Contributor II

Hi,

The problem was related with shallow copying a handle that i found out later.

The older drivers works fine.

Thanks a lot for your inputs.

元の投稿で解決策を見る

5 返答(返信)
2,218件の閲覧回数
viveknath_thulasi
Contributor II

Hi,

The problem was related with shallow copying a handle that i found out later.

The older drivers works fine.

Thanks a lot for your inputs.

2,216件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi ,

  Thanks so much for your sharing.

   Anyway, in the future, it's better to use the new SDK driver.

 

Best Regards,

Kerry

2,240件の閲覧回数
viveknath_thulasi
Contributor II

Thanks a lot for your idea.

Will try out completely changing the Driver Libraries.

0 件の賞賛
返信
2,239件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi viveknath_thulasi,

  You are welcome!

  Any issue you meet, just kindly let me know.

Best Regards,

kerry

0 件の賞賛
返信
2,246件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi viveknath_thulasi,

   Thanks for your interest in the NXP kinetis product, I would like to provide service for you.

   To be honest, I suggest you use the newest SDK driver directly, just discard the old SDK2.5.0 version.

   Maybe the new SDK version fixed some driver bugs in the old drivers, so you can create the new project based on the newest SDK, then add the other code to your project with new SDK.

   Don't mix the old and new driver, as when you find issues, it is difficult to find the root issue, which will be time-consuming. But if you use the new SDK, at least the new SDK project can make it work directly and give you a refernece.

Wish it helps you!

If you still have questions about it, please kindly let me know.

Best Regards,

Kerry