Example Code

LabVIEW Embedded for ARM I2C Example

Code and Documents

Attachment

Introduction

This example performs I2C on an embedded ARM target.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
JosephH
Member
Member
on

If you're using JTAG debugging with this example be aware of this known issue:

Because reading and writing of strings, clusters, and arrays is not synchronized in ARM applications, sometimes front panel controls and indicators do not update properly when you use the JTAG/non-instrumented debugging mode.

Workaround—Set breakpoints on the wires to the controls or indicators you are debugging.

We had to index the array and put indicators for each array element on the front panel to get it to display correctly (on LM3S8962)

Contributors