PWM / Glitch Filter

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

cross mob
lock attach
Attachments are accessible only for community members.
KaAs_973901
Level 2
Level 2

Hello, I have attached a project where I am interfacing with an SI 7023 https://www.silabs.com/documents/public/data-sheets/Si7023-A20.pdf humidity/temperature sensor and capturing the PWM signal.

I have encountered two issues that I am seeking assistance with. I am using the CY8CKIT-059 prototyping kit.

Without the glitch filter, I am seeing what appears to be a behavior such as capturing on an incorrect rising/falling edge. I do not experience this problem when using an on-board PWM. I have viewed the signal both through an oscilloscope, Saleae Logic 16 Pro (Analog and Digital) and do not see evidence of any glitches after manual review. I notice this happens consistently with any external PWM source.

Normally in the project, my input comes from a digital input, but have disabled that for the example and used a PWM instead.

Any assistance is greatly appreciated.

Thanks,

Karl

0 Likes
1 Solution

I believe that double-sync will delay input pulse by 2 BUS_CLOCK cycles. It

is not always necessary to enable it.

/odissey1

On Wed, Oct 3, 2018, 1:56 PM user_306160653 <community-manager@cypress.com>

View solution in original post

0 Likes
4 Replies