element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Blog EasyL1105: A Dev Board for the TI ARM Cortex-M0+ L-Series
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: shabaz
  • Date Created: 10 Aug 2025 11:07 PM Date Created
  • Views 1248 views
  • Likes 10 likes
  • Comments 35 comments
  • MSPM0L1105
  • arm cortex
  • cortex-m0+
  • arm cortex-m
  • texas instruments
  • MSPM0L1106
  • ti
Related
Recommended

EasyL1105: A Dev Board for the TI ARM Cortex-M0+ L-Series

shabaz
shabaz
10 Aug 2025

Table of Contents

  • Introduction
  • Circuit Description
    • 1. Microcontroller Core
    • 2. USB UART
    • 3. Voltage Regulator
  • Circuit Board
  • Building and Running an Example Project
  • Summary

 

Introduction

I was browsing the Texas Instruments (TI) website, and noticed they had some very low-cost, very basic ARM Cortex-M0+ microcontrollers. I was keen on finding something low-power, small (but hand-solderable), and cheap. I aim to eventually use such a chip for interfacing to simple sensors for a few possible projects (one requires some sort of low-accuracy current sensor, and another requires an presence sensor), so all I require is a basic built-in ADC, I2C, SPI, or perhaps UART, and either control an output, or send text to an I2C LCD display, or perhaps write to external SPI storage.

In the end, I decided to order a few parts from the TI L-Series, which they class as low-power, and I found a 28-pin variant which has a fair amount of general-purpose input/output (GPIO) connections.

The microcontroller doesn’t have any particularly remarkable features, other than the very low power consumption and cheapness, and the fact that it doesn’t require many components at all, not even a crystal oscillator. Just a few decoupling capacitors are all that’s technically required.

image

(Image source: Microcontroller PDF Datasheet)

In shutdown (with GPIO wakeup capability), current consumption is apparently 61 nA, which seems pretty low. RAM can be maintained and timers can be running in a ‘standby’ mode, where current consumption is 1uA, which also seems reasonable.

One more thing I really liked; it has an in-built bootloader that can accept firmware over the serial (UART) port, so that no separate programmer device is required for in-the-field updates. You could just attach it directly to a PC and program it up.

The particular part I went for is the L1105 (the full name is MSPM0L1105TDGS28R), which has 32 kByte of Flash memory and 4 kByte of RAM, but there is a pin-compatible L1106 upgrade part with 64 kByte of Flash if needed.

In terms of major downsides, there’s no ability to add a crystal oscillator if you need such precision. Interestingly, as a compromise, the chip can use an external 0.1% tolerance 100k resistor in order to create a reasonably precise internal oscillator, but it won’t compare with a crystal, of course. I would have liked an accurate RTC, but I suppose that could always be an external I2C peripheral chip, perhaps with a separate backup battery.

TI doesn’t actually have a dev-board for this particular L1105 part, but since it’s a simple chip, I’d much rather make my own dev-board, so I can get used to working with the chip without all the extras that many dev-boards have.

Circuit Description

The circuit is split up into three main sections, described next. For the PDF version of the schematic and the project files, see the easyL1105 project repository on GitHub.

1. Microcontroller Core

The core of the circuit is shown below (click to enlarge).

This doesn’t do much, other than breaking out most of the microcontroller connections to 0.1” pin headers. I took a reasonable guess at how the pins might be used, and so some are labelled with I2C and SPI connection names. A couple of pins are useful for timer-based input/output capabilities; for instance, one could use them for attaching a rotary encoder. As a simple user interface, the circuit has a single button (SW3) and a couple of LEDs attached to GPIO pins; it’s up to the user to write code to make use of that button and the LEDs.

There is a 5-pin header, J5, that can be used to attach a traditional SWD JTAG programmer device if required.

The BSL_RX and BSL_TX connections are used for uploading firmware via serial. To enable this, there is a BSL_BOOT button that needs to be held down during a reset. There are some non-populated resistor pads attached to the BSL_BOOT switch, because I’m unsure if that pin floats, or if the user may wish to permanently set that to a particular level.

image

Note: It was later discovered that this Rev 1 circuit is missing a 47k pull-up resistor, from the *RST pin (pin 6 on the microcontroller) to +3.3V. It was easy to patch onto the underside of the PCB.

image

2. USB UART

Since I was keen to use the serial bootloader, the dev-board contains a USB-UART adapter. It’s based around a CH340K USB-UART chip, which I’ve never used before. The chip is a little unusual in that it uses pull-up resistors on the UART side if the chip is powered from 5V and not from the (lower) microcontroller voltage; that’s the reason for R16 on the right side of the circuit (R18 is not fitted, otherwise the microcontroller will always start in bootloader mode!). After some discussion with Jan Cumps  it's likely R16 is not needed, so it could potentially be removed (depending on if the RX pin is floating or not on the microcontroller). The microcontroller reset pin is wired through a jumper on J3 to the RTS line, in case it is possible to automatically reset the board from the PC (if you're using the official TI app, UniFlash, then it's not possible, and the jumper needs to be removed). You would still need to manually press the BSL_BOOT button (although, if the microcontroller is new from the factory with the Flash erased, then for that first time the BSL_BOOT button doesn’t need to be pressed).

The pin headers labelled J3 are used with shorting jumpers to redirect the USB-UART from the BSL pins to alternative pins for UART0. This is so that the same USB-UART can be used for general program serial input/output, too.

image

3. Voltage Regulator

The final bit of circuitry is a 3.3V regulator, which can be powered either by the USB connection or from a 5V labelled connection that is exposed on the GPIO pin headers. The two shorting jumpers can be used to separate the power to the microcontroller portion of the circuitry from the rest of the board. By removing the shorting jumpers, you could wire in a separate power supply if desired, or attach current measurement circuitry.

