P4 LED Matrix driver without UDBs

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
KevinR_91
Employee
Employee
25 replies posted 10 likes received 10 replies posted

Does Cypress have an example for a low end LED martix driver similar to the component that uses UDBs but without the need for UDBs.  Could this be possible using Smart IO?  Or even a firmware based example would be helpful.

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

I don't know exactly what you are asking for,

but here is a half day hack of mine using CY8CKIT-044 😉

Note: I used a font from

font8x8/font8x8_basic.h at master · dhepper/font8x8 · GitHub

IMG_3053.JPG

moto

View solution in original post

0 Likes
7 Replies
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi Kevin,

You can add multiple pins as single logic port and access them together. This can be one way to do it. Please refer the following document "Add Multiple GPIO Pins as a Logical Port" section.

link: http://www.cypress.com/file/127101/download

Best Regards,
VRS

0 Likes
KevinR_91
Employee
Employee
25 replies posted 10 likes received 10 replies posted

VRS,

So then, there is not an example on how to do this?  Adding multiple pins to the same logical port doesn't really answer the question here.  I am looking for a working example.

Thanks,

Kevin

0 Likes
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hello Kevin,

There is no component available just like in PSoC3/5 devices. But our community members have contributed and made components.

Link:Re: Driving multiple Seven Segment Displays - The PSoC Way!

Using GPIO as port and defining a function to write the pattern using firmware is one way to handle it(As you need solution without UDB). Solution using SmartIO is to be explored. Let me get back to you on that.

Best Regards,
VRS

0 Likes
KevinR_91
Employee
Employee
25 replies posted 10 likes received 10 replies posted

VRS,

Let me know what you find on the Smart IO.  From the link you shared it looks like all of the design require some amount of UDBs (LUT, control reg etc.) So again this is not very useful for our case we are interested in.

0 Likes
KevinR_91
Employee
Employee
25 replies posted 10 likes received 10 replies posted

Any update here?

0 Likes
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hello Kevin,

It might not be possible from the look of it.

1. SmartIO is a logic fabric which gives additional flexibility on the output from digital blocks outputs. But LED driver implementation needs to take care of the input values to be handled at the input side.

2. Control registers might be essential for the value to stored and processed by the hardware blocks.

3. Smart IO look up tables are hardwired to specific pins, which prevents from switching between common lines using LUT and for driving multiple GPIOs using the LUT output.

So SmartIO might not be the right resource to drive the segment LED matrix.

Best Regards,
VRS

0 Likes
lock attach
Attachments are accessible only for community members.
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

I don't know exactly what you are asking for,

but here is a half day hack of mine using CY8CKIT-044 😉

Note: I used a font from

font8x8/font8x8_basic.h at master · dhepper/font8x8 · GitHub

IMG_3053.JPG

moto

0 Likes