Mixing drivers from two different SDK

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

Mixing drivers from two different SDK

Jump to solution
827 Views
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?

Labels (1)
Tags (1)
0 Kudos
1 Solution
794 Views
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.

View solution in original post

5 Replies
795 Views
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.

793 Views
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

817 Views
viveknath_thulasi
Contributor II

Thanks a lot for your idea.

Will try out completely changing the Driver Libraries.

0 Kudos
816 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi viveknath_thulasi,

  You are welcome!

  Any issue you meet, just kindly let me know.

Best Regards,

kerry

0 Kudos
823 Views
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