Infineon / CyScope

2 Channel Oscilloscope and Waveform Geneator uisng a CY8CKIT-059 board and a TCL based PC GUI.
Other
23 stars 11 forks source link

Noise amplitude and offset sliders do not change the noise output #1

Open davidparent opened 2 years ago

davidparent commented 2 years ago

Prerequisites

Can you reproduce the problem reliably?: Yes

Did you check current release notes for known issues?: Yes

If this is not the latest release, have you checked newer releases? NA

Description:

When using the noise waveform, the frequency slider changes the output waveform as measured in the scope software. The amplitude and the offer sliders do not change.

Steps to Reproduce:

  1. Configure the Kitprog with the code (I am using 043 kit/code and Patrick Kane gave me the code before it was updated here.)

  2. Start the scope software. Click on the noise source with the scope and waveform generator connected to each other properly

  3. Select the other waveforms and see that all three sliders work., Selected the noise and see that only the frequency slider works.

Expected Result: Amplitude, frequency, and off-set should update the out properly.

Actual Result: Only frequency works

Frequency (1/1, 1/50, 1/100): EVery time

Build/Commit:

Please specify the release, like 1.4.1. If there is no release, give us the commit for the code you used.

Target:

CY8CKIT-043, firmware, and parts updated to the latest version

Host OS and Version:

Windows 10, PSoC creator 4.4 I am using this kit to do a mini-research project on stochastic resonance using Schmitt triggers, which need a programmable noise source. I realize I can create my own using the custom feature. BTW the students really like it so far. (SJSU, Gavilan, SJCC bay area CCs) Thanks!

patk0317 commented 2 years ago

Dave,

I will look into this. Actually the guy who put this together will be in SJ next week teaching a workshop. I will also verify with my own kit (but they are at the office and I am at home today). As a first guess I think it might have to do with something in the TCL code. Also the gui is open source and we just adapted it for the PSoC.

Best Regards, Patrick R. Kane EdD Director, University Alliance Program

C +1 408.550.4508 Cypress Semiconductor Corporation An Infineon Technologies Company 198 Champion Court, San Jose, CA USA 95134 www.infineon.comhttp://www.infineon.com/ www.cypress.com/cuahttp://www.cypress.com/cua

