- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Everybody,
I made a project where i place a Wave dac with external clock selected. But now it is not giving me any wave output with external clock selected and attached. It is working with internal clock selected in the same project. Also If i run with the same setting outside the project (another project), it works perfect.
I also attached pic.
Looking forward for your reply.
Best Regards
Awais
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You get that 7u warning because you access a non-existing array element. Compiler has obviously "seen" that during optimization. Arrays in C-language are starting with index 0.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you get a clock warning when building the project? Can you please post your 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are updates for some components (including wavedac). I would suggest you to update to latest Creator version and update the components.
7u warnings: IIR_buffer has not an element IIR_buffer[8], this will be an error.
See corrected / commented project
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thankyou so much Bob.
Can you tell me why it is showing me that filter warning because its an 8 th order digital filter?
Also, I am using creator 3.3. How i can update components?
Looking forward for your reply.
Regards
Awais
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you install the 32.768 crystal on the board? That is one reason another is that I think the clock is too slow. You are taking the 32.768 Khz clock and dividing it down making it even slower. I believe that it needs at least 1 Mhz clock to function according to the Data sheet on the Dac component.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No I haven't install the 32.768 crystal on the board. I am just using a given clock.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you tell me why it is showing me that filter warning because its an 8 th order digital filter?
the 7u warning or which warning are you referring to? See lines where warnings are.
Also, I am using creator 3.3. How i can update components?
Creator "Project -> Update Components" Make sure you are at latest Creator (SP1)
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I mean the the 7u warning .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You get that 7u warning because you access a non-existing array element. Compiler has obviously "seen" that during optimization. Arrays in C-language are starting with index 0.
Bob