Announcements

Robots are revolutionizing our lives in many ways. Join our webinar to learn about Infineon’s broad portfolio of robot building blocks.
Click here to register.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 4 Forum Discussions

HuEd_3452391
Level 3
Level 3
25 sign-ins First like received 10 sign-ins

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

 

 

 

0 Likes
1 Solution

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.

View solution in original post

0 Likes
3 Replies
LinglingG_46
Moderator
Moderator
Moderator
10 questions asked 5 questions asked 250 sign-ins

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.

 

0 Likes
HuEd_3452391
Level 3
Level 3
25 sign-ins First like received 10 sign-ins

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

 

0 Likes

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.

0 Likes
This widget could not be displayed.