Author Topic: MSP432 Launchpad at US$4.32...  (Read 29695 times)

0 Members and 1 Guest are viewing this topic.

Offline rsjsouzaTopic starter

  • Super Contributor
  • ***
  • Posts: 5990
  • Country: us
  • Eternally curious
    • Vbe - vídeo blog eletrônico
MSP432 Launchpad at US$4.32...
« on: January 06, 2016, 09:15:10 pm »
https://e2e.ti.com/blogs_/b/msp430blog/archive/2016/01/01/new-year-s-deal-msp432-launchpad-for-4-32

I am not sure how is shipping overseas, though, but the discount is applicable to more than one (I got two for myself).
Vbe - vídeo blog eletrônico http://videos.vbeletronico.com

Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
 

Offline hamzadis

  • Newbie
  • Posts: 6
  • Country: ba
Re: MSP432 Launchpad at US$4.32...
« Reply #1 on: January 06, 2016, 10:38:25 pm »
Might want to get The Analog Engineer's Pocket Reference book as well for $5. I think I'm gonna have to pass as shipping is a bit too steep for me at $21.
 

Online electr_peter

  • Supporter
  • ****
  • Posts: 1309
  • Country: lt
Re: MSP432 Launchpad at US$4.32...
« Reply #2 on: January 06, 2016, 10:59:09 pm »
Shipping is over $40 for me even with coupon.
 

Offline crispy_tofu

  • Super Contributor
  • ***
  • Posts: 1124
  • Country: au
Re: MSP432 Launchpad at US$4.32...
« Reply #3 on: January 07, 2016, 05:27:10 am »
Maybe just print it out from the free PDF  :)
 

Offline AndreasF

  • Frequent Contributor
  • **
  • Posts: 251
  • Country: gb
    • mind-dump.net
Re: MSP432 Launchpad at US$4.32...
« Reply #4 on: January 07, 2016, 07:18:06 am »
https://e2e.ti.com/blogs_/b/msp430blog/archive/2016/01/01/new-year-s-deal-msp432-launchpad-for-4-32

I am not sure how is shipping overseas, though, but the discount is applicable to more than one (I got two for myself).

 :-+

$7 to the UK. Got one as well (should have probably gotten two). The original (MSP430) Launchpad was my first dev board, and I still like it a lot. For simple microcontroller projects I'm far more likely to use an MSP430 than an AVR.

my random ramblings mind-dump.net
 

Offline mtdoc

  • Super Contributor
  • ***
  • Posts: 3575
  • Country: us
Re: MSP432 Launchpad at US$4.32...
« Reply #5 on: January 07, 2016, 07:38:25 am »
Thanks for the heads up. That's a great deal!
 

Offline RogerRowland

  • Regular Contributor
  • *
  • Posts: 193
  • Country: gb
    • Personal web site
Re: MSP432 Launchpad at US$4.32...
« Reply #6 on: January 07, 2016, 07:53:30 am »
Too tempting not to give it a go - two on their way to the UK and still only $7 shipping, so just over 11 quid in total.

Thanks for the tip!
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4207
  • Country: us
Re: MSP432 Launchpad at US$4.32...
« Reply #7 on: January 07, 2016, 08:33:10 am »
The main "problem" with this was that the Energia (an Arduino-lookalike IDE/library) support sucked in TI-RTOS for multitasking support, "complicating" things (and I have little patience to spend learning a vendor-specific RTOS.)

Someone on the TI forum implied that the chip itself isn't shipping yet?  Ouch.
 

Offline Fred27

  • Supporter
  • ****
  • Posts: 726
  • Country: gb
    • Fred's blog
Re: MSP432 Launchpad at US$4.32...
« Reply #8 on: January 07, 2016, 09:34:29 am »
That may have been me on 43oh wondering what's happening with the MSP432 line.

Nine months on, there are still only two MSP432 chips available and they're still XMS432 which means beta. I don't know if this means anything - just thinking out loud.

As for Energia - why would you want to use that anyway? You lose so much over CCS it's just not worth it.
 

Offline AlxDroidDev

  • Frequent Contributor
  • **
  • Posts: 471
  • Country: br
    • Arduino Web Brasil
Re: MSP432 Launchpad at US$4.32...
« Reply #9 on: January 07, 2016, 12:44:45 pm »
Thank you!!!!  $7 shipping to Brazil, so I got 2.


"The nice thing about standards is that you have so many to choose from." (Andrew S. Tanenbaum)
 
The following users thanked this post: ebclr

Offline newbrain

  • Super Contributor
  • ***
  • Posts: 1721
  • Country: se
Re: MSP432 Launchpad at US$4.32...
« Reply #10 on: January 07, 2016, 02:28:37 pm »
 :-+ Thank you! Two are now being launched towards Sweden. (7$ shipping)
Nandemo wa shiranai wa yo, shitteru koto dake.
 

Offline ElectricGuy

  • Regular Contributor
  • *
  • Posts: 240
  • Country: pt
