- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I apologize for the English, do not speak so play me use "google translator".
- Labels:
-
PSoC 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Questions:
Are you really using an RTOS (Real-Time Operating System) for PSoC 1?
Do you use a development Kit? Which one??
Can you post the complete project, so that we all can have a look at? To do so: use Designer -> File -> Archive Project and then attach the resulting archive. (do NOT use chrome, there is a problem with attached files)
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
Probably the settings for Port2 which is to select the tone to play is not correct. <When you use a switch connected to V+ the port should have drive pull down. Now the port is defined as strong which is an output port.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
bob thanks for helping, but if you change the configuration of port 2 does not work on a separate project the probe Generator Speeds and works well, the problem is I think the RTOS tine to do with the watch, I will continue trying.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the global resource window, chip editor, set your OpAmp Bias and A Buff Power
to High.
Is it correct to say you are updating DAC at 16 Khz rate via RTOS ?
Also listening to DAC output, not a direct connection to speaker I hope.
Sould be a Hi Z load.
Also I do not see where you set the period of the timer, and in its global properties window
you have its period set to 1 ? Is that what you want, the RTOS time slot ISR to run at 16 Khz ?
Lastly the 32 Khz clk varies from 15 to 64 Khz, unless derived from a crystal. Thats a huge variation
in sample rate to DAC if former.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I apologize for the English,
thanks danaaknight
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
first: why did you put the values right global resources on high? Does that change anything?
Yes, if you look at CT blocks they are all affected by bias, and the column output buffer
that drives pins. It affects GBW of the amps, and CM range and drive capability. Shown
in respective module datasheet and device datasheet, in the case of the buffer.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok take this into account and op amp buffer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would try two tests -
1) Flip a pin to test the jitter in the RTOS time slot ISR, that way you can see
if the sample rate of an event, like DAC update, will be constant.
2) Create a sine table, and use that to output to DAC. Then look at its waveform
to see if you can draw any conclusions about distortion source.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi
ok thanks, I'll give a try and tell them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi
to close the post, and found the problem, which only serves this template programs that take less than 125u seconds and check my program and takes longer for that does not work, if someone else will use,
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
Thank you for sharing your experience with us! Since I only play the flute I am not quite used to multi-tone instruments as a guitar.
Jonny B. Good Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you for helping me, but sometimes it can be annoying for the language that I do not understand well, and do not have much knowledge I like to participate in this forum and contribute what little they have.