Example Code

MCB 2300 / LPC2378 SPI Reference Design

Code and Documents

Attachment

The ARM SPI Create Configuration Reference vi in Labview embedded module has a little flaw with chip select input.

Infact it selects spi interface not the chip. (LPC2378 has 2 spi interfaces on it).

So it is necessary implementing Chip Select manually.

Here is a working (tested) SPI reference design for MCB2300 and LPC2378 microcontrolers.

Manuel chip select capability added to original SPI VIs.

SP32-20110218-224232.png

                       Figure1.  Example usage.

SP32-20110218-224253.png

                       Figure2.  Manuel Chip select.

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

Comments
Himmet
Active Participant
Active Participant
on

Thanks...

Himmet GENCER
Software Development Coordinator at TDG
himmetgencer@gmail.com

View Himmet Gencer's profile on LinkedIn

View on Instagram
Contributors