bluehash 1,581 Posted November 21, 2010 Share Posted November 21, 2010 Yes, because the 2231 only has a 1Mhz calibrated DCO. You will have to setup the clock as 1MHz. iragdoll 1 Quote Link to post Share on other sites
iragdoll 0 Posted November 21, 2010 Author Share Posted November 21, 2010 Now it is saying -creating output section ".int22" without a SECTIONS specification and also -------- creating output section ".int23" without a SECTIONS specification Quote Link to post Share on other sites
iragdoll 0 Posted November 21, 2010 Author Share Posted November 21, 2010 It also bring up a problem where it says that it could not create the .out file. It is really strange that this error pulled up. I can write any other program to it without using an external library but when I put a 3rd-party library to it, it keeps giving this error. Quote Link to post Share on other sites
bluehash 1,581 Posted November 21, 2010 Share Posted November 21, 2010 Thats because the linker file(the files that allocates your code to the chips memory) is for a different chip. When you start the project, do you choose 2231 or F2618? Quote Link to post Share on other sites
iragdoll 0 Posted November 21, 2010 Author Share Posted November 21, 2010 Yes I selected the msp430g2231 chip at the creation of the project. Is this library even compatible with the chip? Quote Link to post Share on other sites
bluehash 1,581 Posted November 21, 2010 Share Posted November 21, 2010 The library is, but not the setup. To run, the chip needs a clock. The example was made for the MSP430F2618, which can run at 16Mhz. The 2231 which you have can, but its not recommended. Since the MSP430 chips have an internal oscillator, they are factory calibrated to give precise selected frequencies. These calibration constants are stored on the chip when they are made. The 2231 has only: CALBC1_1MHZ; CALDCO_1MHZ; whereas the 2618 can goto 16Mhz CALBC1_16MHZ; CALDCO_16MHZ; Now since you selected F2231, CALBC1_16MHZ is not defined, since it does not support it. You are stuck at 1Mhz. You can go to higher frequencies, but it will not be a calibrated frequency. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.