hi all .
I am having dilemma over generating a PFM ( Pulse Frequency Modulation ) in which i will need to modified the "off" time of the pulse on the fly. The "On" time of the pulse will be change but less frequently . By changing the "off" time , effectively we are changing the frequency hence achieving PFM.
The problem comes when looking for the right Hal driver , the closest that I could find is hal_PWM , but it only allow me to manipulate the pulse duty cycle on the fly but not the frequency. There is a GPT_driver, they do seem able to run and change frequency on the fly , but i need more dedicated control over the off / on time.
Is there a better way to do it ?
Kindly advice .
Best Regards
lau
Generating Pulse Frequency Modulation
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Who is online
Users browsing this forum: No registered users and 23 guests