Embedded Computing
  • About
  • Blog
  • Hardware
    • Which Platform?
    • Controller Platforms >
      • Adafruit Platform
      • Arduino Plaform
      • BBC micro:bit
      • Espressif Platform
      • iLabs Platform
      • Raspberry Pi Platform (MCU)
      • Seeed Platform
      • Silicon Labs Platform
      • Teensy Plaform
    • Computer Platforms >
      • BeagleBone Platform
      • Raspberry Pi Platform (SBC)
      • UDOO Platform
    • Peripherals >
      • Shields
      • Grove System
      • Sensors
      • Actuators
    • Displays >
      • E-Paper Displays
      • Reflective Displays
      • TFT Displays
      • LCD Displays
    • Legacy Platforms >
      • chipKIT Plaform
      • 4D Systems Platform
      • Intel Platform
      • LaunchPad Plaform
      • BoosterPacks for LaunchPads
      • LightBlue Bean
      • Maple Plaform
      • Mediatek Platform
      • Microsoft Azure IoT DevKit
      • Particle Platform
  • Software
    • Exploring RTOS with Galaxia >
      • Event Library
      • Semaphore Library
      • Mailbox Library
      • Timer Library
      • Clock Library
      • SWI Library
      • Task Library
    • Ultra-Low Power with EnergyTrace >
      • Ultra-Low Power with MSP430
      • Ultra-Low Power with Energia MT and Galaxia
    • Using Integers Instead of Reals
    • Going Python?
  • IoT
    • IoT Platforms: Which Hardware? >
      • Matter with Silicon Labs MG24
    • IoT Services: Which Solution? >
      • Recommended IoT Solutions
      • Platform-Specific IoT Solutions
      • Other IoT Solutions
      • Not tested IoT Solutions
      • Notification Solutions
    • Get Date and Time from Internet with NTP
    • Fast and Easy WiFi Connection with QR-Code
  • Tools
    • How to Start?
    • Reference >
      • Asking for Help
      • Boards Pins Maps
      • Ruler
      • Boards and Plugs
      • I²C Logic Level Converter
      • Standards for Connectors
    • Training >
      • Texas Instruments Workshops
      • Embedded Systems: Shape The World — MOOC edX UTAustinX UT.6.02x
      • Embedded Systems - Shape The World: Microcontroller Input/Output — MOOC edX UTAustinX UT.6.10x
      • Embedded Systems - Shape The World: Multi-Threaded Interfacing — MOOC edX UTAustinX UT.6.20x
      • Real-Time Bluetooth Networks: Shape the World — MOOC edX UTAustinX UT.RTBN.12.01x
      • Systems Thinking with Texas Instruments Robotics System Learning Kit
    • Books >
      • Getting Started with the MSP430 LaunchPad
      • Getting Started with Arduino
      • Arduino Cookbook
    • IDE >
      • The Battle of IDEs
      • More Options
      • Assessing the Next Generation of IDEs
      • Tools for Documentation
    • Equipment >
      • Saleae Logic Analyser
      • Rigol DS1102E Oscilloscope
      • XDS110 Debug Probe with EnergyTrace​
      • Segger J-Link Programmer-Debugger
      • Nordic Power Profiler Kit II
  • Projects
    • Libraries >
      • Master I²C Software Library
      • Date and Time Library
      • highView Library Suite
      • Others Libraries
    • smartDevices >
      • I²C smartColours Smart Sensor
      • I²C smartRFID Smart Sensor
      • I²C smartLED Display
      • I²C smartControls Smart Device
      • I²C smartWiFi Smart Device
      • I²C smartBLE Smart Device
      • I²C smartNode Smart Device
    • IoT Projects >
      • Remote E-Paper Weather and Message Board
      • Typie-Walkie with LoRa and E-Paper Screen
      • Typie-Walkie with E-Paper Screen
      • Remote e-Paper Pictures Panel
      • Remote e-Paper Messages Panel
      • Industrial IoT Project
      • Remote Contactless Temperature Monitor
      • Using Node-RED for IIoT
      • Low Power Home Network Weather Monitoring
      • Updated Low Power Home Network Weather Monitoring
      • Weather and Security Station with Blynk
      • SensorTag to Blynk Using Node-RED
      • Pervasive Reporting
    • AI Projects >
      • Colour Recognition with Neural Network
    • Other Projects >
      • Air Quality Monitoring
      • Driving a Large E-Paper Display with a Compact Xiao RP2040
      • Low-Power E-Paper Weather Station
      • Portable Particulate​ Matter Monitor
      • FRAM-based E-Paper Screen Controller
      • General Purpose 3.5" Screen
      • Colour Recognition with Neural Network
      • A Low Power Weather Station
      • Digital Volt-Amp-Watt Meter
      • Mobile Measurement with LCD Display
      • Screen with SRAM for GUI
      • Volt-Amp-Watt-Meter for Grove
      • Multi-Touch Project with CapTIvate

