- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I refered to the I2S TX HAL code example in the HAL document. (https://community.infineon.com/t5/PSoC-4/I2S-sample-project-for-PSoC4S-with-Modus-Toolbox/td-p/36045...)
I catched the waveform by using Logic analyzer below. There are random glitch signal marded in green box.
Please help to fix the random glitch issue.
Thank you!
BRs
Edward
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use the Modus Toolbox version:3.0.0.
HAL version 2.0.0
I use the CY8CKIT-041S-MAX PSoC 4100S MAX PIONEER KIT to test.
Choose the pin as below:
const cyhal_i2s_pins_t i2s_tx_pins = {
.sck = P8_1,
.ws = P8_2,
.data = P8_3,
.mclk = NC
};
I don't find the issue you report. I attached my test project here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1: Please disconnect the i2S from other peripherals, then check whether it has the glitch.
2: I use the CY8CKIT-041S-MAX and the test project in attachment, but I don't catch the glitch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
1. I also use the PWM as a Codec's master clock. Unfortunately, Even if I disable the PWM, there was still a glitch issue.
2. I notice that the difference was that you use the PDL API. But as I mentioned before, I used I2S HAL on my end.
Please help to run the I2S HAL which I have attached below. You can press user button to trigger the I2S TX signal.
Thank you!
Best Regards
Edward
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use the Modus Toolbox version:3.0.0.
HAL version 2.0.0
I use the CY8CKIT-041S-MAX PSoC 4100S MAX PIONEER KIT to test.
Choose the pin as below:
const cyhal_i2s_pins_t i2s_tx_pins = {
.sck = P8_1,
.ws = P8_2,
.data = P8_3,
.mclk = NC
};
I don't find the issue you report. I attached my test project here.