Beginning of MSP430F5151 Controller programming

Thread Starter

embpic

Joined May 29, 2013
189
I am very new to ti's controller. i have MSP430F5151 controller and thinking to Start programming with this controller.
After reading datasheet (which is not much friendly as PIC's) they don't have given any application circuit and also not describe any
register. So guide me from where should i start.
 

Thread Starter

embpic

Joined May 29, 2013
189
Thank you sir it's great tutorial for begin programming.
but i am using Keil compiler and saw some texas controller but not any msp430 series.
 

Thread Starter

embpic

Joined May 29, 2013
189
How to program the flash??
I read the datasheet there they mention
JTAG port, Spy-Bi-Wire (SBW), the BSL, or in-system by
the CPU
Methods. so which method is good and have very low drawbacks.
 

josip

Joined Mar 6, 2014
67
I am very new to ti's controller. i have MSP430F5151 controller and thinking to Start programming with this controller.
After reading datasheet (which is not much friendly as PIC's) they don't have given any application circuit and also not describe any
register. So guide me from where should i start.
If you can't find something, t doesn't mean that it doesn't exit.

For example on MSP430F5151 page http://www.ti.com/product/msp430f5151 is only device datasheet, simple / short / brief / basic document.

MSP430F5151 belongs to MSP430F5xx family, and detailed description is in slau208 MSP430x5xx and MSP430x6xx Family User's Guide (Technical documents tab, User Guides section).

All open source code examples are in slac452 MSP430F51x2, MSP430F51x1 Code Examples (Tools & software tab, Software section).

How to program the flash??
I read the datasheet there they mention
JTAG port, Spy-Bi-Wire (SBW), the BSL, or in-system by
the CPU
so which method is good and have very low drawbacks.
10$ MSP430 LP (for example MSP430F5529 LP) support breakpoint debugging and flashing by 2-wire SBW. This can be done also by 6-wire JTAG tools, but more expensive, for example USB-FET430UIF. BSL (simple UART interface) is just for updating firmware without debugging posibilities. Flashing by SBW / JTAG / BSL is covered with TI open source documents.

slau319 MSP430 Programming Via the Bootstrap Loader (BSL)
slau320 MSP430 Programming Via the JTAG Interface
slaa450 Creating a Custom Flash-Based Bootstrap Loader (BSL)
slaa535 LaunchPad-Based MSP430 UART BSL Interface
slaa600 MSPBoot – Main Memory Bootloader for MSP430

BTW, AFAIK MSP430 devices have highest flashing rate in micro world, and with my flasher (SBW+, 3-wires, http://forum.43oh.com/topic/2972-sbw-msp430f550x-based-programmer) MSP430F5xx writing rate can go up to 200 KB/s.
 

Thread Starter

embpic

Joined May 29, 2013
189
Thank you sir
if i purchase Dev. board from TI then is there any guidance material with this.
and which is good.
 

josip

Joined Mar 6, 2014
67
Thank you sir
if i purchase Dev. board from TI then is there any guidance material with this.
and which is good.
Yes, every TI LP / dev board have datasheet and open source software examples. There are also open source examples related to target on-board device.

For example MSP430F5529 LP ...
slau533 MSP-EXP430F5529LP LaunchPad Development Tool User's Guide
slac300 MSP430F552x C Examples (IAR and CCSv4)

All of them are good, if you read them.
 
Top