Maker Pro
Maker Pro

Spectrum analyser Equalizer project how to go about it?

danadak

Feb 19, 2021
723
Joined
Feb 19, 2021
Messages
723
PSOC 5LP, here is whats on chip, multiple copies in many cases :

1693410070220.png


Originator was Cypress then bought out by Infineon.

IDE - https://www.infineon.com/cms/en/design-support/tools/sdk/psoc-software/psoc-creator/

Board - https://www.infineon.com/cms/en/product/evaluation-boards/cy8ckit-059/

Tons of example projects in IDE to view/mod/use.

Community : https://community.infineon.com/t5/PSoC-5-3-1/bd-p/psoc135

Training : https://community.infineon.com/t5/T...e/1?filter=PSoC™+Arm®+Cortex®+Microcontroller

And Youtube....


Regards, Dana.
 

Maglatron

Jul 12, 2023
1,286
Joined
Jul 12, 2023
Messages
1,286
what is IOW
also I want the bands to not lap over much instead of "softer" I want the responce to be quite crisp I still want 15 columns is there a way of doing it with out the op op-amps or are the intrinsic to the design I was thinking of doing something more digital that also runs from the red and white RCA jack, with the same effect with the arduino what are your thoughts?
I have a few arduino about the place Iit would be cool to incorperate one or two of those
 

danadak

Feb 19, 2021
723
Joined
Feb 19, 2021
Messages
723
1) PSoC 3, 4 and 5lp code examples

2) For datasheet, architecture TRM, application notes, footprints and design files you can go to the device-specific page on the Infineon website: Infineon Microcontrollers, and find these under the details and design support section

3) On the product page itself you can find if the product is active and preferred and the duration for which it will remain active.

4) 100 projects 100 days for PSOC 4 BLE can be found here: link

4) 100 projects 100 days for PSOC 4 kit: link

5) PSoC 101 youtube series: link

6) PSoC 6 101 series: link


Regards, Dana.
 

Maglatron

Jul 12, 2023
1,286
Joined
Jul 12, 2023
Messages
1,286
So is IDE the program that puts program's on to chip? Okay that chip, the PSoC, do you rate it over the arduino?
 

Maglatron

Jul 12, 2023
1,286
Joined
Jul 12, 2023
Messages
1,286
the thing is I have arduino and have kindof an understanding of it
 

Maglatron

Jul 12, 2023
1,286
Joined
Jul 12, 2023
Messages
1,286
To be honest after watching the PSoC 101 the device does look very good
 

danadak

Feb 19, 2021
723
Joined
Feb 19, 2021
Messages
723
Focus on the 5LP board first. The target chip on that board is CY8C5888LTI-LP097,
but once you get your project up and running there is a device selector in tool to
optimize what you need.

The project for dig filter in IDE is DelSig based. A SAR version project can be found here :


Note that part on board has 2 SARs and one DelSig for use. Your principal resource when you start the deep dive is
this forum :


Just to confirm you write in C, correct ?


Regards, Dana.
 

Maglatron

Jul 12, 2023
1,286
Joined
Jul 12, 2023
Messages
1,286
im going to get the one thats pictured in that photo you posted


is that good? as in the right one for now?
 

Maglatron

Jul 12, 2023
1,286
Joined
Jul 12, 2023
Messages
1,286

Maglatron

Jul 12, 2023
1,286
Joined
Jul 12, 2023
Messages
1,286
okay I zoomed in on the chip and it does indeed use the chip of the one you mentioned
 

danadak

Feb 19, 2021
723
Joined
Feb 19, 2021
Messages
723
Impressively steep walls. Corresponding phase plot?

ak
1693433625414.png

Note thats not as narrow as it can be, I just happened to set it for 10%.

Also keep in mind solution I picked is biquad, which is not linear phase. If one wants
linear phase (which is not needed for this design) then approach would be more like
FIR.

Regards, Dana.
 

danadak

Feb 19, 2021
723
Joined
Feb 19, 2021
Messages
723
Not knowing your experience level one thing I advise for folks getting started
in the game is for I/O pins putting a series R with connections to the pin, 2 - 5K.
In case they have other higher V's in design and accidentally short one of those
pins to the higher V, destroying the part. The R limits current usually saving part.
For 10 - 20V kinds of environment. Usually most apps the R does not affect
appreciably whats going on.

Also that module actually has 2 5LP processors on it, one that is for program/debug,
the other the target. Once project done you snap off the program/debug portion. You
can use that to program / debug other designs or as standalone. But standalone severe
GPIO limitation, eg. chip pins not wired out on that board piece. Still can be used so dont
throw it away. Generally I leave them on for most projects, in case much later a change needs
to be done. I do a lot of one off designs so its handy to leave on.

Lastly when you use PSOC Creator and want to look at example projects click "Find Code
Example", and then when you see a project you want to try click the little globe icon to left
of name, that will download it, then you can double click and open the project file.

1693434784544.png

Lastly lastly go thru the PSOC 101 video series to get a feel for the IDE.

When dragging and dropping components out of the chip catalog a right click takes you to
datasheet, in there is a section describing all the API f() calls you can use to manipulate in
real time the component.


Regards, Dana.
 
Last edited:

danadak

Feb 19, 2021
723
Joined
Feb 19, 2021
Messages
723
One of the things you can do is use the internal Wavedac, gen a sine, and using the DDS sweep it
to monitor digital filter output to make sure you have your code right when you code the routine
to look at the filter output and capture its max smaple value to test for amplitude.

Note the DDS is not in the standard catalog, I will help you make it a part of the IDE accessable
components. It was designed by community so is external project that you link to your dev project.
Its how community designs and adds more components to the IDE.

This is all also all onchip.

1693447078564.png



Regards, Dana.
 

Maglatron

Jul 12, 2023
1,286
Joined
Jul 12, 2023
Messages
1,286
okay so say I have the PSoC chip and software, where do I start in making my 15 columns and 30 rows react to music input from red and white RCA connection? do I place a filter at increments from 16kHz evenly down to 32Hz? whats that about bandwidth?
 
Last edited:
Top