FRAM-based E-Paper Screen Controller

I really like the e-paper screens, especially those from Pervasive Displays, ideal for low-power IoT applications like the Low Power Home Network Weather Monitoring.

However, they raise two challenges:
  • Almost all the pins of a standard LaunchPad are used,
  • A large memory is required as frame-buffer.​

The idea for the FRAM-based E-Paper Screen Controller project is to use a MSP430FR5994 as a controller. 

The hardware was sampled by Texas Instruments and Pervasive Displays.

Picture
Picture
Picture

Hardware

The MSP430FR5994 acts as a controller of the screen, and uses the large FRAM as frame-buffer. The FRAM retains the memory even when the controller is powered off.

The same MSP430FR5994 provides a fast connection as slave to the client, here a MSP432P401R. 

The Flash of the Pervasive Displays BoosterPack stores all the fonts.

Picture

Software

Both the slave and the client rely on variations of the same LCD_screen Library Suite.

The controller exposes high level commands for graphics and texts.

The library on the client weights less than 15 kB typically. The library on the controller weights less than 35 kB and keeps plenty of FRAM available for the frame-buffer of the screen.

​Both libraries were developed with the Energia framework on embedXcode.
​
Picture

For the proof of concept, connection goes through UART instead of the targeted SPI. The Energia SDK doesn't feature slave SPI yet.
​
Picture

Proof of Concept

The proof of concept focuses on testing the use of FRAM as frame-buffer.

On the power front, there are four different profiles:
  • Power-up, up to 29.1 mA,
  • Normal operation, below 3,6 mA,
  • Screen refresh, less than 21,2 mA,
  • Deep sleep LPM4, as low as 0,12 mA.

The SuperCap on the MSP4320FR5995 LaunchPad has been disconnected.
​
The initial spike to power-up the screen needs to be investigated.

Next steps include migrating from UART to SPI communication and addressing the power issue.
Picture
Picture

​Prototype

The prototype inaugurates the SPI connection, thanks to the availability of the SPI Slave library for Energia. 

As always, the Saleae logic analyser was instrumental in debugging, identifying and fixing communication issues.
Picture
The MSP430FR5994 acts as an SPI slave to the client, and SPI master to the screen and fonts in Flash.

Additional connections allow the client to check the controller's readiness, wake it up and reset it.
Picture
I faced unexpected issues when trying larger screens, the iTC 7.4" BWR and the iTC 12.2" BWR. The screens didn't refresh.

​After contacting the support teams:
  • Recommended SPI bus speed is 1 MHz, contrary to the 5 and 10 MHz mentioned at §1.5 SPI Timing Format on the application notes.
  • The 3.3 V regulator of some LaunchPad can't deliver enough power. An external power source is required.
  • The EPD Extension Board Gen2 (EXT2)-02 needs a minor correction on the loop control of the DC/DC booster circuit, by replacing R6 = 0.47 Ω by 0 Ω. 


With all three fixes implemented, the screens were refreshing successfully.

New Improved Fonts

The new fonts bring more flexibility in size, more compact files and ultimately a better readability. The 1 MB Flash manages to pack all the 48 fonts!

The Pervasive Displays iTC 12.2" BWR screen really excels with its 103 dpi resolution!

On the right: Monospaced, Sans Serif and Serif, from 12 to 64, standard and bold. 

​Links

  • Texas Instruments website
  • MSP430FR5994​ page
  • ​Pervasive Displays website    
  • E-Ink Displays​ page
Picture
Picture
Posted: 16 Jan 2019
Updated: 25 Jan 2019, 04 Mar 2019
Powered by Create your own unique website with customizable templates.