image

Circuit Board

An approximate render of the circuit board is shown below; it is about 60 x 40 mm.

image

Underside:

image

Building and Running an Example Project

All the steps are described at the README file in the easyL1105 GitHub repository. Scroll down to the Example Project section to see the detail. By following the steps there, it is possible to build using either Keil or with GCC. The Keil steps were tested with Windows. GCC was tested with Windows and Linux.

The steps to use TI's UniFlash tool, for uploading the built .hex firmware file to the board, are also described at the same location.

Summary

TI’s MSPM0 L-series microcontrollers offer low-power and low-cost, and a simple development board was created for the 28-pin L1105 part (32 kByte Flash and 4 kByte RAM). The dev-board brings out most of the connections on the microcontroller, and also allows the testing of the serial bootloader capability of the chip, so that it can be programmed in the field, by connecting to a PC without any programmer hardware required.

The KiCad files and PCB files for sending to any PCB manufacturer are in the EasyL1105 GitHub repository. Although the board has not been tested yet (Edit: it has now been assembled and tried out. See the comments below for information about how to use the board). If you give it a go, it would be interesting to hear any feedback.

Also, if you have any ideas/uses for such a board or a similar one, it would be great to hear about them.

Thanks for reading.

  • Sign in to reply

Top Comments

  • shabaz
    shabaz 9 days ago +1
    Maybe worth mentioning how I'm soldering this. Apologies for the low-quality photos, they were taken with mobile phone. I used a small bent-conical tip, but it's not that critical. First step, apply…
  • shabaz
    shabaz 16 hours ago

    Here's the circuit I used for the 16-pin variant (the R's and C's are not visible in the photo above, but they are on the underside of that breakout board):

    image

    Not a lot of fully spare pins on that part (about 6?), but the SWD pins could become GPIO (by inserting a small delay in the code before configuring those pins as GPIO, so that it's always possible to reprogram via them, although there's always the bootloader option anyway). Plus, the ROSC pin could be a GPIO instead of using it for the oscillator timing improvement. So, overall about 8-9 pins as GPIO are fairly comfortable to use, before more messing about is needed to reuse one or two more pins. Otherwise, better to skip this part and just go to the 28-pin option.

    The neat thing is that all GPIO pins can be used to generate interrupts; there's an Events Manager that allows the different integrated peripherals (like GPIO) to generate interrupts to the CPU, or to become triggers for DMA actions, or even for triggering back into an integrated peripheral (for instance, to start an ADC conversion).

    The diagram below explains what's possible, this is from the MSPM0 L-Series Reference Manual PDF.

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz 4 days ago

    Since I had some 16-pin MSPM0L1105 parts too, I decided to confirm that they worked the same way.

    I don't have a PCB for them, but using 0.5mm pitch generic breakout board Gerber files,  I soldered it up.

    Works fine! (I tested using the same app_L1105.hex file, and the same Python code programmer as used with the larger 28-pin part.

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz 5 days ago

    Auto-boot works with Python : )  

    Now it's possible to program the chip and see the result, without needing to press any buttons. Just plug in the USB cable and run the Python program.

    It's possible to build the code, and see it running, all within two seconds (at least if just one file was modified, and if the code isn't too large; not tried it for anything more significant than a blinky app!).

    The programming with Python took 0.9 seconds:

    image

    To do this, an addition needs to be made to the board, because I didn't anticipate this auto-boot feature originally.

    It basically just inverts the unused *DTR output (which is 5V logic) from the CH340K chip. Diode D1 eliminates current in the backward direction, otherwise it would mess up with any current measurement.

    image

    This is the board with the addition:

    image

    Maybe it's not worth manually soldering as I did, as it merely saves a few seconds of button-pressing effort, but it would be worth adding to a future revision of the board.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz 6 days ago

    After seeing some weirdness with voltage levels, and discussing with Jan, we've learned a bit more about the CH340K.

    If the CH340K is powered from 5V (USB) but the microcontroller is running at 3.3V, the CH340K TXD and RTS pins will actually exhibit a higher voltage than 3.3V, more like 4.7V!

    The circuit is that in figure 7.8 in the CH340K datasheet.

    The datasheet wasn't too clear, but it seems there are pullups (probably MOSFET based) of about 75k resistance (but more like 45k for the board I'm using) to the CH340K supply voltage, i.e. approx 5V. Hopefully this shouldn't cause an issue because the current would be so low. Although I didn't try it, it's possible to add external diodes (see figure 7.7 in the datasheet). Another simpler solution is simply to run the CH340K from the same voltage as the microcontroller, but there were reasons just related to wanting to not power anything else from 3.3V other than the microcontroller for this dev board. Worst case, it's not difficult to disconnect the 5V to the CH340K by cutting one track, and then making a couple of connections (CH340K pins 7 and 10) to 3.3V instead.

    Anyway, now the plan is to automate the reset and boot pins, so that the PC can entirely control the firmware upload process, with no buttons needing to be pressed. Python allows the RTS and DTR lines to be controlled independently, using commands like ser.setRTS(False)

    Unfortunately, I don't know if such control of RTS and DTR will be possible from JavaScript, that's for further investigation.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • genebren
    genebren 6 days ago in reply to shabaz

    Great progress! I am very impressed with the quick re-programming time that you are getting.

    I have used a couple of different approaches to generating resets on the AT (tiny and mega) parts.  The one that I use most is to setup the watchdog timer for a short interval and allowing it to timeout.  This creates a full reset of the part (it is helpful that the AT parts can report how a reset is generated, so that it can process the force reset correctly).

    Keep up the good work!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube