- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm looking into coding device which uses 16 pins to transfer 16bit data using PsoC 5LP . As I start with PsoC I'm looking for some tips where to find more information about how to go about it.
Till now what I have seen is I could use control register or group 8 pins but that would allow me to write 8bit value only.
But when I group 16 pins I dont have access to i.e. writing directly 16bits.
I have taken a look at several documents and some of the components and If I'm correct here I would need to write to appropriate port registers functions to write 16bit value ? and most likely use CY_SET_REG16 to write my desired value ?
Thanks in advance for any help here
Regards
Rafal
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Writing 16 bits does not need control registers for buffering, you can write to the ports directly. You will need an additional signal (you would need it too when you use only an 8bit transmission) to indicate to the reading part that data is valid.
When you tell us a bit more (or even 8 bits more 😉 what the overall system is to perform we could have some more advices.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sure - I'm trying to write code which would interfere with TFT LCD SSD1963 controller display using 16bit data bus.
I know we have a component for this 🙂 but I'm discovering the PsoC and would like to write code for initialisation of the device self
Raf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For use the display and 16-bit bus, I use GraphicLCDIntf component
I have an example for SSD1289 and CY8CKIT-059 PSoC 5LP: SSD1289x16_touch.zip
It here: http://mylab.wmsite.ru/moi-razrab/cypress-psoc/
Maybe it helps you a little bit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for those resources - they look really helpful. I will most likely do some testing next week and will post back results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can also refer these Forum links for some help-
http://www.cypress.com/forum/psoc-5-device-programming/trying-work-tft-5-vertical-format
http://www.cypress.com/forum/psoc-5-device-programming/graphical-lcd-7-10-psoc4-or-5lp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your input but I believe I will have to investigate exactly what I'm trying to achieve here. For now I'm back to drawing board studying documentation and AN
Thanks!
Rafal