วันอังคารที่ 17 สิงหาคม พ.ศ. 2553

Application Note ANBS1.00.09 [Issued date August 16, 2010]

New revision with 16MHz crystal

Since August 2010, ThaiEasyElec has released new revision PCB of BlueScreen board and there are some changes that affect the programming.

First, please notice on the board to identify new revision. Old generation of BlueScreen comes with 20MHz oscillator, but with the latest, 16MHz crystal comes instead.

Even that we are lowering the cost but you will got more since the new revision boards are manufactured with lead-free PCB and lead-free process. Plus with environment coating that protects the board from dust and humidity. Now they’re ready to be put into your products with higher reliability!


Now let’s see how to change the code downloaded from website to maintain correct operations. Only PLL multiplier is needed to be changed from 12 to 15.

For Keil’s uVision: in startup file (LPC2300.s)

With 20MHz:
PLLCFG_Val EQU 0x0000000B -> 20x12x2 = 480

With 16MHz:
PLLCFG_Val EQU 0x0000000E -> 16x15x2 = 480

For Yagarto: in main.c, function InitClock()

With 20MHz:
PLLCFG = (12-1) | ((1-1) << 16);

With 16MHz:
PLLCFG = (15-1) | ((1-1) << 16);

For CrossWorks: in startup file

With 20MHz:
#define PLLCFG_VAL 0x0000000B

With 16MHz:
#define PLLCFG_VAL 0x0000000E


After modification, we have tried our old project on new hardware and we experienced that ADC need lower clock to operate (until now we can’t find any reason). So if you’re using ADC and the MCU hangs waiting for ADC to complete the conversion, try reducing ADC speed.

วันอาทิตย์ที่ 21 มีนาคม พ.ศ. 2553

วันพฤหัสบดีที่ 24 ธันวาคม พ.ศ. 2552

วันอังคารที่ 15 ธันวาคม พ.ศ. 2552

BlueScreen new source code 2 in 1,Yagarto and Keil

BlueScreen source code, for Keil and Yagarto compiler.
To set compiler, choose your compiler in app_config.h

For Yagarto (used with Eclipse IDE):
#define COMPILER_YAGARTO
//#define COMPILER_KEIL


For Keil:
//#define COMPILER_YAGARTO
#define COMPILER_KEIL

Also add .s file corresponding to compiler. And for Yagarto, include files in includes_yagarto too.

Download Here

Best Regards,
Chutiman Yongprapat

วันอังคารที่ 3 พฤศจิกายน พ.ศ. 2552

Update Accessories Part

We have update Accessories Part for Bluescreen.

1. Serial UART to USB mini B Converter V3.0

Feature Summary
- Change the RS232 signal to USB (in physical,but the data is RS232).
- Can choose voltage signal 3.3V or 5V (Jumper JP1)
- Voltage converter circuit Regulator 5V from USB 3.3V , maximum current 1A (the current is limited by USB port, which depends on a PC or Notebook) . You can use with an external circuit board.
- Can use to interface with TTL device such as RFID Reader 125 Khz (ID12 , ID20 ) , RFID Reader/Writer 13.56 Mhz , GPS Module , GSM Module , Barcode Reader , Magnetic Reader , or TTL from tx/rx UART from MCU
- Ability to use 5V from USB port to an external circuit board.
- PIN Function TX / RX / CTS / RTS / DTR / 3.3V / 5V / GND
- Windows 98SE/ME/2000/XP/VISTA Available Dirver and more .
- Can use easily upload firmware with Bluescreen (ETEE009) and Bluescreen SUN (ETEE012A, ETEE012B)


2 . TTL to RS232 (DB9)


วันอาทิตย์ที่ 27 กันยายน พ.ศ. 2552

SDHC Support for Bluescreen - LPC2378 Dev.Board TFT Touchscreen

Since , The SD Card for non HC type is nearly obsoleted . Now , We create the example code for interface with SDHC which has maximum capacity at 8 GB. Check it out !!

Download Example Code
- SDHC Example / Thai Font Angsana (RAR)

วันพุธที่ 19 สิงหาคม พ.ศ. 2552

Application Note ANBS1.00.08 [Issued date August 18, 2009]

LCD driver migrating from ILI9325 to ILI9328

Since August 2009, the LCD installed on Blue Screen has been changed again. Now let’s don’t care what they are different in physical. There is only one line for source code to be changed. Since both ILI9325 and ILI9328 share the same functions. Only read driver code is different, it’s 0x9325 for ILI9325 and 0x9328 for ILI9328. What we have to do is to initialize the LCD in the same way for both of driver IC;

