Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


terjeio last won the day on December 17 2018

terjeio had the most liked content!

About terjeio

  • Rank
    Level 1

Profile Information

  • Gender
  • Location
  • Interests
    Electronic design, motion control, programming
  • Github

Recent Profile Visitors

1,264 profile views
  1. terjeio

    Online programmer for MSP430!

    You mean the CCS Cloud ? - access requires registration, and worked well with Firefox when I tried it a while back. But then I do not think TIs site is in beta so maybe not...
  2. terjeio

    Oled, improving large size font in MSP430

    @biza : You mean you do not have room for all the glyphs in a large font? The Reddman font generator is nice in that respect as you can select which glyphs to generate, eg. only the numerals. I have done that in one of my projects, I had to adjust their width though - to make them monospaced.
  3. terjeio

    Oled, improving large size font in MSP430

    I have added support for the H. Reddmann font format to some LCD and OLED drivers, font files are easy to create from TrueType fonts. IIRC enabling H. Reddmann font support for the monochrome OLEDs requires enough memory for allocation of a frame buffer, thus limiting the range of usable MSP430 variants.
  4. terjeio

    MSP432P401R SD card interface

    @venkatesh223 The TI SDKs are downloads, I do not know if the individual examples are available for browsing online. However, there is no SDK driver/example for the MSP432P401R that I am aware of. IMO the connection diagram you posted above should be correct. A couple of issues I had: microSD does not have the same pinout as a regular (large) card. I could not access a 64GB card as the FatFS driver I used did not support exFAT. So perhaps these questions are relevant for your problem: What size and type is the SD card(s)? Did you try more than one card, preferably of different makes and sizes? Is the SPI bus shared with other devices?
  5. terjeio

    MSP432P401R SD card interface

    @zeke : SD cards are rated for 3.3V (1.8V for some - with 3.3V init), 5V will kill them? Lately I have accessed cards via FatFS on MSP432E401Y and TM4C1294 LaunchPads with power supplied from the BoosterPack header without problems. Up to 500mA can be supplied via the LDO on the MSP432P401R LaunchPad, and I believe enough is left for a SD card (draw is typ. 20-100mA according to wikipedia). The code I used was from the TI SDKs.
  6. In a CCS project the file system_msp432p401r.c in the project folder contains a configuration (#define __SYSTEM_CLOCK) and corresponding code for setting 5 different frequencies: 1.5, 3, 12, 24 and 48MHz. I do not use Energia so I do not know how it is done there.
  7. terjeio

    PCB Laser Exposer/Printer

    A new design is now up on my Github account, cheaper laser cut acrylic case and 3D printed "laser head". Some info on Hackaday as well.
  8. From the datasheet: "fMCLK Frequency of the CPU and AHB clock in the system(5) 0 - 48 MHz" Overclocking may be possible, read up on how to configure the clock section to find out - but I guess it is not advisable to do so. Depending on your application you may be able to use LPM - current consumption down to 25nA possible per the datasheet. In active mode: 80 μA/MHz.
  9. terjeio

    RFC: CNC BoosterPack

    Driver code for a few boards is available from my github account. A PCB design with reduced size allows two boards to be mounted to the EK-TM4C1294XL LaunchPad providing up to 6 axes of control (needs to be verified). I have also added TCP streaming to the EK-TM4C1294XL LaunchPad but usure if I can publish the code due to the "viral" clause in many of TIs files - even the startup code 🙁. Grbl is released under GPL and I have a hard time understanding the legalese related to that... I am currently working on a DRO/MPG for my lathe with Grbl running on a MSP432, and the DRO/MPG code on a Tiva C/MSP430 combo. Threading support is a part of that work and hopefully I'll be able to get it working reliably - looks promising this far.
  10. terjeio

    SPI doesn't seem to be working properly

    Scope sampling rate too low?
  11. Did you debounce the switch signal with some kind of circuit first? If not I believe you need add a debouncer, possibly in code. MAX6816 is an easy to use chip but adds parts and cost to the design, doing it by code only needs some programming effort to make it work.
  12. terjeio

    IRremote Library Not Working

    Protocol mismatch? Wrong modulation frequency? Hardware problem? Use a mobile phone camera to see if there is any activity out of the IR diode, assuming you are using one for transmission.
  13. terjeio

    UCAxCTL0 Register

    The information can be found in the device datasheet and it depends on which pins you are connecting to, from figure 4.1: P3.3/UCA0TXD/UCA0SIMO P3.4/UCA0RXD/UCA0SOMI and P4.5/PM_UCA1RXD/PM_UCA1SOMI P4.4/PM_UCA1TXD/PM_UCA1SIMO It can also be inferred from table 3.1 - number of USCI channels. Channel A is listed with 2 instances, meaning x = 0 and x = 1 is available.