Getting Started with TensorFlow Lite for Microcontrollers on i.MX RT

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

Getting Started with TensorFlow Lite for Microcontrollers on i.MX RT

Getting Started with TensorFlow Lite for Microcontrollers on i.MX RT

This lab will cover how to take an existing TensorFlow Lite model and run it on NXP MCU devices using the TensorFlow Lite for Microcontrollers inference engine and the eIQ examples found in MCUXpresso SDK. The labs use a model trained on flower photos but the same concepts could be extended to any type of TFLite model. 

 

This lab was written for i.MX RT1170 but the same concepts can be applied to any eIQ supported board including:

FRDM-MCXN947

i.MX RT685-EVK

i.MX RT595-EVK

i.MX RT700-EVK

i.MX RT1050-EVKB

i.MX RT1060-EVK

i.MX RT1064-EVK

i.MX RT1160-EVK

i.MX RT1170-EVK

i.MX RT1170-EVKB

i.MX RT1180-EVK

 

There is also a supplemental lab for how to use the HiFi4 examples to run models on i.MX RT700 and i.MX RT685. 

 

---
Updated February 2026 to add both VS Code and MCUXpresso IDE lab options

Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1124103%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3EGetting%20Started%20with%20TensorFlow%20Lite%20for%20Microcontrollers%20on%20i.MX%20RT%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1124103%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3E%3CSPAN%3EThis%20lab%20will%20cover%20how%20to%20take%20an%20existing%20TensorFlow%20Lite%20model%20and%20run%20it%20on%20NXP%20MCU%20devices%20using%20the%20TensorFlow%20Lite%20for%20Microcontrollers%20inference%20engine%20and%20the%20eIQ%20examples%20found%20in%20MCUXpresso%20SDK.%20The%20labs%20use%20a%20model%20trained%20on%20flower%20photos%20but%20the%20same%20concepts%20could%20be%20extended%20to%20any%20type%20of%20TFLite%20model.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%3EThis%20lab%20was%20written%20for%20i.MX%20RT1170%20but%20the%20same%20concepts%20can%20be%20applied%20to%20any%20eIQ%20supported%20board%20including%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%3EFRDM-MCXN947%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%3Ei.MX%20RT685-EVK%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%3Ei.MX%20RT595-EVK%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%3Ei.MX%20RT700-EVK%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%3Ei.MX%20RT1050-EVKB%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%3Ei.MX%20RT1060-EVK%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%3Ei.MX%20RT1064-EVK%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%3Ei.MX%20RT1160-EVK%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%3Ei.MX%20RT1170-EVK%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%3Ei.MX%20RT1170-EVKB%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%3Ei.MX%20RT1180-EVK%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%3EThere%20is%20also%20a%20supplemental%20lab%20for%20how%20to%20use%20the%20HiFi4%20examples%20to%20run%20models%20on%20i.MX%20RT700%20and%20i.MX%20RT685.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%3E---%3CBR%20%2F%3EUpdated%20February%202026%20to%20add%20both%20VS%20Code%20and%20MCUXpresso%20IDE%20lab%20options%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1124103%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CLINGO-LABEL%3Ei.MX%20RT%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
3 weeks ago
Updated by: