- 5
- 0
- 约5.32千字
- 约 6页
- 2017-10-18 发布于江苏
- 举报
TLV5618驱动(以前写的,今天用示波器测过了,感觉还行)
TLV5618驱动(以前写的,今天用示波器测过了,感觉还行)
//=====================================================================//TLV5618驱动及简单测试例子(三角波产生程序,波形顶部不大好)//IOB15--DIN//IOB14--SCLK//IOB13--CS//DATA15--DATA12分别为:R1.SPD.PWR.R0//R1R0:00 Write data to DAC B and BUFFER//? ???01 Write data to BUFFER//? ? ? ?? ? 10 Write data to DAC A and update DAC B with BUFFER content//? ???11 Reserved//SPD: Speed control bit??1??fast mode 0??slow mode//PWR: Power control bit??1??power down 0??normal operation//On power up, SPD and PWD are reset to 0 (slow mode and normal operation)//参考电压应小于VDD-3.3伏//输出模拟电压为:V=2*Vref*
原创力文档

文档评论(0)