Search for code below in tslcd_elt240320tp_v1_xx.c (it is at line 269 in original code)

if (driver_code == 0x9325) //ILI9325

Then change to this:

And that’s all. No more code needed to be change.

วันพฤหัสบดีที่ 23 กรกฎาคม พ.ศ. 2552

Awesome!!! - Armaide v2.1: LPC2xxx Oberon-07 Development System

We got the email from our customer . Wonderful Project !!!!
Thanks Mr. Chris Burrows

If you interested in Armaide v2.1: LPC2xxx Oberon-07 Development System
Please contact to CFB Software
Armaide v2.1: LPC2xxx Oberon-07 Development System

http://www.cbsoftware.com/armaide

Below is the explain of the show from Chris.

"
Watch the Armaide vector graphics processing demo running on a BlueScreen:



The first two images are processed in real time, the second two havebuilt-in delays to show the drawing as it proceeds.

All the code is written in Oberon-07 and was developed using our LPC2xxxdevelopment system, Armaide:

http://www.cfbsoftware.com/armaide

The total executable size (including display drivers) is 17 KB.

The AutoCAD Slide image data file sizes are 5 KB for the Space Shuttle and28 KB for St Pauls. They are appended to the executable using the 'resourcemanagement' feature of Armaide v2.1.

The Oberon-07 compiler that is used in Armaide is an excellent alternativeto the C language for programming. Oberon-07 provides the same sort of highand low-level access and performance that C provides. However, the design ofthe language makes it more capable of detecting a greater proportion oferrors at compile-time and runtime before they have a chance to lead toobscure, difficult to trace, secondary faults. "

วันเสาร์ที่ 18 กรกฎาคม พ.ศ. 2552

Bluescreen and Rowley's CrossStudio 2.0!!!

Hi all,

Again that we tried to to make BlueScreen for all developers. Now we have ported them to CrossStudio 2.0 and should also be used with earlier version. We're posting 3 projects, mp3, test_lib (fill-in form) and keypad in couple of days. For new one who have never tried CrossStudio, evaluate version is available at http://www.rowley.co.uk/crossworks/Downloads.htm . And don't forget to download package for LPC2000. And then, just follow our application note.

The test result compare with Eclipse, the board compiled with CrossStudio is much faster (comparable with Keil).

It's now your turn to try it and you'll say 'What a powerfull compiler!!!'.




App Note Update
- ANBS1.00.07 Setting up with ARM CrossStudio (PDF)

Source Code Rowley Crossworks ARM compiler(ILI9320 & ILI9325)
- Bluescreen Keypad for Rowley Crossworks ARM (RAR)
- Bluescreen MP3 for Rowley Crossworks ARM (RAR)
- Bluescreen Test Library for Rowley Crossworks ARM (RAR)

วันอังคารที่ 16 มิถุนายน พ.ศ. 2552

Bitmap to Hex converter Version 6