From: davidparent @.> Sent: Wednesday, June 8, 2022 2:46 PM To: Infineon/CyScope @.> Cc: Subscribed @.***> Subject: [Infineon/CyScope] Noise amplitude and offset sliders do not change the noise output (Issue #1)

Caution: This e-mail originated outside Infineon Technologies. Do not click on links or open attachments unless you validate it is safehttps://intranet-content.infineon.com/explore/aboutinfineon/rules/informationsecurity/ug/SocialEngineering/Pages/SocialEngineeringElements_en.aspx.

Prerequisites

Can you reproduce the problem reliably?: Yes

Did you check current release notes for known issues?: Yes

If this is not the latest release, have you checked newer releases? NA

Description:

When using the noise waveform, the frequency slider changes the output waveform as measured in the scope software. The amplitude and the offer sliders do not change.

Steps to Reproduce:

  1. Configure the Kitprog with the code (I am using 043 kit/code and Patrick Kane gave me the code before it was updated here.)
  2. Start the scope software. Click on the noise source with the scope and waveform generator connected to each other properly
  3. Select the other waveforms and see that all three sliders work., Selected the noise and see that only the frequency slider works.

Expected Result: Amplitude, frequency, and off-set should update the out properly.

Actual Result: Only frequency works

Frequency (1/1, 1/50, 1/100): EVery time

Build/Commit:

Please specify the release, like 1.4.1. If there is no release, give us the commit for the code you used.

Target:

CY8CKIT-043, firmware, and parts updated to the latest version

Host OS and Version:

Windows 10, PSoC creator 4.4 I am using this kit to do a mini-research project on stochastic resonance using Schmitt triggers, which need a programmable noise source. I realize I can create my own using the custom feature. BTW the students really like it so far. (SJSU, Gavilan, SJCC bay area CCs) Thanks!

— Reply to this email directly, view it on GitHubhttps://github.com/Infineon/CyScope/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGG45PA4HTC7RHHUEDQRSVDVOEICVANCNFSM5YH7A54Q. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

davidparent commented 2 years ago

Hi Patrick, Thanks for getting back to me. I looked a the TCL software, and it looks like it should work, in that I can not find where the amplitude and offset are turned off somehow. You guys know best though. Thanks! -Dave

greglandry commented 2 years ago

It isn’t the TCL code – the offset and amplitude aren’t implemented in the PSoC for the random noise generator because it uses a different component to create the values than the standard one. I’ll take a look to see if I can figure out an easy way to add it in.

Thanks, Greg Landry

Cypress Semiconductor Corporation An Infineon Technologies Company Fellow Applications Engineer CY CSS Integration Office: +1 737-268-0345 @.**@.>

From: davidparent @.> Sent: Wednesday, June 8, 2022 6:03 PM To: Infineon/CyScope @.> Cc: Subscribed @.***> Subject: Re: [Infineon/CyScope] Noise amplitude and offset sliders do not change the noise output (Issue #1)

Caution: This e-mail originated outside Infineon Technologies. Do not click on links or open attachments unless you validate it is safehttps://intranet-content.infineon.com/explore/aboutinfineon/rules/informationsecurity/ug/SocialEngineering/Pages/SocialEngineeringElements_en.aspx.

Hi Patrick, Thanks for getting back to me. I looked a the TCL software, and it looks like it should work, in that I can not find where the amplitude and offset are turned off somehow. You guys know best though. Thanks! -Dave

— Reply to this email directly, view it on GitHubhttps://github.com/Infineon/CyScope/issues/1#issuecomment-1150460685, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABGCGWGKTEPYUWQZJR5D6U3VOEKCTANCNFSM5YH7A54Q. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

davidparent commented 2 years ago

Hi Greg, Yes, I was getting your messages. I did not respond because I am new to GitHub and did not really know the etiquette. Next week is fine. I did start looking on my own and found the PRBS generator used for the noise source. The other waveforms come from .dat files. Interestingly, the noise file has a DC offset Sinc function.

patk0317 commented 2 years ago

Dave,

Did you see the email I sent you with a new main.c ?

Best Regards, Patrick R. Kane EdD Director, University Alliance Program

C +1 408.550.4508 Cypress Semiconductor Corporation An Infineon Technologies Company 198 Champion Court, San Jose, CA USA 95134 www.infineon.comhttp://www.infineon.com/ www.cypress.com/cuahttp://www.cypress.com/cua

From: davidparent @.> Sent: Thursday, June 9, 2022 8:16 AM To: Infineon/CyScope @.> Cc: Kane Patrick (CYSC BEX) @.>; Comment @.> Subject: Re: [Infineon/CyScope] Noise amplitude and offset sliders do not change the noise output (Issue #1)

Caution: This e-mail originated outside Infineon Technologies. Do not click on links or open attachments unless you validate it is safehttps://intranet-content.infineon.com/explore/aboutinfineon/rules/informationsecurity/ug/SocialEngineering/Pages/SocialEngineeringElements_en.aspx.

Hi Greg, Yes, I was getting your messages. I did not respond because I am new to GitHub and did not really know the etiquette. Next week is fine. I did start looking on my own and found the PRBS generator used for the noise source. The other waveforms come from .dat files. Interestingly, the noise file has a DC offset Sinc function.

— Reply to this email directly, view it on GitHubhttps://github.com/Infineon/CyScope/issues/1#issuecomment-1151256383, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGG45PCHVYGW5K7XIL25P2DVOIDEHANCNFSM5YH7A54Q. You are receiving this because you commented.Message ID: @.**@.>>

greglandry commented 2 years ago

Hi David,

I managed to get it to work. I’d like to have you try it before I push it to GitHub. I’ll send you the updated file later today to see if it does what you need.

Sent from my iPhone

On Jun 9, 2022, at 11:16 AM, davidparent @.***> wrote:

 Caution: This e-mail originated outside Infineon Technologies. Do not click on links or open attachments unless you validate it is safehttps://intranet-content.infineon.com/explore/aboutinfineon/rules/informationsecurity/ug/SocialEngineering/Pages/SocialEngineeringElements_en.aspx.

Hi Greg, Yes, I was getting your messages. I did not respond because I am new to GitHub and did not really know the etiquette. Next week is fine. I did start looking on my own and found the PRBS generator used for the noise source. The other waveforms come from .dat files. Interestingly, the noise file has a DC offset Sinc function.

— Reply to this email directly, view it on GitHubhttps://github.com/Infineon/CyScope/issues/1#issuecomment-1151256383, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABGCGWDGE4RLOE24HKUCA4TVOIDEHANCNFSM5YH7A54Q. You are receiving this because you commented.Message ID: @.***>

patk0317 commented 2 years ago

Greg,

I sent Dave the file you sent me yesterday. I suspect he may be teaching a class or something because I have not heard back from him yet.

Best Regards, Patrick R. Kane EdD Director, University Alliance Program

C +1 408.550.4508 Cypress Semiconductor Corporation An Infineon Technologies Company 198 Champion Court, San Jose, CA USA 95134 www.infineon.comhttp://www.infineon.com/ www.cypress.com/cuahttp://www.cypress.com/cua

From: Greg Landry @.> Sent: Thursday, June 9, 2022 9:38 AM To: Infineon/CyScope @.> Cc: Kane Patrick (CYSC BEX) @.>; Comment @.> Subject: Re: [Infineon/CyScope] Noise amplitude and offset sliders do not change the noise output (Issue #1)

Caution: This e-mail originated outside Infineon Technologies. Do not click on links or open attachments unless you validate it is safehttps://intranet-content.infineon.com/explore/aboutinfineon/rules/informationsecurity/ug/SocialEngineering/Pages/SocialEngineeringElements_en.aspx.

Hi David,

I managed to get it to work. I’d like to have you try it before I push it to GitHub. I’ll send you the updated file later today to see if it does what you need.

Sent from my iPhone

On Jun 9, 2022, at 11:16 AM, davidparent @.<mailto:@.>> wrote:

 Caution: This e-mail originated outside Infineon Technologies. Do not click on links or open attachments unless you validate it is safehttps://intranet-content.infineon.com/explore/aboutinfineon/rules/informationsecurity/ug/SocialEngineering/Pages/SocialEngineeringElements_en.aspx.

Hi Greg, Yes, I was getting your messages. I did not respond because I am new to GitHub and did not really know the etiquette. Next week is fine. I did start looking on my own and found the PRBS generator used for the noise source. The other waveforms come from .dat files. Interestingly, the noise file has a DC offset Sinc function.

— Reply to this email directly, view it on GitHubhttps://github.com/Infineon/CyScope/issues/1#issuecomment-1151256383, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABGCGWDGE4RLOE24HKUCA4TVOIDEHANCNFSM5YH7A54Q. You are receiving this because you commented.Message ID: @.<mailto:@.>>

— Reply to this email directly, view it on GitHubhttps://github.com/Infineon/CyScope/issues/1#issuecomment-1151357086, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGG45PBKAO6IOE2RIM3S3RTVOIMVTANCNFSM5YH7A54Q. You are receiving this because you commented.Message ID: @.**@.>>

davidparent commented 2 years ago

Hi Greg, Main.c works well as a noise source. Thanks! -Dave

On Thu, Jun 9, 2022 at 9:44 AM patk0317 @.***> wrote:

Greg,

I sent Dave the file you sent me yesterday. I suspect he may be teaching a class or something because I have not heard back from him yet.

Best Regards, Patrick R. Kane EdD Director, University Alliance Program

C +1 408.550.4508 Cypress Semiconductor Corporation An Infineon Technologies Company 198 Champion Court, San Jose, CA USA 95134 www.infineon.comhttp://www.infineon.com/ www.cypress.com/cua< http://www.cypress.com/cua>

From: Greg Landry @.> Sent: Thursday, June 9, 2022 9:38 AM To: Infineon/CyScope @.> Cc: Kane Patrick (CYSC BEX) @.>; Comment @.> Subject: Re: [Infineon/CyScope] Noise amplitude and offset sliders do not change the noise output (Issue #1)

Caution: This e-mail originated outside Infineon Technologies. Do not click on links or open attachments unless you validate it is safe< https://intranet-content.infineon.com/explore/aboutinfineon/rules/informationsecurity/ug/SocialEngineering/Pages/SocialEngineeringElements_en.aspx>.

Hi David,

I managed to get it to work. I’d like to have you try it before I push it to GitHub. I’ll send you the updated file later today to see if it does what you need.

Sent from my iPhone

On Jun 9, 2022, at 11:16 AM, davidparent @.<mailto:@.>> wrote:

 Caution: This e-mail originated outside Infineon Technologies. Do not click on links or open attachments unless you validate it is safe< https://intranet-content.infineon.com/explore/aboutinfineon/rules/informationsecurity/ug/SocialEngineering/Pages/SocialEngineeringElements_en.aspx>.

Hi Greg, Yes, I was getting your messages. I did not respond because I am new to GitHub and did not really know the etiquette. Next week is fine. I did start looking on my own and found the PRBS generator used for the noise source. The other waveforms come from .dat files. Interestingly, the noise file has a DC offset Sinc function.

— Reply to this email directly, view it on GitHub< https://github.com/Infineon/CyScope/issues/1#issuecomment-1151256383>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/ABGCGWDGE4RLOE24HKUCA4TVOIDEHANCNFSM5YH7A54Q>.

You are receiving this because you commented.Message ID: @.<mailto:@.>>

— Reply to this email directly, view it on GitHub< https://github.com/Infineon/CyScope/issues/1#issuecomment-1151357086>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AGG45PBKAO6IOE2RIM3S3RTVOIMVTANCNFSM5YH7A54Q>.

You are receiving this because you commented.Message ID: @.**@.>>

— Reply to this email directly, view it on GitHub https://github.com/Infineon/CyScope/issues/1#issuecomment-1151363049, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAO7KZUOOOQGX2BWAOHQCB3VOINQHANCNFSM5YH7A54Q . You are receiving this because you authored the thread.Message ID: @.***>