I have my own application based on MIOS32, i want to connect 3x 2x40LCDs
What I found out:
I can wire them paralell except one Wire “E”, which stands for “enable signal, start data read/write”
The E-Wire for the first 2 2x40 LCDs are located @ J15a & J15b
looks like this: (found that under ng: http://www.ucapps.de/midibox_ng_manual_lcd.html)
well i dont use ng…
and this shematic for 2x 2x40 LCD http://www.ucapps.de/mbhp/mbhp_lcd_2x2x20_mios32.pdf
app_lcd give me some tips…
#elif defined(MIOS32_FAMILY_LPC17xx)
# define APP_LCD_NUM_EXT_PINS 4 // at J28
what in my app.c means:
#include <app_lcd.h>
#define APP_LCD_NUM_EXT_PINS 3 //up to 4 extra LCD can be connected, here i use 3
now what about those 4x extra Pins @ J28 - take a look at the shematic:
<___base_url___>/gallery/image/2785-j15ampj28-pinout/?do=embed
2 better find the PIN1:
<___base_url___>/gallery/image/2784-j15amp28-location/?do=embed
The only Pins I see are:
SDA, SC MCLK WS
I dont want to damage my LCDs by “just try it out” - Question is: where to connect which “E”-Line?
(but maybe i am on the complete false train…)
I found in app_lcd.c:
// pulse the RC line after a serial data shift
....
#elif defined(MIOS32_FAMILY_LPC17xx)
APP_LCD_ExtPort_PinSet(2, 0); // J28.WS
APP_LCD_ExtPort_PinSet(2, 1); // J28.WS
//serial datashift....
for(i=0; i<8; ++i, data <<= 1) {
MIOS32_SYS_LPC_PINSET(2, 13, data & 0x80); // J28.SDA = ser
MIOS32_SYS_LPC_PINSET_0(2, 11); // J28.SC = 0 (Clk)
thankz


