Mixing drivers from two different SDK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Mixing drivers from two different SDK

跳至解决方案
2,243 次查看
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,210 次查看
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,211 次查看
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,209 次查看
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,233 次查看
viveknath_thulasi
Contributor II

Thanks a lot for your idea.

Will try out completely changing the Driver Libraries.

0 项奖励
回复
2,232 次查看
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,239 次查看
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