微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 硬件电路设计 > TI模拟硬件电路设计 > TPS92661 PWM功能软件上如何实现

TPS92661 PWM功能软件上如何实现

时间:10-02 整理:3721RD 点击:

我要实现LED矩阵控制器TPS92661的pwm功能,请教一下在软件上该怎么设置。

在初始化阶段应该设置那些寄存器(相关的有ENON,ENOFF,LEDON,LEDOFF寄存器)?

在需要实现pwm功能的地方,应该设置那些寄存器以及怎么设置?

Hi

      见datasheet 第十一页描述: http://www.ti.com.cn/cn/lit/ds/symlink/tps92661-q1.pdf

      The TPS92661 device provides 10-bit PWM dimming of each individual LED. The LED turn-on and turn-off times are separately programmed for each LED. The LEDxON registers and LEDxOFF registers (where x = 1 to 12) determine the LED turn-on and turn-off times, respectively, within the PWM dimming period. Phase shifting can be accomplished by staggering the LEDxON times or LEDxOFF times. The 10-bit internal PWM Period Counter (TCNT) is compared against the LEDxON and LEDxOFF values.

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top