Quantcast
Channel: Data converters
Viewing all articles
Browse latest Browse all 27875

Forum Post: RE: Using LM98725

$
0
0
Hello Hooman, I haven't design schematic for the project yet right now I'm just configuring the registers through Arduino UNO (easy and fast) via SPI just to check the response of the LM98725 on oscilloscope. My final SPI configuration would be with FPGA (on which I'm still working). My connections between sensor and lm98725 would be like this: Sensor =>> LM98725 SP SH1 CP PHIA1 Vout1 OSr Vout2 OSb Vout3 OSg Dout (0-7) => FPGA I want to know about the voltages of SCLK and the SDI, my Arduino SCLK voltages are 4.7V and on SDI pins it sends data which high logic is upto 5V. Is there any voltages limit for the clock and SDI data like 3.3V or 5V is okay? As I'm using only one slave so I connect CE pin to the GND and send CE bits (00), its okay or should I left then unconnected and send bits (10) ? Maximum voltage limit for SH_R Pulse? How can I access different pages of registers, my Arduino sends 8 bits at once so I have choose to send 16 bits in two steps. First 8 then next 8. For Example if I want to access page 3 and configure register : void loop() { digitalWrite(SEN, LOW); SPI.transfer(0x1F); //Page 0 first 8 bits SPI.transfer(0x00); //Page 0 next 8 bits digitalWrite(SEN, HIGH); digitalWrite(SEN, LOW); SPI.transfer(0x02); //Register 2 first 8 bits SPI.transfer(0xC4); // Register 2 next 8 bits digitalWrite(SEN, HIGH); digitalWrite(SEN, LOW); SPI.transfer(0x1F); //Page 1 first 8 bits SPI.transfer(0x01); //Page 1 next 8 bits digitalWrite(SEN, HIGH); } I need to set the SH state length (0) to high for a short period (100ns) like in the picture I have attached. How can I configure registers 0-3 on page 7 for SH1 pixel on off. but there are 8

Viewing all articles
Browse latest Browse all 27875

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>