SSI/SPI Help

I purchased the EKS-LM3S9B90 Evaluation Board with Code Composer Studio. Now, I have questions about the actual coding of the board.

I am relatively familiar in coding in C++ and noticed that CCS uses C to code the board which is very recognizable and similar to C++ so operations and command for the most part should be fine for me to figure out myself. However, all of my coding experience has been with university courses of C++ program computer console programs, so hardware programming with C seems much different after looking at some of the sample code provided with the board. So basically any help in getting started with this project would greatly help I'm sure (please keep in mind that I'm new at this and I apologize for any stupid questions).

The program itself that I need to write is fairly simple I would think. Basically I need to be able to control the blinking for a bank of LEDs controlled by LED drivers that set the states of the LEDS based on SPI messages. So my plan was to ultimately take in a script file of the period of all the LEDs on my board and run some functions to develop all of the states of the LEDs and then have the processor send the SPI (or SSI in this case I believe) message at 30 MHz (the max rate of the SSI clock for the LM3S9B90 and the LED drivers) constantly changing the states of the LEDs if needed. Now right now, my main interest is to be able to send the SSI message which right now I'm unfamiliar with how to do with this board. For now, I could just hard wire some numbers in to have all the LEDs blink at one rate for the first phase of the project.

Any help, direction, or code to help me achieve this goal will be greatly appreciated. If I confused you or left some important information out, I would be more than happy to provide more information or clear some of my goals up for you. Thank you for your help!

3 Replies

  • This Forum is a repository for sharing code, designs, and schematics.

    That means that this forum is where you post code that you have written and you want to share with others.

    As you're not doing that, you should post in the General forum...

    Post edited by: awneil, at: 2010/04/23 08:26
  • I did not find your questions reposted on any of the other forums (perhaps my search was flawed). Are your questions resolved?

    --Bobby
  • In reply to Bobby Bradford:

    hi all,

    I start to use  LM3S608, i connect SSI of LM3S608 with CC1101 module. I configuration SSI to SPI

    I use logic analyzer to view signal, all okay, but i can't read SPI from CC1101 because i can't configuration to disable Rx FIFO

    please talk to me, how t configuration Threshold for Rx FIFO, or how to disable RX FIFO same as Rx FIFO of UART module

     

    Regards,