Communication between MSP430 and ACC, C-Code

This is a discussion on Communication between MSP430 and ACC, C-Code within the C Programming forums, part of the General Programming Boards category; Hi! I want to build a communication based on 4 wire spi between my MSP430F5438A and accelerator ADXL345. I want ...

  1. #1
    Registered User
    Join Date
    May 2013
    Posts
    1

    Communication between MSP430 and ACC, C-Code

    Hi!

    I want to build a communication based on 4 wire spi between my MSP430F5438A and accelerator ADXL345.

    I want to get the informations of the axes.
    For this purposes I wrote a code based in some parts on the Arduino example Code of Sparkfun, but I am not exactly sure in some parts of it.

    May somebody take a look on the code and give me some advices.
    I plna one change:The varible settings should be putted as preprocessor definitions, but I hink it should for the start be also ok like this.

    My concerns are the structure of the interupt routine and the structure of the main.

    Thanks and Greetings
    Attached Files Attached Files

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C MSP430 programming question
    By tj22 in forum C Programming
    Replies: 6
    Last Post: 10-29-2012, 12:58 AM
  2. Replies: 4
    Last Post: 04-14-2012, 03:52 AM
  3. Replies: 14
    Last Post: 02-19-2012, 01:24 AM
  4. Serial Communication Code for Reading
    By coolrox86 in forum C++ Programming
    Replies: 2
    Last Post: 04-24-2010, 05:30 AM
  5. usb communication
    By sgh in forum Networking/Device Communication
    Replies: 6
    Last Post: 01-15-2009, 09:43 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21