<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://e2e.ti.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MSP430™ Microcontrollers</title><link>http://e2e.ti.com/support/microcontrollers/msp430/default.aspx</link><description>Discussion on MSP430™16-bit Ultra-Low Power Microcontrollers.</description><dc:language>en-US</dc:language><generator>6.x Production</generator><item><title>Forum Post: RE: I am UART challenged</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/266098/931434.aspx#931434</link><pubDate>Tue, 21 May 2013 22:30:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:931434</guid><dc:creator>Tom Harper</dc:creator><description>&lt;p&gt;Thanks John - I&amp;#39;m missing something.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;I downloaded the assembly apps examples, but&amp;nbsp;there wasn&amp;#39;t&amp;nbsp;any uart code. Also couldn&amp;#39;t find slac485.&lt;/p&gt; &lt;p&gt;I&amp;#39;ll check the &amp;#39;C&amp;#39; code.&lt;/p&gt; &lt;p&gt;Tom&lt;/p&gt;</description></item><item><title>Forum Post: RE: Temp sensor issue</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/265741/931413.aspx#931413</link><pubDate>Tue, 21 May 2013 22:12:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:931413</guid><dc:creator>Debasish Banerjee</dc:creator><description>&lt;p&gt;you need to just substract 273, the Kelvin calibrated constant from what you get in ADC10MEM reading, that is your&amp;nbsp;temperature, and forget about those fractions as this very temperature sensor is only capable of reading integer values.&lt;br /&gt;Please verify and mark as answer if you find it such, Thank you.&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;span style="text-decoration:underline;"&gt;P.S. It is not cool enough to see someone trying to become a guru or running after the reward programme following the wrong path, I hope you are aware of the fact that if a person intentionally posts questions that are similiar or makes comments that are unnecessary or intentionally do not marks an answer as reply just to beat others score, if anyone cares to complain all those foolish efforts goes in vain as the persons points are deducted, even his/her account may be banned !&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;</description></item><item><title>Forum Post: FR5720 Bootstrap Loader Question</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/266404.aspx</link><pubDate>Tue, 21 May 2013 22:05:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forum:266404</guid><dc:creator>Tim Reyes</dc:creator><description>&lt;p&gt;Hello all,&lt;/p&gt; &lt;p&gt;I am currently migrating from F2012 to FR5720.&lt;/p&gt; &lt;p&gt;My interpretation of the MSP430F2012 datasheet leads me to believe that there is no bootstrap loader code in this device and that when the JTAG fuse is blown the firmware and all internal memory is no longer accessible. Is this true or false?&lt;/p&gt; &lt;p&gt;The MSP430FR5720 has a bootstrap loader and I need to provide optimum security for the device firmware.&lt;/p&gt; &lt;p&gt;I know that there is a disable code and various methods of password protection but I have been given this link &lt;a href="http://events.ccc.de/congress/2008/Fahrplan/attachments/1191_goodspeed_25c3_bslc.pdf"&gt;http://events.ccc.de/congress/2008/Fahrplan/attachments/1191_goodspeed_25c3_bslc.pdf&lt;/a&gt; that indicates the BSL can be hacked.&lt;/p&gt; &lt;p&gt;Can&amp;nbsp;you comment on this BSL hack?&lt;/p&gt; &lt;p&gt;Is there a way of erasing or corrupting the BSL code?&lt;/p&gt; &lt;p&gt;What are the security measures in place or available for this device?&lt;/p&gt; &lt;p&gt;Any direction here would be very much appreciated.&lt;/p&gt;</description></item><item><title>Forum Post: MSP430 5 Series Sleep Mode</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/266398.aspx</link><pubDate>Tue, 21 May 2013 21:40:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forum:266398</guid><dc:creator>Elush Shirazpour</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;I have a customer who wants a low powered MCU with sleep mode less than 1 uA-- which usually is not a problem for us; however, he wants additional features.&lt;/p&gt; &lt;p&gt;Features are speed is 16 kHZ, 32k Flash, 4 16 bit timers, watchdog timer of external clock source, 14 IO pins. This automatically leads me to 5 series MSP430, but the customer wants lower than 300 nA when in sleep mode.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;I would think Wolverine, but the customer is wanting to make the parts now so he cant wait.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;The trouble I am having is competing with a Microchip device that does 300 nA in sleep mode. I see that in LPM4.5 can do 180 nA, but that will have to be out of reset with no data retention.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&amp;nbsp;Is there a way we can beat the 300 nA using a wake up from a 32 kHz external crystal? Is there something I am missing from the datasheet?&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Thank you&lt;/p&gt; &lt;p&gt;Elush Shirazpour&lt;/p&gt;</description></item><item><title>Forum Post: I2C and software low power optimization</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/266390.aspx</link><pubDate>Tue, 21 May 2013 20:57:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forum:266390</guid><dc:creator>Gege</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;One question about how to save power with software optimization with a I2C data communication. In my mind, the key concept is to deal with interrupts.&amp;nbsp;&lt;/p&gt; &lt;p&gt;In a read operation in the body of my code there the following lines :&lt;/p&gt; &lt;p&gt;while(data_read == 0){&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;UCB0CTL1 |= UCTXSTT;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;UCB0TXBUF = 0x00;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;UCB0CTL1 |= UCTXSTP;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;__delay_cycles(200);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;data_read = UCB0RXBUF;&lt;br /&gt;}&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;I ask me the opportunity to programming that with interrupt with USCIAB0TX_VECTOR to send my data. But three question :&lt;/p&gt; &lt;p&gt;- May really same energy with an interrupt to send data in that part ?&amp;nbsp;&lt;/p&gt; &lt;p&gt;- Is-there a mean to adapt that with USCIAB0TX_VECTOR and enable RX interrupt ?&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;Thanks for your reply.&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;BR&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;GM&lt;/p&gt;</description></item><item><title>Forum Post: General questions on using MSP-EXP430F5529</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/266382.aspx</link><pubDate>Tue, 21 May 2013 19:58:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forum:266382</guid><dc:creator>David Platillero</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;I&amp;#39;m designing a 4-channel ADC uC with the MSP430F5529.&lt;/p&gt; &lt;p&gt;I&amp;#39;m completely new to microcontrollers, and as I&amp;#39;ve been learning about them I&amp;#39;ve come across some general questions that I&amp;#39;m having a tough time getting a straightforward answer on. Here are a few:&lt;/p&gt; &lt;p&gt;1. The uChas two usb options. I am able to use the eZ usb to load example programs to the uC (from Code Composer Studio), but would like to figure out how to use the 5529 usb to do so. Is this possible? The big picture question is how do I program the uC and use the 5529 usb port to communicate with the computer.&lt;/p&gt; &lt;p&gt;2. Why are only some pins from the uC available on the experimenter board?&lt;/p&gt; &lt;p&gt;3. In CCS, is it possible to output variable values to the console?&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;I think there are probably many general understandings about the general workings of a uC that I&amp;#39;m missing, so if anyone can help, it would be much appreciated!&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;Thanks!&lt;/p&gt; &lt;p&gt;David&lt;/p&gt;</description></item><item><title>Forum Post: RE: OPTO101P-J Monolithic Photodiode on MSP 430</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/266108/931254.aspx#931254</link><pubDate>Tue, 21 May 2013 18:57:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:931254</guid><dc:creator>Debasish Banerjee</dc:creator><description>&lt;p&gt;Please Help me out...&lt;/p&gt;</description></item><item><title>Forum Post: LPM4 and I/O pins connected to powered-down circuits</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/266372.aspx</link><pubDate>Tue, 21 May 2013 18:55:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forum:266372</guid><dc:creator>Roy Nordstrom</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt; &lt;p&gt;I have seen the app note(s) on how to treat unused I/O pins, so that current consumption is minimized&amp;nbsp;when in LPM4.&lt;/p&gt; &lt;p&gt;What&amp;nbsp;I have not seen are&amp;nbsp;any guidelines on how to treat I/O pins connected to ICs that have been powered down.&lt;/p&gt; &lt;p&gt;I have a mixture of Inputs, Outputs and even an I2C bus in this category.&lt;/p&gt; &lt;p&gt;Thank you for your time.&lt;/p&gt; &lt;p&gt;Roy Nordstrom&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Forum Post: RE: Reading Flash Memory</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/265662/931227.aspx#931227</link><pubDate>Tue, 21 May 2013 18:22:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:931227</guid><dc:creator>Jens-Michael Gross</dc:creator><description>&lt;p&gt;[quote user=&amp;quot;Imran Mak&amp;quot;]there is no origin address or length field mentioned for each individual section[/quote]because they are not fixed. Different types of &amp;#39;data&amp;#39; (e.g. code, constants, variable initializers&amp;#39; are put into different sections, and at the end, they are all put behind each other into flash.&lt;br /&gt;Once this is done, the linker provides some symbols that point to the different locations. Code that uses these symbols, such as the init code for C programs form the runtime library, can locate these.&lt;/p&gt; &lt;p&gt;[quote user=&amp;quot;Imran Mak&amp;quot;].I want to read the .text file which contains the code[/quote]The generated .txt file contains everything. And knows nothing about the inner structure (e.g. what data is program or constants). It just tells which value to put in which memory location when flashing the device.&lt;br /&gt;However, the &amp;#39;.text&amp;#39; in the linker comnmand file is just an internal identifier for the linking process, a section name. It doesn&amp;#39;t result in an output file by itself. It could as well read &amp;#39;bob&amp;#39; if the compiler would tag code with &amp;#39;bob&amp;#39; instead of &amp;#39;text&amp;#39;.&lt;/p&gt;</description></item><item><title>Forum Post: RE: ADC and DTC</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/265660/931221.aspx#931221</link><pubDate>Tue, 21 May 2013 18:14:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:931221</guid><dc:creator>Jens-Michael Gross</dc:creator><description>&lt;p&gt;[quote user=&amp;quot;Daniyal Syed&amp;quot;] I dont seem to recognise the pattern in which the dtc stores the data in RAM.[/quote]The DTC stors data to adc_data[0],[1],[2] and [3].&lt;/p&gt; &lt;p&gt;However, the ADC converts backwards from the highes channel (1) to 0. So the array should contain the values of A1, A0, A1, A0.&lt;/p&gt; &lt;p&gt;Perhaps you should set ADC10ON &lt;em&gt;before&lt;/em&gt; you set iNCHx and CONSEQ_3?&lt;/p&gt; &lt;p&gt;Also, for further operation keep an exe on the timing.: You run the ADC with SHT_2, whixh is 32, so one conversion takes 32+13=44 ADC10CLK cycles. Which on default settings is ~11&amp;micro;s. Now MCLK is 1MHz by default, so a conversion takes only ~11 MCLK cycles. Waking from LPM takes 6(?) and entering ISR and exiting it, takes 11. Plus the code for exiting LPM. Not to count the time it takes to perform the calculationns. In your current code, thsi shouldn&amp;#39;t be a problem, since you re-synchronize on every loop. But for continued operation...&lt;/p&gt;</description></item><item><title>Forum Post: RE: wake up from LPM0</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/265652/931207.aspx#931207</link><pubDate>Tue, 21 May 2013 17:59:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:931207</guid><dc:creator>Jens-Michael Gross</dc:creator><description>&lt;p&gt;Bruce already pointed out the possible reason: a race condition.&lt;/p&gt; &lt;p&gt;Note that your ISR, when ending LPM, lets GIE set. So on the next while loop, it may be that you enable the interrupt source, but before you actually enter LPM, the interrupt is triggered, the LPM is ended (which is a NOP then, as main wasn&amp;#39;t in LPM at all) and when finally entering LPM, the ISR is no longer &amp;#39;armed&amp;#39;, and the waking call never comes.&lt;/p&gt;</description></item><item><title>Forum Post: RE: ADC12 Continues mode problem</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/264860/931203.aspx#931203</link><pubDate>Tue, 21 May 2013 17:53:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:931203</guid><dc:creator>Jens-Michael Gross</dc:creator><description>&lt;p&gt;[quote user=&amp;quot;1981515&amp;quot;]ADC12MCTL0 should have been be&amp;nbsp;ADC12MCTL5 in:[/quote]Or the other way. There is no inherent connection between ADC12MEMx and the input channel. You can sample Input A5 on ADC12MEM0 or input A0 on ADC12MEM5. You just have to set the proper INCHx value in ADC12MCTLx. And set ADC12STARTADD_x to the correct ADC12MCTLx, so the ADC12 works on the right ADC12MCTLx setting.&lt;br /&gt;I know this might be a bit confusing because the &amp;#39;x&amp;#39; in INCHx&amp;#39; is a different one than the others.&lt;/p&gt;</description></item><item><title>Forum Post: RE: Two PWM outputs on MSP430G2211 (Launchpad provided chip)</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/60128/931199.aspx#931199</link><pubDate>Tue, 21 May 2013 17:46:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:931199</guid><dc:creator>Jens-Michael Gross</dc:creator><description>&lt;p&gt;[quote user=&amp;quot;Armando Lara&amp;quot;]-Toggle is selected and also interruptions[/quote]Make sure you&lt;br /&gt;1) don&amp;#39;t set TAIE, as it is for the timer overflow interrupt, which you don&amp;#39;t need here.&lt;br /&gt;2) have an ISR for CCR0 and &lt;em&gt;another&lt;/em&gt; one for CCR1/2/3 (TIMER0_A0_VECTOR for CCR0 and TIMER0_A1_VECTOR for all others)&lt;/p&gt;</description></item><item><title>Forum Post: RE: ADC clock limitation</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/265454/931195.aspx#931195</link><pubDate>Tue, 21 May 2013 17:36:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:931195</guid><dc:creator>Jens-Michael Gross</dc:creator><description>&lt;p&gt;[quote user=&amp;quot;Awais Aslam&amp;quot;]It was a writing mistake as my native language is not English. If I really hurt you then sorry for that and Thanks.[/quote]No, you didn&amp;#39;t write anything personally offensive.&lt;/p&gt; &lt;p&gt;However, he is making a point when stating that all is in teh datasheet and your quesiton, at first glance, seemed to just wanted information from the datasheet instead of reading it yourself.&lt;/p&gt; &lt;p&gt;However, you might have been confused as by th etwo different datasheet entries for a frequency.&lt;br /&gt;f&lt;sub&gt;ADC12CLK&lt;/sub&gt; is the frequency range of the converison clock, that means the clock which you give the ADC to work on. It is limited to 0.45 to 2.7/4.0/5.0 MHz for the given performance (precision etc.), dependin gon th ereference settings you use.&lt;br /&gt;the other one is f&lt;sub&gt;ADC12OSC&lt;/sub&gt;, which is a specific oscillator that is by default used for the ADC12. However, it ranges from 4.2 to 5,4MHz and is therefore not suitable for all uses without an additional divider.&lt;br /&gt;Instead of f&lt;sub&gt;ADC12OSC&lt;/sub&gt;, you can also use SMCLK or ACLK as the timing base for the ADC12.&lt;/p&gt; &lt;p&gt;To understand the ADC12, you&amp;#39;ll have to read both, the datasheet &lt;em&gt;and&lt;/em&gt; the users guide. You won&amp;#39;t get far with only one of them.&lt;/p&gt;</description></item><item><title>Forum Post: RE: FTDI USB to JTAG</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/262194/931175.aspx#931175</link><pubDate>Tue, 21 May 2013 17:08:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:931175</guid><dc:creator>Jens-Michael Gross</dc:creator><description>&lt;p&gt;[quote user=&amp;quot;Greg Hughes&amp;quot;]It has an ez430 embedded on the board that seems to do what I need. That is USB to programming the micro and has acess to the UART on the msp430 as a data stream. All on one USB connector....&amp;nbsp;&amp;nbsp;&amp;nbsp; Is this something I can intergate into my production PCBs?[/quote]&lt;br /&gt;You &lt;em&gt;could&lt;/em&gt;, but do you want?&lt;/p&gt; &lt;p&gt;If you take a look into the users guide, Chapter 4.1 &amp;#39;Hardware overview&amp;#39;, you&amp;#39;ll see the large area in the lower left labeled &amp;#39;eZ430 Emulator&amp;#39;.&lt;br /&gt;It contains an MSP430F1612, a TUSB3510 and an I2C EEPROM. Thi sis basically a stripped-down FET430UIF. (the EZ430 is missing all the voltage supply-related stuff, no adjustable target voltage, no overload protection).&lt;br /&gt;So yes, you could, for lots of additional money and PCB space, loss of the low-power application and maybe a licensing problem (since you still need the firmware for both, the TUSB and the MSP1612).&lt;/p&gt; &lt;p&gt;For much less money, and effort, you can put a standard 14-pin JTAG connector on your board and connect a real FET430UIF.&lt;/p&gt;</description></item><item><title>Forum Post: RE: Porting MSP430P325 to MSP430F417</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/263401/931167.aspx#931167</link><pubDate>Tue, 21 May 2013 16:56:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:931167</guid><dc:creator>Jens-Michael Gross</dc:creator><description>&lt;p&gt;[quote user=&amp;quot;Pierre Augustin&amp;quot;] I had &amp;quot;illegal un-relocatable operand&amp;quot; errors (for example with the instruction&amp;nbsp;&lt;strong&gt;&lt;em&gt;MOV.B&lt;span class="Apple-tab-span"&gt; &lt;/span&gt;#08h,IE1&lt;/em&gt;&lt;/strong&gt;)[/quote]Yes,that&amp;#39;s to be expected.&lt;/p&gt; &lt;p&gt;IE1 is a fixed address. It cannot be expressed relative to the current PC, as the PC is unknown before linking, and IE1 is fixed.&lt;/p&gt; &lt;p&gt;[quote user=&amp;quot;Pierre Augustin&amp;quot;] if I put&amp;nbsp;&lt;strong&gt;&lt;em&gt;MOV.B&lt;span class="Apple-tab-span"&gt;&amp;nbsp;&lt;/span&gt;#08h,&amp;amp;IE1&lt;/em&gt;&lt;/strong&gt; I don&amp;#39;t have the error anymore but nore sure the values are well stored in IE1.[/quote]Yes, they are.&lt;br /&gt;The addressing and how it is done is covered in teh CPU part of the family users guide. However, the explanations are ratehr short.&lt;/p&gt; &lt;p&gt;[quote user=&amp;quot;Pierre Augustin&amp;quot;]what you mean in &amp;quot;move the code&amp;quot;[/quote]&lt;/p&gt; &lt;p&gt;Example:&lt;/p&gt; &lt;p&gt;.org 0x1000&lt;br /&gt;MOV &amp;amp;MyConst, R4&lt;br /&gt;NOP&lt;br /&gt;MyConst: .dw 0x0010&lt;/p&gt; &lt;p&gt;This will result in&lt;/p&gt; &lt;p&gt;0x1000&amp;nbsp; MOV 0x1006(R2), R4;&lt;br /&gt;0x1004 NOP&lt;br /&gt;0x1006&amp;nbsp; 0x0010&lt;br /&gt;&lt;br /&gt;&lt;/p&gt; &lt;p&gt;Note, that R2, when addressed in indexed mode, results in 0x00 (see &amp;#39;constant generator&amp;#39;), so basically, the address (0x0000+0x1400) is read.&lt;/p&gt; &lt;p&gt;Now&lt;/p&gt; &lt;p&gt;.org 0x1000&lt;br /&gt;MOV MyConst, R4&lt;br /&gt;MyConst: .dw 0x0010&lt;/p&gt; &lt;p&gt;will result in&lt;/p&gt; &lt;p&gt;0x1000 MOV 0x0004(R0), R4&lt;br /&gt;0x1004 NOP&lt;br /&gt;0x1006 0x0010&lt;/p&gt; &lt;p&gt;Since when reading the 0x0004 and adding it to the PC (R0), the PC is 0x1002, the 0x0004 is added to get the target address 0x1006 to read from.&lt;/p&gt; &lt;p&gt;The main difference is, that when you move these 8 bytes as a block form the intended location of 0x1000, the second code will still read 0x0010 while the first version will read something form 0x1006, no matter where the code ends up.&lt;/p&gt; &lt;p&gt;So with the relative addressing (no &amp;#39;&amp;amp;&amp;#39;), you can create code that can be e.g. loaded from external storage and placed at any free location and it will still be able to access any constants that are part of the same code block. Like format strings for printf. The absolute addressing (&amp;#39;&amp;amp;&amp;#39;), however, will always access a fixed location (like the hardware registers), no matter where you place the code.&lt;/p&gt; &lt;p&gt;The typical applicaiton is to have the code linked to a fixed location anyway, so the absolute addressing is the preferred addressing method.&lt;/p&gt; &lt;p&gt;[quote user=&amp;quot;Pierre Augustin&amp;quot;].sect &amp;quot;MAIN&amp;quot;, 0C000H[/quote]This defines 0xc000 to be the beginning of the main memory section, likely because this is the beginning of the flash area in the address space.&lt;/p&gt; &lt;p&gt;[quote user=&amp;quot;Pierre Augustin&amp;quot;]SP_orig .set 003DCh &amp;nbsp; ; stackpointer[/quote]I think (I&amp;#39;m not sure, as I didn&amp;#39;t know htis assembler) this is similar to a &amp;#39;define&amp;#39; in C. It defines the label SP_orig to have the value 0x3DC.&lt;br /&gt;Most likely there is a &amp;quot;MOV #SP_orig, R1&amp;quot; (or SP) somewhere to se tthe stack pointer initially to 0x3DC. Usually, it is set to the location behind the end of ram (perhaps 0x0440, assuming 512 bytes of ram, see next paragraph), but apparently, some bytes &amp;#39;above the stack&amp;#39; have been spared. Maybe as storage location for some data that is meant to be kept across a reset.&lt;/p&gt; &lt;p&gt;[quote user=&amp;quot;Pierre Augustin&amp;quot;]RAM_orig .set 00240h[/quote]Another label, likely defining the beginning of RAM&lt;/p&gt; &lt;p&gt;[quote user=&amp;quot;Pierre Augustin&amp;quot;]USER_END .set 0FFFFh &amp;nbsp; ; RAM endadress[/quote]This apparently denotes the end of usable memory. However, on MSPs, the area just below 0xFFFF contains the interrup tvectors, so it shouldn&amp;#39;t be used for code or data storage.&lt;/p&gt; &lt;p&gt;All MSPs have flash up to 0xFFFF, so you can take this for granted. However, the size of the interrupt vector table varies (32/64/128 bytes, depending on the MSP). And the beginning of flash area (in your case, apparently 16k form 0xC000 to 0xFFFF), as well as beginning and end of ram varies too.&lt;/p&gt; &lt;p&gt;Usually, the linker knows the exact limits by the target devcice seleciton you make in the IDE (or in the makefile), and should provide these values, so normally, there shouldn&amp;#39;t be any need to define them yourself, unless oyu do something that&amp;#39;s &amp;#39;special&amp;#39;.&lt;/p&gt;</description></item><item><title>Forum Post: Interfacing ACS712 with MSP430</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/266314.aspx</link><pubDate>Tue, 21 May 2013 15:29:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forum:266314</guid><dc:creator>Mr.Nischay Kumar V</dc:creator><description>&lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:small;"&gt;Hello Forum,&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:small;"&gt;Before posting my question, i tried searching the forum, but gave 0 results.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:small;"&gt;I have 20A, ACS712 Hall current sensor breakout board which i intend to interface with MSP430F2012. &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:small;"&gt;ACS712 IC needs +5V and its o/p is Vcc/2 when not sensing any magnetic field, whereas Msp430 is powered with 3.3V. &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:small;"&gt;A potential divider can be used to half the o/p voltage of current sensor,&amp;nbsp; will this cause accuracy loss ? i plan to use internal 2.5V as Vref.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:small;"&gt;Is there any other way to interface the current sensor to msp430 ?&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:small;"&gt;Regards&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:small;"&gt;Nischay&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Forum Post: RE: MSP430G2744IDA38 code examples or Grace configuration?</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/266010/931052.aspx#931052</link><pubDate>Tue, 21 May 2013 15:24:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:931052</guid><dc:creator>Michael Brunotte</dc:creator><description>&lt;p&gt;Hi Jason,&lt;/p&gt; &lt;p&gt;We currently do not deliver Grace examples for the MSP430G2744. This will be done with one of the following Grace releases. In the meantime, I would suggest taking examples for a similar device, like the MSP430F2274 and transfer the settings side-by-side.&lt;/p&gt; &lt;p&gt;Kind regards,&lt;br /&gt;Michael&amp;nbsp;&lt;/p&gt;</description></item><item><title>Forum Post: MSP-FET430UIF Device Not recognized</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/266304.aspx</link><pubDate>Tue, 21 May 2013 14:58:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forum:266304</guid><dc:creator>Jeff Klaassen</dc:creator><description>&lt;p&gt;Hallo,&lt;/p&gt; &lt;p&gt;I know there are many post about this problem and i have read all of them but none seems to fix my problem.&lt;/p&gt; &lt;p&gt;I run IAR Embedded Workbench to program my &lt;a title="msp430l092" href="http://www.ti.com/product/msp430l092"&gt;MSP430L092 &lt;/a&gt;using a &lt;a title="MSP-FET430UIF" href="http://www.ti.com/tool/msp-ts430l092"&gt;MSP-FET430UIF&lt;/a&gt; and i have used it sometimes but ever since it asked me to update my firmware the device isn&amp;#39;t recognized.&lt;/p&gt; &lt;p&gt;My Specs:&lt;/p&gt; &lt;p&gt;Windows 7 pro 64x&lt;/p&gt; &lt;p&gt;IAR Embedded Workbench for MSP430 IDE, including complete build chain and debugger. Version 5.51.6.&lt;/p&gt; &lt;p&gt;MSP-Fet430UIF -CDC.&lt;/p&gt; &lt;p&gt;I tried to downgrade my firmware and this worked. but when ever i start IAR it asks me to upgrade my firmware and the problem begins again.&lt;/p&gt; &lt;p&gt;Can someone help me, please?&lt;/p&gt;</description></item><item><title>Forum Post: FR57xx / SCGx bits - what specifically is affected?</title><link>http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/266302.aspx</link><pubDate>Tue, 21 May 2013 14:53:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forum:266302</guid><dc:creator>Tim Sloper</dc:creator><description>&lt;p&gt;The FR57xx documentation is very vague on exact what changes when SCG0 and SCG1 are enabled/disabled. Could someone from the factory apps team please provide clarification?&lt;/p&gt; &lt;p&gt;Thank you,&lt;/p&gt; &lt;p&gt;Tim&lt;/p&gt;</description></item></channel></rss>