Hello,
I am using a PSoC BLE Pioneer Kit to interface the PSoC 4 BLE with a 4D Systems uLCD-32PT display which communicates to host microcontrollers using TX and RX pins. I've figured out that I have to use a UART component in PSoC Creator. But Creator has two UART component blocks - UART (SCB Mode) and UART. I'm confused about which one I should be using.
Basically, the steps that I have to follow are writing sequences of bytes (that correspond to certain commands such as "Set Font" or "Set Font Color") of data to the display.
The sequence that I have to send - 0x55, 0x46, 0x03, 0x59, 0x04, 0x02, 0x54, 0x43, 0x00, 0x00, 0xFF, 0xFF.
Which UART component would be appropriate here?
I've attached the datasheet of the LCD display and also the commands database.
Thanks and regards,
Ganesh
Differences between SCB and UDB implementation
SCB
Dedicated IO-pins
Deeper FIFO
UDB
Free routing of IO-Pins, but no use of port4 and greater
Smaller (4 byte) FIFO
I would suggest you to
Use the SCB module when restrictions are alright. The UDB block is quite more versatile and you can use that even for self-made components (after a lot of reading the appropriate manuals)
Bob
Hi Bob, in case of UDB UART, will I be able to send and receive data via a hyperterminal such as PuTTY?
Both UARTs can use the USB-UART bridge to display / read from PuTTY. Have a look into your kit's schematic to see which pins you have to connect.
Bob