- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I am working on psoc cy8c5868axi device. I need a custum verilog module. In the module I want to do, I need to convert 6 parallel data inputs to Serial output. Parallel data entries will not be physically present. I want to do parallel data entry with software or functions.
Please check the picture in the attachment. I draw what I want to design there.
Serial data outputs will work synchronously with clock line. You can think of it like 6 SPI modules that use Single clock line.
I need to prepare a special verilog module for this. But I do not know how to do it. How do I make this work? Is there a document or example you can recommend?
Best Regards
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you installed Creator 4.0 you will find some documentation: Start -> Cypress -> PSoC Creator 4.0 -> Component Development Kit.
There is a "Warp Verilog Guide" and the "Component Author Guide". To ease the construction I would suggest you to use one of the generated verilog files, copy it and change it to your needs.
A simple estimation: Use the UART UDB based files and change it to handle different length.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bob
Thank you for the reply. Currently I am trying to learn verilog.
A simple estimation: Use the UART UDB based files and change it to handle different length.
How can I get to this example. By changing the SPI module this way, I can make the module I want.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@odissey1
I try to do simple applications as you say. I basically learned the verilog. I did simple applications with Verilog. There are a few things I do not understand.
I'm just trying to make a simple 8 bit paralel to serial spi module. In this application, How to get data without hardware data entry. I have to do this with a software function. I can do this with DMA in the future. But first, how is it done without DMA? I have to learn this.
Is there a simple spi or shift register for PSOC? Can you help with this?
Best Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mucit23,
Attached is basic example of instantiating a Control reg inside Verilog file. More advanced example with API can be found here:
To create an API for register access find its name in the "cyfitter.h" file as shown in the pictures attached.