Microcontroler: chip: F28M35H52C
I'm using a buck converter that has two inputs, high input and low input. it outputs 5v.
inputs take up to 3.3v
when the high input is connected to 3.3v the output starts to increase from 0 till it reaches 5v then it stopped at 5 volts.
when the low input is connected to 3.3v, output starts to decrease till it reached 0v.
the two inputs can't be connected at the same time.
can someone help me write a code that uses pwm to send different signals, using duty cycle and period.
I'm trying to be able to control the output, like if I want to get 3.5 voltas as an output how much voltage should I put. because I will add a rotary encoder once I understand how the pwm works.
I have checked this code "adc_soc" from the controlsuite but it doesn't support pwm
pins I'm using are:
any help would be appreciated
All of the ePWM examples in controlSUITE begin with the epwm prefix. I suggest looking at epwm_updown_aq.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.