- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a question about PWM component.
why isn't minimum voltage of PWM around 0? (yellow line)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
YuCh,
It seems that the PSoC ground is floating. Please connect o-scope ground to PSoC ground, and check that observed voltage is 0V. It is often recommended to isolate scope from the ground, so that PSoC and scope would be sitting on same ground, and no ground loop is created. The simple way to isolate scope is to remove (tear off) a GND terminal from the AC cord, or use a special pass-through connector w/o GND pin. I always isolate scope when working with PSoC kits.
/odissey1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1: Could you offer the test project?
2: Please test the impedance of this pin to power and ground.
3: Try to use another pin to test the function.
- 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
YuCh,
I looked into your project. I suspect that the pin has been fried, with top FET shorted. Disable PWM and check pin voltage on startup. If it +5V, it is fried.
1. Use onboard LED for testing.
2. Use another pin, and don't forget to add some 200-400 oHm resistror in series with LED.
/odissey1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just want to generate a PWM output to other device,like function generator
do I need to add a resistor in series on circuit or use another pin?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
How do you connect the LED on the board?
Because the pin drive mode is Strong, if don't have the series resistance, then the pin have a big chance to be damaged.
The reference design:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
if I just want to generate a PWM output,which mode should I select?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To drive external device the pin should be in strong drive mode. Remove the LED.
Pin 3.0 possibly already damaged. Change to another pin.
What is other device that you want to drive? What is it's input impedance?
/odissey1
- 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
YuCh,
It seems that the PSoC ground is floating. Please connect o-scope ground to PSoC ground, and check that observed voltage is 0V. It is often recommended to isolate scope from the ground, so that PSoC and scope would be sitting on same ground, and no ground loop is created. The simple way to isolate scope is to remove (tear off) a GND terminal from the AC cord, or use a special pass-through connector w/o GND pin. I always isolate scope when working with PSoC kits.
/odissey1