I2C drivers for TRK KEA128

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

I2C drivers for TRK KEA128

Jump to solution
1,832 Views
jashanm
Contributor III

hi all,

         I am working on TRK KEA128, Since i need to communicate with a sensor on I2C it need the supporting drivers (like .c and .h which we use in case of gpio) which I couldnt get it on website. So can any one share it with me so that i could test it out ?

Labels (1)
Tags (2)
0 Kudos
1 Solution
1,040 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Jashan M:

Attached is a driver for I2C. This driver was developed for KE devices, but as mentioned by Mark the modules are the same. If you are interested in more drivers and examples of how to use them, you can download the KEXX drivers package from the link below, called KEXX_DRIVERS_V1.2.1_DEVD under "Middleware-Device Drivers":

Freescale Freedom Development Platform for Ki|Freescale

And specifically for TRK-KEA128 there are some labs which could help you in the next link, under "Lab and Test software":

Kinetis KEA128 StarterTRAK for CAN Applicatio|Freescale


Regards!,
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

5 Replies
1,040 Views
sandipmule
Contributor II

Hey Jashan first of all use S32 Design studio for programming TRK-KEA128 and another input is that FRDM-KEA128 and TRK-KEA128 board having same microcontroller so there is readymade library for all the  peripherals of FRDM-KEA128 board using S32 Design Studio which is working fine for TRK-KEA128 I have tested it is working fine !!!!

0 Kudos
1,040 Views
sandipmule
Contributor II

hey Jorge_Gonzalez  I have tried this driver in kiel Uvision 5 IDE for TRK-KEA128 board   but I get lots of error which I unable to solve so I decided to write my own library for I2C and I have done with it and now I am using this library to write byte into AT24C64 EEPROM and get back same byte from AT24C64 EEPROM  , I have successfully write a byte into this eeprom but while reading this byte from the eeprom I always get 0 , I don't know what is the problem I have tried each and every bit of register but I didn't understand the problem  

can you please help to find error ???

https://github.com/mulesandip3/EEPROM-Interfacing-with-TRK-KEA128

please refer above link to access my project !!!

0 Kudos
1,041 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Jashan M:

Attached is a driver for I2C. This driver was developed for KE devices, but as mentioned by Mark the modules are the same. If you are interested in more drivers and examples of how to use them, you can download the KEXX drivers package from the link below, called KEXX_DRIVERS_V1.2.1_DEVD under "Middleware-Device Drivers":

Freescale Freedom Development Platform for Ki|Freescale

And specifically for TRK-KEA128 there are some labs which could help you in the next link, under "Lab and Test software":

Kinetis KEA128 StarterTRAK for CAN Applicatio|Freescale


Regards!,
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,040 Views
bharadwaaj
Contributor III

Hi,

     The example file in the KEXX_DRIVERS_V1.2.1_DEVD gives example to read and write to i2c slave address but how do i make sure i read from a particular register of the i2c slave....

0 Kudos
1,040 Views
mjbcswitzerland
Specialist V

Hi

The KEA128 is now supported in the uTasker project: µTasker TRK-KEA128 support which contains most resources.

However the KEA128 is more or less the same as a KE06 so you can probably use any KE06 files to work with.

Regards

Mark

Kinetis: µTasker Kinetis support

KE: µTasker FRDM-KE02Z support  / µTasker FRDM-KE02Z40M support  / µTasker FRDM-KE06Z support

KEA: µTasker TRK-KEA128 support

For the complete "out-of-the-box" Kinetis experience and faster time to market

0 Kudos