This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
问题已经解决
一、硬件问题:
1、 CLK 如果接外部时钟必须用32.7Khz的时钟,不建议用mcu引脚去模拟。也可以不接,Connect to ground因为它有内部时钟。
2、 Trig引脚,Trig引脚是为了同步,所以两片同时使用,让它同步,最好直接接到MCU;
二、软件问题:
Linux驱动程序,虽然没有直接针对2.6.34内核的,但是在linux 内核3.x以上的版本都包含有LP5523的驱动, LP55231 和LP5523是兼容的。(LP55231是TI公司发布的,LP5523是原来的Nation公司发布的)
具体的代码请参考以下链接:
1. Documentation
Documentation/leds/leds-lp5523.txt
2. Driver files
drivers/leds/leds-lp5523.c
https://android.googlesource.com/kernel/common/+/experimental/android-3.8/drivers/leds/leds-lp5523.c
include/linux/leds-lp5523.h
也可以参考以下e2e的问答:
http://e2e.ti.com/support/power_management/led_driver/f/192/p/283098/1197969.aspx#1197969
大神你好!
我用lp55231驱动3个RGB-LED产生呼吸灯的效果。
我用他提供的评估板和相应的编程软件和编译软件以及上位机控制软件可以对评估板上的RGB-LED进行控制,
但是我想用其他的软件编写他的程序如:keil4,labview等软件,我想知道他有没有提供二次开发环境(库)?
那个可编程的lp55231怎么给他编写程序?怎么下载程序?
还有就是lp55231他的一个输出引脚能否驱动3个led灯,如图接法?我在手册上看Iout极限可以达到100mA的!
求指导,谢谢啦~~