This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LM3S2965 & LM4F232

Other Parts Discussed in Thread: LM3S2965

Hi ,

We have to use the LM4F232 for our project but we have a LM3S2965 Evaluation kit which was used in an earlier project ,can we develop the code using Stellarisware driver lib for basic GPIO,I2C,SPI,ADC,UART and CAN using the 2965 eval kit and then use the same code on the LM4F232 modifying the pin config and initializations.

Regards

Abhay

  • Abhay Kothari said:
    We have to (sic) use the LM4F232 for our project but we have a LM3S2965 Evaluation kit

    So why do you have to use it when you don't have it ? Espeially when you do have something else - and are, presumably, familiar with it from your previous project?!

    Or is this just an excercise in writing portable code?

    The key to writing portable code is to keep all target-dependecies isolated into as few, well-defined locations as possible - google "writing portable code"...

     

  • We Have to use it because in the newer project we need more peripherals and GPIO ,initial thought was to go with the LM3S2965 but it needed multiplexing the I2C ports and didn't have USB support ,so we decided to go with the LM4F232 ,Please elaborate on Target Dependancy . .

  • Abhay Kothari said:
    Please elaborate on Target Dependancy

    It is exactly as it says: being Dependant on particular features/facilities of a specific Target!

    htp://www.lmgtfy.com?q=writing+portable+code

  • So basically you are saying that if the micro has the feature in question ,the code will work upon correct configuration of the pins ,else not