- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. PRS component is not compiling in PSoC4 default device.
Compilation error message:
.\Generated_Source\PSoC4\PRS_SingleStep.h:609:61: error: 'PRS_SingleStep_ClkSp_CtrlReg__CONTROL_REG' undeclared (first use in this function)
2. Is there any application project for playing audio file using PRS component on PSoC3/4/5?
If yes, please share the project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PRS stands for "Pseudo Random Sequence" and imho has nothing to do with playing audio.
When a component refeuses to compile I would suggest you to post the complete project so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is an old app notes. Playing WAV Files with a PSoC Device - AN13945.
Also when to use section in prs data sheet mention the sound application.
I feel more comfortable with digital comp rather than idac for no. of reasons. That's why I am trying to find alternative of idac.
2. Just try to compile default config of prs comp in psoc4, if not able to reproduce, than I will provide the project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is this a problem of the name assigned to the PRS, eg. should
PRS_SingleStep_ClkSp_CtrlReg__CONTROL_REG be changed to
PRS_1_SingleStep_ClkSp_CtrlReg__CONTROL_REG
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hai, If possible, please share your project, so we will try to reproduce the issue here. In the application note, it is mentioned that PRS is used to play the .wav file. In PSoC4 PRS, bitstream is used as output. Please can use RC filter at the output of bitstream to get the analog output.
Regards, Ramesh B