Bitmap to Hex converter Version 6 , Download !!
- Program Bitmap to Hex converter - bmp2h_conv (RAR , ThaiEasyElec's Program Bitmap Picture file convert to Hex code for use in your C program)
- Program Bitmap to Hex converter (EXE File , ThaiEasyElec's Program Bitmap Picture file convert to Hex code for use in your C program)

วันอังคารที่ 9 มิถุนายน พ.ศ. 2552

Bluescreen compiled with GNU

Hi All,

Finally, BlueScreen can be used with GNU and Eclipse. Now we have ported 2 examples, keypad and MP3 player (with multi-font supported). They can run every function as same as compiled with Realview but a little slower, expectually in MP3 example when directory list is updated.

For anyone who have tried BlueScreen or have some questions about it, please feel free to leave us some comments. Thank you in advance.

ANBS1.00.06 Setting up with Eclipse and GNU





Download
- ANBS1.00.06 Setting up with Eclipse and GNU (PDF)

Source Code for Example in ANBS1.00.06 Eclipse
- Keypad Example Code (C Code LPC2378) (RAR)
- Example Eclipse Yagarto BlueScreen GNU Keypad (RAR)
- Bluescreen GNU (RAR)

วันอาทิตย์ที่ 31 พฤษภาคม พ.ศ. 2552

ARM7 LPC2378 with 2.8 inch QVGA TFT LCD Touch Screen



Blue Screen is a touch screen development board comes with NXP’s powerful ARM7 LPC2378, resistive-type-2.8-inch touch screen TFT LCD, micro-SD card socket and 8kB EEPROM.

With full of peripheral drivers and advance software modules e.g. screen object manager, command line interface, SPI interface, I2C interface. The board is suited for all levels of developer. Any technical problem about coding, please feel free to post it in our this blog.

New Version of Bluescreen Please see APPNOTE ANBS1_00_05_Change_of_SD_CS_pin


Information Support
- BlueScreen Manual (PDF)
- LCD Datasheet ELT240320ATP (PDF)
- Datasheet Driving IC ILI9325 (PDF)
- BlueScreen Schematic (PDF)
- App Note ANBS1.00.01 (PDF) Using of VSAudioCmd() function and Audio command (refers to VS1011.c)
- ANBS1.00.02 PortConnections (PDF) Quick reference guide for port connections
- ANBS1.00.03 migrating from ILI9320 to ILI9325 (PDF)
- ANBS1.00.04 Keypad demo tutorial (PDF)
- ANBS1.00.05 SD CS Pin (PDF) Please Read

Software Complier
- Keil RealView Complier V3.2
(IDE , C Complier for Program and Debug)Note: Please fill inform to register before download Evaluate Version . This Evaluate version is only limit code size. (32 Kbytes) . After register you can see this link
- YAGARTO - Yet another GNU ARM toolchain
- OpenOCD
- GNU Toolchain For ARM
- WinARM
- IAR Embedded Workbench for ARM
- Rowley Crossworks ARM compiler

Software Tool
- Flash Magic ( Program by send hex code load into Target board If you don't need for Debug)
- IMG to HEX Thank you Mr. Krisda Yingkayun
- RGB Mixer Software Thank you Mr. Krisda Yingkayun



Source Code Keil RealView (ILI9320 & ILI9325)
- BlueScreen Test Library with Fill In Form (RAR)
- MP3 Player Example Code with Multi-font and Bold font support (RAR)
- Bluscreen MP3 Player Demo New Look (RAR) Credit Mr. Mahesun Awae , ThaiEasyElec's Trainee 2009
- Bluescreen Thai Font (ตัวอักษรภาษาไทย) (RAR)
- Xbee Test with BlueScreen (ARM7 - LPC2378) (RAR)

Source Code Keil RealView (ILI9320)
- Keypad Example Code (C Code LPC2378) (RAR)

Clip Demo
- Clip Demo 1 MP3 Player with Touch Screen
- Clip Demo 2 MP3 Player with Touch Screen and the other file
- Clip Demo 3 MP3 Player with Display Picture (Sparkfun LOGO Display!!)
- Clip Demo 4 Keypad Touch Screen
- Clip Demo 5 Fill In Form (from Test Library)
- Clip Demo 6 Happy New Year 2009
- Clip Demo 7 MP3 player with Touch Screen New Look Credit Mr. Mahesun Awae , ThaiEasyElec's Trainee 2009
- Clip Demo 8 Thai Font Display (การแสดงผลภาษาไทย)
- Clip Demo 9 Bluescreen with multi sensor and Xbee
- Clip Demo 10 Bluescreen with Bold-font and multi-font

Hardware
- 2.8-inch 240x320 pixels (QVGA) TFT LCD
- Resistive Type Touch Screen
- LCD driver is ILI9325
- NXP’s ARM7 LPC2378- Micro-SD card socket (connected via SPI interface) support up to 2GB capacity (High capacity: ‘HC’ type not supported)
- On board 8kB EEPROM (the last 128 bytes are reserved for screen calibrated parameters)
- 1 port ThaiEasyElec’s module connector consisting of SPI and UART signals from MCU
- UART connector for command line interface and in
-system programming (TTL 3.3v with 5v tolerant)
- 16 ports GPIO
- Mini-B USB connector (the board is powered from USB connector)

Software Demonstrating application
- MP3 player with graphic user interface (ThaiEasyElec’s VS1011 Module required)Command line interface software module
- Show image from SD card
- SD card commands e.g. change directory, list, open read, open write
- Audio related commands e.g. play, pause, increase, decrease volumeScreen object software module
- Design your screen with object oriented method, the running background software will manage which object should be operated

Low level drivers
- LCD driver ILI9325
- Touch screen controller (AD7843) driver
- Serial port
- SPI interface
- I2C interface

Content
- Blue Screen Board
- CD Document with Example Source Code
- USB cable (type A to mini-B) for supplying the board

Option
- ThaiEasyElec’s VS1011 module (optional) for MP3 player application (free earphone)
- ThaiEasyElec’s USB to serial and cable (optional) for command line interface
- Stylus (optional)
- Micro-SD card (optional)
- ARM JTAG-Kit Debugger/Programmer