Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


monsonite last won the day on May 24 2017

monsonite had the most liked content!

About monsonite

  • Rank
    Advanced Member

Recent Profile Visitors

1,002 profile views
  1. SIMPL = Serial Interpreted Minimal Programming Language Hi, It's been about a year since I talked about SIMPL - a tiny language that allows you basic control of a microcontroller using serial commands. In the 6 months I have coded it up in MSP430 assembly language to make it super compact - and fast - with high level commands taking about 1uS to execute on the virtual machine interpreter. SIMPL is based on a jump table - so for any single, printable ascii character, the jump table will act on it and execute whatever function you choose to write. This technique gives amaz
  2. Hi All, Would there be sufficient interest in some of the new FRAM parts to warrant an update of Energia to support these? The $16 MSP430FR5994 LaunchPad is remarkable value, and an ideal platform for datalogger/low power sensor applications with 256Kbytes of FRAM, a microSD card, and 68 lines of I/O. The MSP430FR2433 is also a neat little part, and if you need 4 x 24bit ADCs for instrumentation or energy monitoring the MSP430i2041 is one of the cheapest solutions for independent 24 bit ADCs around. I would be interested to know if there is a plan for Energia to support these r
  3. Hi All, It's about a month since my last update, and following on from the breadboard prototype, the project has been gathering momentum. After an initial review of the various MSP430 devices it was decided to opt for a generic smart analogue sensor design, capable of driving an OLED display. I selected to use the MSP430i2041 ( which was chosen for it's 4 x SD24 ADCs) in order to make precision sensor measurements. It uses a low noise differential input instrumentation amplifier. Typically it can be used for bridge sensors, current shunts, milliohm measurements, strain-gauges
  4. noForth appears to be a very nice implementation - written by Dutch developers, Albert Nijhof & Willem Ouwerkerk It is a good implementation for the MSP430 - especially if you are working with G2 Launchpad , '5739 EXP or '5969 EXP. noForth also supports the following boards with noForth C or noForth V - which has support for the FRAM Documentation about the boards (.pdf) Lp, Mc, Du, Mv, Ex intel hex files (.a43) of actual noForth versions (160401) MSP430G2553 Launchpad 16kB FROM Lp noForth C noForth V noForth C- noForth V-
  5. One month later - and I have the MSP430i2041 running my Simplex code - reading a strain gauge loadcell and measuring force through the 24bit ADC. Here's the prototype on a breadboard. The MSP430i2041 is mounted on the "Schmartboard" carrier, and the 8 pin chip to the left is a 128K x 8 SRAM - Microchip 23LC1024 The MSP430i2041 has 4 separate 24bit SD-ADC channels with built in programmable gain amplifiers with differential inputs. Ideal for strain-gauge type sensors - with almost no external components needed for interfacing. You can have UART to PC and SPI and a couple of
  6. Over the last couple of days Matthias Koch has ported his Mecrisp MSP430 Forth 2.03 across to my MSP430FR2433 ChipStick design. I am now happy to report that the first testing happened earlier this evening - so now we have a good native assembly language Forth running on the ChipStick. There will be an update to my GitHub - in the next couple of days. Ken
  7. Hi All, I am aware of the limitations of the BSL, and the power of the Mass Erase function. I am suggesting that BSL is a convenient way of getting your initial code into the device - in my case an image of Forth or Simplex. Once this code is in place you have a device that runs an interpreted language, with it's own mechanism for programming code into the FRAM. Perhaps I should have made this clearer in my post. Ken
  8. I got interested in the BSL bootloader about 6 weeks ago whilst trying to find a programming solution for a product at my work. I have done a bit of research and written it up as a 2 part post on my blog: Part 1 http://sustburbia.blogspot.co.uk/2016/02/the-great-msp430-bootloader-swindle.html Part 2 http://sustburbia.blogspot.co.uk/2016/03/the-great-msp430-bootloader-swindle.html If you want to program an MSP430 but don't want to have to use a FET based device, then this could be what you are looking for. My programmer? Sure - that's it on the left hand end of
  9. Thanks Rando I am trying to get some documentation together - that is more easily followed. Start off with Ward Cunningham's Txtzyme website - which explains the basics. It should be a fairly simple port to the 16Fxxxx https://github.com/WardCunningham/Txtzyme I just built on his foundations. His <100 line interpreter code is still at the heart of my implementation. My interest started 3 years ago - http://sustburbia.blogspot.co.uk/2013/05/simpl-simple-programming-language-based.html Ken BTW I now have it running on 4 different MSP430 chips (G2533
  10. I have put the pictorial construction guide for ChipStick on my Blog. It gives an idea of how to assemble the pcb by hand - should you wish. However - these will be professionally built by pick and place machine in China later in the Summer, at a price that would be difficult to match by any means. http://sustburbia.blogspot.co.uk/2016/03/building-chipstick-construction-guide.html The EagleCAD files, Gerbers and a representative, (but not finalised) BOM is also available from my GitHub repository. You will be amazed how cheap components are, when sourced from China - litera
  11. An Update, I have now partially built up a batch of 14 ChipSticks, and completed 4. The remainder will be done during the week. Over the weekend I have written some more code to exercise the on board 128K byte RAM - and this appears to be working well. I can now execute my Simplex code out of the external SRAM. There will be an update to the code on my Github plus some more information geaned whilst building these up. It's not often you get an uninterrupted 4 day stretch to work intensively on a project like this. I can return to work tomorrow - knowing that most of what
  12. In this post I reveal the applications of the new product I have been working on this last month. ChipStick is a tiny, low cost ($10) 16 bit microcomputer based on the MSP430FR2433 attached to a PC via a USB cable. It comes with up to 256K bytes of non-volatile memory - uniquely using ferro-electric memory. It has up to 16 accessible GPIO lines - which include a mix of SPI, I2C, UART, Timer and ADC channels. ChipStick may be plugged into a breadboard or stripboard and act as an intelligent programmable controller interfacing with other circuitry. ChipStick can also act as
  13. I'd tackle point 3 first. Sometimes you find that half the chip is not powered if you omit connecting a power pin - I read something of this nature in the datasheet or user's manual last week. Get you code to run first without the complications of LP modes - once it works at full speed - then you can add the niceties. Ken
  14. I have been intrigued with Forth since I was at school in the early 80s. There has been a renewed interest in Forth as a lightweight language with lightweight development tools - especially in these days of open source , where there is a backlash against the huge IDE tool chains needed to develop and debug code - even on the smallest of microcontrollers. As part of my recent investigation of MSP430 I have found a number of free, open source Forth implementations - which may be worth a look. 1. Fast Forth by Jean Michel Thoorens https://gitlab.com/Jean-Michel/FastForthForMSP430fr5
  15. Fred, It did actually start off at the other end of the board - which initially seemed a good idea at the time, but for tracking reasons, the SPI RAM needed to go there too - and in the end the RAM won the toss. With hindsight - it could be easily moved back again - now that all the traces are in place. Perhaps that's something for Issue 2. There are also 2 unused pins on the processor which could also be tracked out, a 24 pin DIL footprint might be a better overall size - allowing more features. This is a BSL programmer and comms interface - it is not a FET. If you want to do FE
  • Create New...