Re: MSP432 Launchpad at US$4.32...
« Reply #11 on: January 07, 2016, 02:33:09 pm »
21$ shipping to Portugal.....  >:( >:( >:( :-- :-- :-- :rant: :rant: :rant:
Thank you!
Regards
ElectricGuy
 

Offline jpmkm

  • Contributor
  • Posts: 20
  • Country: us
Re: MSP432 Launchpad at US$4.32...
« Reply #12 on: January 07, 2016, 03:43:29 pm »
Thanks!  Just ordered 3.  $19.96 total.  No idea what I'll do with them.
 

Offline neslekkim

  • Super Contributor
  • ***
  • Posts: 1305
  • Country: no
Re: MSP432 Launchpad at US$4.32...
« Reply #13 on: January 07, 2016, 03:48:33 pm »
:-+ Thank you! Two are now being launched towards Sweden. (7$ shipping)

$7 to Sweden???, to Norway it's $21..
 

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 7418
  • Country: nl
  • Current job: ATEX product design
Re: MSP432 Launchpad at US$4.32...
« Reply #14 on: January 07, 2016, 04:00:11 pm »
21 dollar to Belgium  :--
Free shipping for samples. Fuck logic. I guess I dont need to use the 432 after all.
 

Offline suicidaleggroll

  • Super Contributor
  • ***
  • Posts: 1453
  • Country: us
Re: MSP432 Launchpad at US$4.32...
« Reply #15 on: January 07, 2016, 04:26:31 pm »
Thanks for the heads up!

Just grabbed 3, $19.96 shipped.

As for no chips shipping yet, I've always heard (even 6+ months ago) that the production MSP432 wouldn't be shipping until first quarter 2016, so it's no surprise.  It shouldn't be too much longer now, maybe that's why they're pushing these beta chips out the door?
 

Offline newbrain

  • Super Contributor
  • ***
  • Posts: 1721
  • Country: se
Re: MSP432 Launchpad at US$4.32...
« Reply #16 on: January 07, 2016, 04:41:06 pm »
:-+ Thank you! Two are now being launched towards Sweden. (7$ shipping)

$7 to Sweden???, to Norway it's $21..
:wtf:
If you happen to pass by Stockholm, I'll part with one for a beer or two (though I did not get any confirmation email as yet...so wait!).

The logic in shipping costs eludes me (just some samples):
Romania: $42, you'd be better off in Nepal or Mongolia: $19
Finland and Sweden: $7, but Denmark and Norway (and Iceland) $21
Italy $7, but Vatican City $21 (and if you are in San Marino, forget about it, it's not even listed...).
UK $7, Ireland $21.
Nandemo wa shiranai wa yo, shitteru koto dake.
 

Offline Macbeth

  • Super Contributor
  • ***
  • Posts: 2571
  • Country: gb
Re: MSP432 Launchpad at US$4.32...
« Reply #17 on: January 07, 2016, 04:44:50 pm »
Oh lord, as if I don't have enough other micros and fpgas to learn, I just ordered 2 anyway.  :-+
 

Offline AlxDroidDev

  • Frequent Contributor
  • **
  • Posts: 471
  • Country: br
    • Arduino Web Brasil
Re: MSP432 Launchpad at US$4.32...
« Reply #18 on: January 07, 2016, 05:25:22 pm »
Thanks!  Just ordered 3.  $19.96 total.  No idea what I'll do with them.

I can already guess what the hot topics on the Microcontrollers area of the forum will be by next week. We can start a new thread with suggestions of what to do with our new 432.

Lke I posted, I ordered 2 just 3 hours ago. Got an e-mail 10 min ago that they've already been shipped through FEDEX. Hurray!

"The nice thing about standards is that you have so many to choose from." (Andrew S. Tanenbaum)
 

Offline Throy

  • Regular Contributor
  • *
  • Posts: 53
  • Country: de
Re: MSP432 Launchpad at US$4.32...
« Reply #19 on: January 07, 2016, 05:46:14 pm »
Thanks for the info!  :-+

$7 to Germany  :)
 

Offline diyaudio

  • Frequent Contributor
  • **
  • !
  • Posts: 683
  • Country: za
Re: MSP432 Launchpad at US$4.32...
« Reply #20 on: January 07, 2016, 06:29:14 pm »
 :-- $28 shipping, and the Rand just hit R16 to the dollar..  shame on you for temping me.
 

Offline diyaudio

  • Frequent Contributor
  • **
  • !
  • Posts: 683
  • Country: za
Re: MSP432 Launchpad at US$4.32...
« Reply #21 on: January 07, 2016, 06:53:44 pm »
21 dollar to Belgium  :--
Free shipping for samples. Fuck logic. I guess I dont need to use the 432 after all.

mwaha  :-DD
 

Offline neslekkim

  • Super Contributor
  • ***
  • Posts: 1305
  • Country: no
Re: MSP432 Launchpad at US$4.32...
« Reply #22 on: January 07, 2016, 09:29:59 pm »
:-+ Thank you! Two are now being launched towards Sweden. (7$ shipping)

$7 to Sweden???, to Norway it's $21..
:wtf:
If you happen to pass by Stockholm, I'll part with one for a beer or two (though I did not get any confirmation email as yet...so wait!).

The logic in shipping costs eludes me (just some samples):
Romania: $42, you'd be better off in Nepal or Mongolia: $19
Finland and Sweden: $7, but Denmark and Norway (and Iceland) $21
Italy $7, but Vatican City $21 (and if you are in San Marino, forget about it, it's not even listed...).
UK $7, Ireland $21.

I have enough of them, think I have 3-4 , luckily you can order loads of stuff at the same time, and pay that shipping total, no matter how many shipments they end up sending.. have had up to 6-7 from one order ;)
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: MSP432 Launchpad at US$4.32...
« Reply #23 on: January 08, 2016, 02:09:40 am »
There doesn't seem to be anything unique about the 432, as I recall. Is this still true for this particular chip?

The older lm4f120s are feature rich but buggy.
================================
https://dannyelectronics.wordpress.com/
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4207
  • Country: us
Re: MSP432 Launchpad at US$4.32...
« Reply #24 on: January 08, 2016, 08:49:27 am »
Quote
There doesn't seem to be anything unique about the 432
they're positioning it as the low-power ARM chip; it has about 1/10th the power consumption of the lm4f120s (~6ma active vs ~50ma active.)
 

Offline Fred27

  • Supporter
  • ****
  • Posts: 726
  • Country: gb
    • Fred's blog
Re: MSP432 Launchpad at US$4.32...
« Reply #25 on: January 08, 2016, 10:39:36 am »
The peripherals are also similar to the MSP430 so makes it easier if you're coming from that background.

I got one when they first came out but haven't had time to use it yet. I'm tempted to get a couple more, but I have drawers cluttered up with unused dev boards that seemed like a great idea at the time.
 

Offline AlxDroidDev

  • Frequent Contributor
  • **
  • Posts: 471
  • Country: br
    • Arduino Web Brasil
Re: MSP432 Launchpad at US$4.32...
« Reply #26 on: January 08, 2016, 10:48:06 am »
There doesn't seem to be anything unique about the 432, as I recall. Is this still true for this particular chip?

At this time, the price is something unique!

I was talking to a friend of mine last night, told him about this, and he asked me to order 2 more for him, so I got 4 units coming in my direction.
"The nice thing about standards is that you have so many to choose from." (Andrew S. Tanenbaum)
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: MSP432 Launchpad at US$4.32...
« Reply #27 on: January 08, 2016, 12:14:09 pm »
If their goal is to use a low-end ARM, why do they pick a M4F rather than a M0 or M0+?
================================
https://dannyelectronics.wordpress.com/
 

Offline FrankBuss

  • Supporter
  • ****
  • Posts: 2365
  • Country: de
    • Frank Buss
Re: MSP432 Launchpad at US$4.32...
« Reply #28 on: January 08, 2016, 01:12:27 pm »
Nice chip, it has all you need, including floating point support, nice 32 bit timers, good ADC. The only thing missing is an USB module, then it would be perfect, e.g. for firmware update, like the LPC chips from NXP do by emulating an USB mass storage and you just copy the new firmware to it.
So Long, and Thanks for All the Fish
Electronics, hiking, retro-computing, electronic music etc.: https://www.youtube.com/c/FrankBussProgrammer
 

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 7418
  • Country: nl
  • Current job: ATEX product design
Re: MSP432 Launchpad at US$4.32...
« Reply #29 on: January 08, 2016, 01:14:12 pm »
If their goal is to use a low-end ARM, why do they pick a M4F rather than a M0 or M0+?
Probably because royalties are 1 cent anyway, and sometimes you just need the extra instructions to finish a task fast, and go to sleep to save power. I think it makes sense. I rather start with a more powerful MCU, usually feature creepness would otherwise require a re-design.
 

Offline coppice

  • Super Contributor
  • ***
  • Posts: 8703
  • Country: gb
Re: MSP432 Launchpad at US$4.32...
« Reply #30 on: January 08, 2016, 02:01:35 pm »
If their goal is to use a low-end ARM, why do they pick a M4F rather than a M0 or M0+?
In most typical MSP43x type applications the device would take more energy to do the same work with an M0 core. Overall energy consumption is about more than just the active power of the core.
 

Offline Scrts

  • Frequent Contributor
  • **
  • Posts: 797
  • Country: lt
Re: MSP432 Launchpad at US$4.32...
« Reply #31 on: January 08, 2016, 07:23:44 pm »
If their goal is to use a low-end ARM, why do they pick a M4F rather than a M0 or M0+?
Probably because royalties are 1 cent anyway, and sometimes you just need the extra instructions to finish a task fast, and go to sleep to save power. I think it makes sense. I rather start with a more powerful MCU, usually feature creepness would otherwise require a re-design.

Or they're already selling more M4's, than M0's, so the quantities bring down the price even further.
 

Offline Brutte

  • Frequent Contributor
  • **
  • Posts: 614
Re: MSP432 Launchpad at US$4.32...
« Reply #32 on: January 08, 2016, 08:47:28 pm »
Quote
There doesn't seem to be anything unique about the 432
they're positioning it as the low-power ARM chip; it has about 1/10th the power consumption of the lm4f120s (~6ma active vs ~50ma active.)

Quote from: DS-LM4F120H5QR-13200.2535
LM4F120H5QR (from Stellaris Launchpad) draws 50mA > 3.0V, 80MHz, all peripherals ON, preliminary.
Quote from: SLAS826A –MARCH 2015–REVISED MARCH 2015
MSP432P401R (from this launchpad) with built-in DC-DC converter draws 4.6mA > 3.0V, 48MHz all peripherals OFF.

It is not possible to directly compare the technology improvement between both products as there is not enough comparable data. When MSP432 runs from LDO then:
Quote from: SLAS826A –MARCH 2015–REVISED MARCH 2015
MSP432P401R (from this launchpad) with built-in DC-DC converter draws 7.6mA > 3.0V, 48MHz all peripherals OFF.
After Luminary Micro takeover TI has renamed LM4F120H5QR to TM4C1233H6PM which has more complete "Current consumption" chapter:
Quote from: DS-TM4C1233H6PM-15842.2741
TM4C1233H6PM (from Tiva Launchpad) draws 24.7mA >3.3V, 80MHzall peripherals OFF.

It is true a built-in DC-DC is a nice feature but you know, DC-DC in a battery operated device won't ramp up instantly when you need a 1ms burst of processing power.
Concluding, it looks like an improvement but needs some real life measurements to quantify that.

EDIT: Forgot 80MHz
« Last Edit: January 10, 2016, 11:11:40 am by Brutte »
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: MSP432 Launchpad at US$4.32...
« Reply #33 on: January 08, 2016, 09:49:36 pm »
I asked and the answer I got back is that since they expect those chips to be used primarily in sleep, a faster processor doesn't have to be on as long as a slower processor completing a given task. This minimizes the average current consumption over a given period of time -> aka the processor's on time is reduced, at the expensive of on time current.

Makes sense. But the active mode current consumption quoted by TI is 90ua/Mhz -> 300uw/Mhz, vs. <100uw/Mhz quoted by ARM for M0/M0+ -> granted, not exactly comparable but the M4F has to execute the same tasks 3x as fast to make up for that difference. That can be true for highly numerical applications but hard to imagine it for flipping pins type applications.

I also noted that TI marked the <10us start-up time somewhere in the datasheet.
================================
https://dannyelectronics.wordpress.com/
 

Offline suicidaleggroll

  • Super Contributor
  • ***
  • Posts: 1453
  • Country: us
Re: MSP432 Launchpad at US$4.32...
« Reply #34 on: January 09, 2016, 01:34:49 am »
And they've already arrived...I just placed the order two days ago late in the afternoon!
As expected they're still using the beta chips.
 

Offline jwm_

  • Frequent Contributor
  • **
  • Posts: 319
  • Country: us
    • Not A Number
Re: MSP432 Launchpad at US$4.32...
« Reply #35 on: January 09, 2016, 01:54:29 am »
I bit. I was always a fan of the MSP430 family, It is a very clean architecture, it always struck me as exactly what one would come up with if presented with the task of creating a 16 bit cpu as a senior project. (and that's a good thing.)

I wonder if they will do an ARM based FRAM chip. that would be pretty neat.

Offline mtdoc

  • Super Contributor
  • ***
  • Posts: 3575
  • Country: us
Re: MSP432 Launchpad at US$4.32...
« Reply #36 on: January 09, 2016, 05:58:27 am »
Mine arrived today as well. Curiously, it appears to have been packaged and shipped by Digikey.
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 7999
  • Country: gb
Re: MSP432 Launchpad at US$4.32...
« Reply #37 on: January 09, 2016, 06:04:17 am »
Mine arrived today as well. Curiously, it appears to have been packaged and shipped by Digikey.

Digikey stock and supply their samples and store products in the US.
 

Offline mtdoc

  • Super Contributor
  • ***
  • Posts: 3575
  • Country: us
Re: MSP432 Launchpad at US$4.32...
« Reply #38 on: January 09, 2016, 06:26:14 am »
Mine arrived today as well. Curiously, it appears to have been packaged and shipped by Digikey.

Digikey stock and supply their samples and store products in the US.

Makes sense. I've ordered dev boards and a few samples from them before but didn't recall that.
 

Offline trevwhite

  • Frequent Contributor
  • **
  • Posts: 930
  • Country: gb
Re: MSP432 Launchpad at US$4.32...
« Reply #39 on: January 09, 2016, 06:36:23 am »
Real bargain board to evaluate the MSP432. Do people think this chip range will expand to smaller and larger package sizes? I currently use xmega and like that they offer several memory and peripheral vatiantfor same pinout but I have an eye on changing but not decided what to go with. I like TI but I have no clue how good their development setup is.

Very tempted to buy this.for evaluation
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: MSP432 Launchpad at US$4.32...
« Reply #40 on: January 09, 2016, 12:19:23 pm »
Quote
I like TI but I have no clue how good their development setup is.

Very good, in my experience with them. And the board is so cheap so you have nothing to lose.

However, those chips seem to be meant to provide a 32-bit upward path for the msp430 users. It is uncertain that they will take off and future chips are forthcoming.

If you don't have a lot software invested in msp430, and just want to move to ARM chips, I would take a look at TI's offering there and by-pass this one.

BTW, anything is a big step up from xmega -> it died before it was introduced.
================================
https://dannyelectronics.wordpress.com/
 

Offline trevwhite

  • Frequent Contributor
  • **
  • Posts: 930
  • Country: gb
Re: MSP432 Launchpad at US$4.32...
« Reply #41 on: January 09, 2016, 01:35:25 pm »
Well I have gotten used to Xmega and they have done the job fine for me for a few years now. I am actually quite happy with them. But I keep feeling I need to start looking for a new arch.

I did get a bit fedup with Atmel tools and workshops. Every time I went to one I came back feeling a bit disappointed. Documentation has not been up to standard quickly enough and the framework actually made life very difficult in my opinion - which is not supposed to be the case!

So what would be the TI offering you would recommend I look at if its not the MSP432, Xmega with occasionally more RAM is my requirements I would say.
 
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: MSP432 Launchpad at US$4.32...
« Reply #42 on: January 09, 2016, 02:20:48 pm »
TI bought Luminary a few years back and extended their products under the LM4F/TM4C portfolio: those are M4F cores with loads of peripherals. A unique thing about those chips, started by Luminary, is that they have a rom library on chip, which can greatly reduce flash utilization. Lots of ram space if that's what you are going after.

A word of caution: earlier versions suffer from poorly designed analog sections: the wrong ADC sequences on those chips can lock them up.
================================
https://dannyelectronics.wordpress.com/
 

Offline Brutte

  • Frequent Contributor
  • **
  • Posts: 614
Re: MSP432 Launchpad at US$4.32...
« Reply #43 on: January 09, 2016, 07:49:35 pm »
A unique thing about those chips, started by Luminary, is that they have a rom library on chip
Provided libraries also offer a convenient way of switching in between ROMed and FLASHed libraries. Some LPC cortexes (like LPC11C32 and USB series) also come with ROMed libraries.
 

Offline neslekkim

  • Super Contributor
  • ***
  • Posts: 1305
  • Country: no
Re: MSP432 Launchpad at US$4.32...
« Reply #44 on: January 09, 2016, 11:09:50 pm »
How do you mean convenient?, Remove/add the ROM_ on all functionnames?, or is there better ways? so far I have used GPIOPinWrite or ROM_GPIOPinWrite..

Is the rom fixed?, not updateable?, ie, if the driverlib is bugfixed, you can risk bumping the codesize a lot..

 

Offline newbrain

  • Super Contributor
  • ***
  • Posts: 1721
  • Country: se
Re: MSP432 Launchpad at US$4.32...
« Reply #45 on: January 09, 2016, 11:34:10 pm »
How do you mean convenient?, Remove/add the ROM_ on all functionnames?, or is there better ways? so far I have used GPIOPinWrite or ROM_GPIOPinWrite..

Is the rom fixed?, not updateable?, ie, if the driverlib is bugfixed, you can risk bumping the codesize a lot..

There is actually an automatic way of selecting ROM vs. Flash libraries: using a MAP_ prefix, rather than ROM_:
Quote
While the majority of DriverLib APIs are available in ROM, due to architectural limitations some
APIs are omitted from being included in ROM. In addition, if any bug fixes were added to the API
after the device ROM was programmed, it is desirable to use the flash version of the API. An
"intelligence" has been created to account for this problem. If the user includes the rom_map.h
header file and uses the MAP_ prefix in front of the API, the header file will automatically use
preprocessor macros to decide whether to use a ROM or flash version of the API.

Of course, this does not solve the issue of some code size unpredictability you pointed out.

Note that this is from the manual, I did not try it (waiting for the boards...).
Nandemo wa shiranai wa yo, shitteru koto dake.
 

Offline Brutte

  • Frequent Contributor
  • **
  • Posts: 614
Re: MSP432 Launchpad at US$4.32...
« Reply #46 on: January 09, 2016, 11:44:00 pm »
How do you mean convenient?
already replied above.

Quote
Is the rom fixed?, not updateable?, ie, if the driverlib is bugfixed, you can risk bumping the codesize a lot..
The advantage of ROM against flash is that it is of order of magnitude cheaper. There would be no point providing updateable libraries.

If there is a bug then most likely only in one location. Besides usage of ROM libs is not mandatory, you can always provide your own implementation of some function if you want to.

Another option would be to use FPB unit (the "FP" stands for "Flash Patch" ).
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: MSP432 Launchpad at US$4.32...
« Reply #47 on: January 09, 2016, 11:46:26 pm »
Quote
How do you mean convenient?

Each chip's header defines which function is rom implemented. So the MAP_ macro can be referrenced to either the driverlib or its rom version at compile time.

From my good old LM3S days.
================================
https://dannyelectronics.wordpress.com/
 

Offline jwm_

  • Frequent Contributor
  • **
  • Posts: 319
  • Country: us
    • Not A Number
Re: MSP432 Launchpad at US$4.32...
« Reply #48 on: January 10, 2016, 03:00:47 am »
Interesting, apparently the xds110 hardware debugger on the dev kit can be used with othet ARM cpus by jumping over the jtag connection. So this is a pretty cheap hardware arm debugger too.

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: MSP432 Launchpad at US$4.32...
« Reply #49 on: January 10, 2016, 02:54:57 pm »
I still have trouble accessing the reference manual and the board related documents. Based solely on the skimpy data sheet, I have to ask why so many people seem to be so excited about this chip. Honestly, there doesn't seem to be anything that sets apart this chip. If there is, ti has done a terrible job articulating them.
================================
https://dannyelectronics.wordpress.com/
 

Offline Brutte

  • Frequent Contributor
  • **
  • Posts: 614
Re: MSP432 Launchpad at US$4.32...
« Reply #50 on: January 10, 2016, 03:53:49 pm »
 

Offline coppice

  • Super Contributor
  • ***
  • Posts: 8703
  • Country: gb
Re: MSP432 Launchpad at US$4.32...
« Reply #51 on: January 10, 2016, 04:31:54 pm »
I still have trouble accessing the reference manual and the board related documents. Based solely on the skimpy data sheet, I have to ask why so many people seem to be so excited about this chip. Honestly, there doesn't seem to be anything that sets apart this chip. If there is, ti has done a terrible job articulating them.
You consider an 800 page family guide, and a 157 page datasheet specific to the device skimpy documentation?
 

Offline AndreasF

  • Frequent Contributor
  • **
  • Posts: 251
  • Country: gb
    • mind-dump.net
Re: MSP432 Launchpad at US$4.32...
« Reply #52 on: January 10, 2016, 06:20:18 pm »
DS MSP432P401x
TRM MSP432P4xx Family

Thanks for these, Brutte!

Does anybody else have problems with the links that are given by TI on this page http://www.ti.com/product/MSP432P401M/technicaldocuments ?  In Chrome they end up as blank pages (i.e. nothing is shown). In "Edge" they resolve just fine to the links that Brutte provided.

my random ramblings mind-dump.net
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: MSP432 Launchpad at US$4.32...
« Reply #53 on: January 10, 2016, 06:27:17 pm »
Quote
Does anybody else have problems ...

You aren't alone.
================================
https://dannyelectronics.wordpress.com/
 

Offline AndreasF

  • Frequent Contributor
  • **
  • Posts: 251
  • Country: gb
    • mind-dump.net
Re: MSP432 Launchpad at US$4.32...
« Reply #54 on: January 10, 2016, 06:29:35 pm »
Good to know.  Doesn't seem to be a Chrome vs Edge problem either. I'm trying to get to the Launchpad user guide now and it doesn't work in either browser.

http://www.ti.com/lit/pdf/slau597  (maybe for some reason it works from here)

Edit: nope! Worked in IE (once I clicked "open in Internet Explorer" in Edge).
« Last Edit: January 10, 2016, 06:32:15 pm by AndreasF »
my random ramblings mind-dump.net
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 7999
  • Country: gb
Re: MSP432 Launchpad at US$4.32...
« Reply #55 on: January 10, 2016, 06:41:19 pm »
TIs site does this regularly. It'll start working normally again soon.
 

Offline andersm

  • Super Contributor
  • ***
  • Posts: 1198
  • Country: fi
Re: MSP432 Launchpad at US$4.32...
« Reply #56 on: January 11, 2016, 05:43:19 am »

Offline AlxDroidDev

  • Frequent Contributor
  • **
  • Posts: 471
  • Country: br
    • Arduino Web Brasil
Re: MSP432 Launchpad at US$4.32...
« Reply #57 on: January 11, 2016, 07:57:53 pm »
[fun]
I was wondering if TI is endorsing the 432Hz tuning fad crap and named this chip after the new "A432".
[/fun]
« Last Edit: January 12, 2016, 11:40:24 am by AlxDroidDev »
"The nice thing about standards is that you have so many to choose from." (Andrew S. Tanenbaum)
 

Offline suicidaleggroll

  • Super Contributor
  • ***
  • Posts: 1453
  • Country: us
Re: MSP432 Launchpad at US$4.32...
« Reply #58 on: January 11, 2016, 08:55:48 pm »
[fun]
I was wondering it TI is endorsing the 432Hz tuning fad crap and named this chip after the new "A432".
[/fun]

I had never heard of "A432" before reading this, so I googled it.  I wish I hadn't...
 

Offline Macbeth

  • Super Contributor
  • ***
  • Posts: 2571
  • Country: gb
Re: MSP432 Launchpad at US$4.32...
« Reply #59 on: January 11, 2016, 09:01:23 pm »
I figured it's some Audiophool stuff. Quick google, decided to ignore.

Got better things to do, because my MSP432 boards arrived today  :-+

Only got the online cloud stuff working in chrome and can mess around with a flashing multicolour LED.

I think I will download the proper tools now as I hate all this cloud stuff.

Oh, and of course it is obvious they called it MSP432 because it only costs $4.32 - duh! :palm: nothing to do with audiophools  :palm:  ;)
 

Offline helius

  • Super Contributor
  • ***
  • Posts: 3645
  • Country: us
Re: MSP432 Launchpad at US$4.32...
« Reply #60 on: January 11, 2016, 09:27:26 pm »
I figured it's some Audiophool stuff. Quick google, decided to ignore.
No smiley: Were you joking?
The A432 fad is because of creeping hitleritis.

Edit: an invention of the Lyndon LaRouche cult:
https://en.wikipedia.org/wiki/Schiller_Institute
« Last Edit: January 11, 2016, 09:32:34 pm by helius »
 

Offline AlxDroidDev

  • Frequent Contributor
  • **
  • Posts: 471
  • Country: br
    • Arduino Web Brasil
Re: MSP432 Launchpad at US$4.32...
« Reply #61 on: January 12, 2016, 11:50:13 am »
I had never heard of "A432" before reading this, so I googled it.  I wish I hadn't...

I wish I hadn't either, but some of my friends are musicians and they talk about this stuff. Most musicians think this A432 thing is total crap (which it is), because most people can't even hear the difference between A440 and A432. 99% of the people advocating A432 aren't musicians or audiophools, but idiots who believe it has something to do with "DNA tuning" or "God's frequency" or any other <insert favortite insulting word> like that.

enough of that!

My *real* 432s are expected to be delivered tomorrow. Apparently FEDEX had some customs screw up.
"The nice thing about standards is that you have so many to choose from." (Andrew S. Tanenbaum)
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: MSP432 Launchpad at US$4.32...
« Reply #62 on: January 12, 2016, 12:08:03 pm »
Having spent some time on the ref manual, I find it good that the port register structure is the same for all ports, making one gpio structure applicable to all ports.

The good old 430 has different port register layout for p1/p2 vs. Other ports.
================================
https://dannyelectronics.wordpress.com/
 

Offline AlxDroidDev

  • Frequent Contributor
  • **
  • Posts: 471
  • Country: br
    • Arduino Web Brasil
Re: MSP432 Launchpad at US$4.32...
« Reply #63 on: January 13, 2016, 03:49:01 am »
My *real* 432s are expected to be delivered tomorrow. Apparently FEDEX had some customs screw up.

Risk that. Mine were delivered today, and I didn't have to pay any customs duty.

Anyhow, I've been trying to upload a program to it for the past 3 hours using TI`s Code Composer Studio, without any success. A few minutes ago I found this post that might beuseful for you if you are unable to debug from CCS:

https://e2e.ti.com/support/microcontrollers/msp430/f/166/p/460430/1663082#1663082
« Last Edit: January 13, 2016, 03:51:40 am by AlxDroidDev »
"The nice thing about standards is that you have so many to choose from." (Andrew S. Tanenbaum)
 

Offline pakesson

  • Newbie
  • Posts: 4
  • Country: se
Re: MSP432 Launchpad at US$4.32...
« Reply #64 on: January 14, 2016, 03:23:38 pm »
Nine months on, there are still only two MSP432 chips available and they're still XMS432 which means beta. I don't know if this means anything - just thinking out loud.

Indeed, the errata is quite extensive - http://www.ti.com/lit/er/slaz610c/slaz610c.pdf

As far as I can tell (I ordered three boards anyway, but they haven't arrived yet), the Launchpad comes with Rev B as listed in the errata.

Edit: andersm already mentioned the errata
« Last Edit: January 15, 2016, 09:35:12 am by pakesson »
 

Offline rsjsouzaTopic starter

  • Super Contributor
  • ***
  • Posts: 5990
  • Country: us
  • Eternally curious
    • Vbe - vídeo blog eletrônico
Re: MSP432 Launchpad at US$4.32...
« Reply #65 on: January 14, 2016, 04:12:43 pm »
My *real* 432s are expected to be delivered tomorrow. Apparently FEDEX had some customs screw up.

Risk that. Mine were delivered today, and I didn't have to pay any customs duty.

Anyhow, I've been trying to upload a program to it for the past 3 hours using TI`s Code Composer Studio, without any success. A few minutes ago I found this post that might beuseful for you if you are unable to debug from CCS:

https://e2e.ti.com/support/microcontrollers/msp430/f/166/p/460430/1663082#1663082
AlxDriodDev, Dung Dang from TI also did a very thorough post at:
https://e2e.ti.com/support/microcontrollers/msp430/f/166/p/419867/1740311#1740311
Vbe - vídeo blog eletrônico http://videos.vbeletronico.com

Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
 

Offline AlxDroidDev

  • Frequent Contributor
  • **
  • Posts: 471
  • Country: br
    • Arduino Web Brasil
Re: MSP432 Launchpad at US$4.32...
« Reply #66 on: January 14, 2016, 07:37:30 pm »
(...) A few minutes ago I found this post that might beuseful for you if you are unable to debug from CCS:

https://e2e.ti.com/support/microcontrollers/msp430/f/166/p/460430/1663082#1663082
AlxDriodDev, Dung Dang from TI also did a very thorough post at:
https://e2e.ti.com/support/microcontrollers/msp430/f/166/p/419867/1740311#1740311

He posted that a couple days too late. Since I got my boards on Jan 12th, I believe many of you, specially those in the US, got it way before I did, and were just as frustrated as I was trying to program them. I lost track of how many times I had to perform a full reset on the board (using CCS in Debug Mode).

Unfortunately for me, I was also victim of another bug in the MSP432 Launchpad boards: incompatibility with Renesas USB 3.0 controllers on Windows 7 machines. Fortunately this bug is documented in a few documents and I have a few USB 2.0 ports on my PC.

I am afraid to admit it, but during those dreadful 3 hours when CCS wouldn't work, I had to resort to Energia IDE to make sure my board wasn't toasted! I know that many ARM diehard fans here just cringe at hearing anything that has to do with the Energia IDE!
"The nice thing about standards is that you have so many to choose from." (Andrew S. Tanenbaum)
 

Offline mtdoc

  • Super Contributor
  • ***
  • Posts: 3575
  • Country: us
Re: MSP432 Launchpad at US$4.32...
« Reply #67 on: January 14, 2016, 07:53:21 pm »

I am afraid to admit it, but during those dreadful 3 hours when CCS wouldn't work, I had to resort to Energia IDE to make sure my board wasn't toasted! I know that many ARM diehard fans here just cringe at hearing anything that has to do with the Energia IDE!

Ah screw those elitist coders!  >:D   Energia is great for quick and dirty programming of TI dev boards. :-+
 

Offline rsjsouzaTopic starter

  • Super Contributor
  • ***
  • Posts: 5990
  • Country: us
  • Eternally curious
    • Vbe - vídeo blog eletrônico
Re: MSP432 Launchpad at US$4.32...
« Reply #68 on: January 14, 2016, 09:25:05 pm »

I am afraid to admit it, but during those dreadful 3 hours when CCS wouldn't work, I had to resort to Energia IDE to make sure my board wasn't toasted! I know that many ARM diehard fans here just cringe at hearing anything that has to do with the Energia IDE!

Ah screw those elitist coders!  >:D   Energia is great for quick and dirty programming of TI dev boards. :-+
+1. Don't feel bad using Energia.
Vbe - vídeo blog eletrônico http://videos.vbeletronico.com

Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
 

Offline Macbeth

  • Super Contributor
  • ***
  • Posts: 2571
  • Country: gb
Re: MSP432 Launchpad at US$4.32...
« Reply #69 on: January 14, 2016, 10:36:45 pm »
I don't have a clue what Energia is. Just installed CCS and all its updates, but included GCC as there is no 16KB/32KB limit from what I gather. Windows 10. Seems to work.
 

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Re: MSP432 Launchpad at US$4.32...
« Reply #70 on: January 14, 2016, 11:46:49 pm »
Energia is the Arduino IDE and Wiring libraries ported to MSP430, 432, Tiva C and C2000 hardware. You can run most Arduino sketches with small or no modifications (assuming they don't access AVR specific functions).

If you're a Mac user, check out EmbedXcode, written by a good friend of mine. It allows you to use Xcode as your IDE for Arduino, MSP43x, Tiva C, Teensy, Spark Core and other boards. Note: You still need to have Arduino, Energia, etc. installed; it uses GCC and the platform files from those apps for compilation.
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Offline Stupid Beard

  • Regular Contributor
  • *
  • Posts: 221
  • Country: gb
Re: MSP432 Launchpad at US$4.32...
« Reply #71 on: January 15, 2016, 11:10:04 am »
I ordered a couple of these on the 13th and they arrived today. Pretty impressed with how quick that was.

Now I just need to find something to use them for besides bulking up my pile of unfinished projects.
 

Offline AlxDroidDev

  • Frequent Contributor
  • **
  • Posts: 471
  • Country: br
    • Arduino Web Brasil
Re: MSP432 Launchpad at US$4.32...
« Reply #72 on: January 15, 2016, 11:27:40 am »

I am afraid to admit it, but during those dreadful 3 hours when CCS wouldn't work, I had to resort to Energia IDE to make sure my board wasn't toasted! I know that many ARM diehard fans here just cringe at hearing anything that has to do with the Energia IDE!

Ah screw those elitist coders!  >:D   Energia is great for quick and dirty programming of TI dev boards. :-+
+1. Don't feel bad using Energia.

This is sounding like a therapeutic support groups! Thank you guys! Coming from Arduino, I like Energia, although that red color of the IDE is not pleasant at all.

I got so mad at CCS and its bugs that I uninstalled it. I kept Energia, XDS110 drivers and xdsdfu (the DAP firmware updater, and is deep inside the CCS folders) installed because they simply work right out of the box. Energia complained a few times about an out-of-date firmware on the DAP, which was solved using xdsdfu.
"The nice thing about standards is that you have so many to choose from." (Andrew S. Tanenbaum)
 

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 7418
  • Country: nl
  • Current job: ATEX product design
Re: MSP432 Launchpad at US$4.32...
« Reply #73 on: January 15, 2016, 01:46:50 pm »
Energia is the Arduino IDE and Wiring libraries ported to MSP430, 432, Tiva C and C2000 hardware. You can run most Arduino sketches with small or no modifications (assuming they don't access AVR specific functions).

If you're a Mac user, check out EmbedXcode, written by a good friend of mine. It allows you to use Xcode as your IDE for Arduino, MSP43x, Tiva C, Teensy, Spark Core and other boards. Note: You still need to have Arduino, Energia, etc. installed; it uses GCC and the platform files from those apps for compilation.
Well, I've heard this before with the Pinguino. Also, native USB. I said great, lets try it.
And then of course I did not have a single project which worked as expected, due to old libraries, hacks of hacks and plain untested code. Is TI better?
 

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Re: MSP432 Launchpad at US$4.32...
« Reply #74 on: January 15, 2016, 01:57:59 pm »

Energia is the Arduino IDE and Wiring libraries ported to MSP430, 432, Tiva C and C2000 hardware. You can run most Arduino sketches with small or no modifications (assuming they don't access AVR specific functions).

If you're a Mac user, check out EmbedXcode, written by a good friend of mine. It allows you to use Xcode as your IDE for Arduino, MSP43x, Tiva C, Teensy, Spark Core and other boards. Note: You still need to have Arduino, Energia, etc. installed; it uses GCC and the platform files from those apps for compilation.
Well, I've heard this before with the Pinguino. Also, native USB. I said great, lets try it.
And then of course I did not have a single project which worked as expected, due to old libraries, hacks of hacks and plain untested code. Is TI better?

Energia isn't developed by TI, well officially anyway. The guy who started it works for TI and did Energia as a personal project; TI doesn't own any rights to it or anything. Development takes place on Github and there's an active community over at 43oh.com if you need help.

As for projects working, it depends on the project or library in question. If it makes direct calls to the underlying hardware, it won't work without modification. If it just uses Wiring, it'll work. (For example, if the sketch directly manipulates ports and is expecting a ATmega328P, it obviously won't work; if it uses digitalWrite, it will work just fine.)

All the standard functions (digital/analog read/write, I2C, SPI, PWM, etc.) work exactly like they do in Arduino.
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Offline Fred27

  • Supporter
  • ****
  • Posts: 726
  • Country: gb
    • Fred's blog
Re: MSP432 Launchpad at US$4.32...
« Reply #75 on: January 15, 2016, 03:05:46 pm »
Energia takes everything that is awful about Arduino and applies it to the MSP430, etc. I suggest you don't use it if you have any self respect or if you have any interest in useful features like JTAG debugging, breakpoints or EnergyTrace power profiling.

Of course that's just my opinion. Try Energia and CCS then make up your own mind.
 

Offline suicidaleggroll

  • Super Contributor
  • ***
  • Posts: 1453
  • Country: us
Re: MSP432 Launchpad at US$4.32...
« Reply #76 on: August 14, 2016, 08:11:43 pm »
It looks like the chips are now in production.  No stock yet at distributors, but they now have listings for them and show the status as "on order", and you can buy the chips and get samples from TI (currently in stock).  It also looks like TI has now released msp432-gcc to go along with their msp430-gcc open source compiler, which makes me very happy.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: MSP432 Launchpad at US$4.32...
« Reply #77 on: August 14, 2016, 09:38:28 pm »
last time I checked, TI had yet to implement the "#pragma vector" directive for t he MSP432 family of chips.

As such, you will have to manually edit the start-up file to insert your ISRs.

I would not do any work on the chip until that has been resolved.
================================
https://dannyelectronics.wordpress.com/
 

Offline suicidaleggroll

  • Super Contributor
  • ***
  • Posts: 1453
  • Country: us
Re: MSP432 Launchpad at US$4.32...
« Reply #78 on: August 14, 2016, 10:33:57 pm »
The msp432-gcc examples have all of the ISRs pre-set in the startup file, all you have to do is write the ISR in your program and enable it in NVIC.

http://www.ti.com/lit/zip/slac698
« Last Edit: August 14, 2016, 10:48:28 pm by suicidaleggroll »
 

Offline Macbeth

  • Super Contributor
  • ***
  • Posts: 2571
  • Country: gb
Re: MSP432 Launchpad at US$4.32...
« Reply #79 on: August 14, 2016, 11:46:10 pm »
last time I checked, TI had yet to implement the "#pragma vector" directive for t he MSP432 family of chips.

As such, you will have to manually edit the start-up file to insert your ISRs.

I would not do any work on the chip until that has been resolved.

OMG! I have a couple of these MSP432's, but it sounds like you have found a major show stopper! Good on you, I wish moar people would come out and shame TI because of major shit like this.  :palm:
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: MSP432 Launchpad at US$4.32...
« Reply #80 on: August 15, 2016, 01:56:52 am »
The sad thing is that the weak attribute is actually supported by ti arm compiler, itself a derivative of GCC.

You can pretty much implement your own programmable isr by declaring the as weak in the start up file and the code compiles just fine.

Why ti decided to release a half ass compiler, and didn't provide a quick update, as shown in the porting guide, is beyond me.
================================
https://dannyelectronics.wordpress.com/
 

Offline rsjsouzaTopic starter

  • Super Contributor
  • ***
  • Posts: 5990
  • Country: us
  • Eternally curious
    • Vbe - vídeo blog eletrônico
Re: MSP432 Launchpad at US$4.32...
« Reply #81 on: August 15, 2016, 03:39:23 am »
But there is a simple solution provided by TI in this case so it isn't a big deal.
Yes, just edit the startup_msp432p401r_gcc.c file and you are good.
Vbe - vídeo blog eletrônico http://videos.vbeletronico.com

Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
 

Offline andyturk

  • Frequent Contributor
  • **
  • Posts: 895
  • Country: us
Re: MSP432 Launchpad at US$4.32...
« Reply #82 on: August 15, 2016, 04:15:17 am »
last time I checked, TI had yet to implement the "#pragma vector" directive for t he MSP432 family of chips.

As such, you will have to manually edit the start-up file to insert your ISRs.

I would not do any work on the chip until that has been resolved.
MSP432 is a Cortex-M core and you can write ISRs and set up your vector table in straight C.
 

Offline rsjsouzaTopic starter

  • Super Contributor
  • ***
  • Posts: 5990
  • Country: us
  • Eternally curious
    • Vbe - vídeo blog eletrônico
Re: MSP432 Launchpad at US$4.32...
« Reply #83 on: August 15, 2016, 08:56:40 am »

last time I checked, TI had yet to implement the "#pragma vector" directive for t he MSP432 family of chips.

As such, you will have to manually edit the start-up file to insert your ISRs.

I would not do any work on the chip until that has been resolved.
Get on with times and get your devices straight.

- MSP432 uses the ARM GCC compiler from https://launchpad.net/gcc-arm-embedded
- MSP430 uses a GCC porting that started to support the pragma in 2012, as mentioned below:
http://stackoverflow.com/questions/15500826/how-to-declare-an-interrupt-handler-isr-in-mspgcc
Vbe - vídeo blog eletrônico http://videos.vbeletronico.com

Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
 

Offline Cervisia

  • Regular Contributor
  • *
  • Posts: 83
  • Country: 00
Re: MSP432 Launchpad at US$4.32...
« Reply #84 on: August 15, 2016, 09:41:15 am »
Please note that "mspgcc" is a now-outdated fork of gcc; the last release was in 2012.

MSP430 support was also added to the 'real' gcc.
The "msp430-gcc" package on TI's website is just the official gcc, configured to cross-compile with the MSP430 as target.

"#pragma vector" was supported by mspgcc, but is not available in gcc.
(There's nothing that TI can do about this, except creating their own fork of gcc. But that would not make sense because they already make their own compiler.)

All of TI's current MSP430 example code uses the correct compiler-specific #ifdeffery when declaring interrupt vectors.

(And none of this applies to the MSP432; as already mentioned, it's just an ARM.)
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: MSP432 Launchpad at US$4.32...
« Reply #85 on: August 15, 2016, 11:11:55 am »
"And none of this applies to the MSP432"

That's the saddest part: a big selling point for 432 is its peripheral comparability with 430.

So it is a little bit too much to require manual editing of start up files when porting one one to another.
================================
https://dannyelectronics.wordpress.com/
 

Offline suicidaleggroll

  • Super Contributor
  • ***
  • Posts: 1453
  • Country: us
Re: MSP432 Launchpad at US$4.32...
« Reply #86 on: August 15, 2016, 12:53:34 pm »
I could have sworn I already said above that you don't have to edit the startup file...

I just wrote a simple msp432 program for testing last night that used the timer interrupt for a programmable delay.  The result looks almost identical to the MSP430.  The register setup looks basically the same, the ISR looks only slightly different, and it has an extra NVIC call, that's about it.  No editing of the startup file, no "#pragma vector" syntax in either one.

Maybe you had to edit the startup file previously, but it was still pre-release silicon with pre-release software support.  If you don't want to deal with pre-release "problems" then wait until the device has moved to active production.
« Last Edit: August 15, 2016, 01:05:32 pm by suicidaleggroll »
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: MSP432 Launchpad at US$4.32...
« Reply #87 on: August 19, 2016, 10:30:21 pm »
Updated my compiler to 15.12 LTS and the interrupts worked beautifully - as I had used the same vector names so my code compiled and ran as expected.

I'm a happy camper.

BTW: TI should have updated the porting guide.
================================
https://dannyelectronics.wordpress.com/
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf