cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

RaPi_2071911
New Contributor

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

0 Likes
Reply
6 Replies
JoMe_264151
Expert II

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

0 Likes
Reply
RaPi_2071911
New Contributor

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

0 Likes
Reply
EvPa_264126
Valued Contributor II

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.

0 Likes
Reply
RaPi_2071911
New Contributor

Thanks for those resources - they look really helpful. I will most likely do some testing next week and will post back results.

0 Likes
Reply
RaPi_2071911
New Contributor

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

0 Likes
Reply