Kai Liu / Mbed 2 deprecated LPC1114_EBadge

Dependencies:   mbed _24LCXXX

You are viewing an older revision! See the latest version

E Badge Development Status

Development Status & Log

PinName for SPI

Only hardware supported PinNames can be used as hardware SPI. E-Badge uses software SPI as interface, leaves hardware SPI to external peripherals via mikroBUS.

UPDATE The orginal design comes from LPC1114FN28/FDH28 which has only one hardware SPI. Now we map EPD interface to second SPI of LPC1114FBD48/30x/32x, which is:

// EPD interface: CS | RST | DC | BUSY | MOSI | SCK
// SSD1606 epd(xp23,xp11,xp12,xp21,xp37,xp12);
SSD1606 epd(P0_6,P0_7,P2_0,P1_5,P2_3,P2_1);

4KB/8KB support

Since time is tight, only 4KB is supported in first release. In next release, we are going to propose a new platform of LPC1115FBD with 64KB ROM and 8KB RAM. Major changes will be in:

https://github.com/allankliu/mbed/tree/master/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11XX

to update 8KB support in LPC1115.sct and startup_11xx.s

Display Frame Buffer

EPD has 172*72 matrix with 2bpp support. Classis design of single framebuffer should be:

172*72*2/8 = 3096 Byte.

Since we have 4KB device so far. We have to make decision between:

  • Internal 1548B RAM framebuffer inside 4KB device without 2bpp support.
  • external 3096B FeRAM frambebuffer with 4KB device, with 2bpp support.

All wikipages