frdm-k22f datalogger

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

frdm-k22f datalogger

1,887 Views
vitormayer
Contributor II

Hello,

 

I'm trying create a data logger using frdm-k22f, frdm-fxs-mult, and the SD card into fxs.

 

some buddy could help me?

 

I wanna do this with MQX lite, KDS and KSDK 1.3.0

 

Thank you.

Labels (1)
0 Kudos
Reply
5 Replies

1,475 Views
chadwilliams
Contributor III

Take a look at Erich Styger's tutorials.

there is a logger example using the K64F:  Tutorial: Data Logger with the FRDM-K64F Board | MCU on Eclipse

and you could apply the same principles to any other board equipped with an SD card socket

0 Kudos
Reply

1,475 Views
vitormayer
Contributor II

Hi Williams,

I had seen this tutorial, but with K22f and KSDK 1.3.0, the SPIMarster_LDD does not work.

I guess I have to use fls_dspi, however I do not know how configure it.

it is my first time working with freescale uC family.

thank you for your fast answer

if you had anything else more specific, I will be very thankful.

0 Kudos
Reply

1,475 Views
DavidS
NXP Employee
NXP Employee

Hi Victor,

Chad had great link and to add to that an updated version references using the frdm-k22f:

Added Micro SD Card Socket to FRDM-K22F | MCU on Eclipse

The frdm-k22f and the frdm-k64f use on-chip SDCH peripheral to access the SD Card which is high performance than using SPI which the frdm-fxs-mult is configured to use to access the SD Card via the standard Ardrino header.... but I have not seen code developed to access it that way.

Regards,

David

0 Kudos
Reply

1,475 Views
vitormayer
Contributor II

Hello David,

I also tried the SDHC_LDD, fsl_SDHC and FatFSMemSDHC.

Every time when i try use one of these the IDE show me a message "The component is not supported for selected processor". I have reed about it, but I don't know how to use it.

0 Kudos
Reply

1,475 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Vitor Mayer:

You may also have a look to the next document in the community:

FatFs + SDHC data logger with KSDK in Kinetis Design Studio

I have not tried with KSDK v1.3, but if you find any pitfalls let me know and I will make an effort to update it as soon as possible.

And a very similar project but using Processor Expert +KSDK:

FRDM K64F Data Logger using FatFs with KSDK 1.2.0 | Centaurian

Regards!

Jorge Gonzalez

0 Kudos
Reply