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:
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. |
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. |
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. |
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:
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. |
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. |
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:
|
|
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
|
Posted: 16 Jan 2019
Updated: 25 Jan 2019, 04 Mar 2019
Updated: 25 Jan 2019, 04 Mar 2019