| поискавой системы для электроныых деталей |
|
LM98640CVAL датащи(PDF) 34 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
LM98640CVAL датащи(HTML) 34 Page - Texas Instruments |
|
34 / 55 page ![]() 34 LM98640QML-SP SNAS461G – MAY 2010 – REVISED NOVEMBER 2018 www.ti.com Product Folder Links: LM98640QML-SP Submit Documentation Feedback Copyright © 2010–2018, Texas Instruments Incorporated 7.5 Programming 7.5.1 Serial Interface A serial interface is used to write and read the configuration registers. The interface is a four wire interface using SCLK, SEN, SDI, and SDO connections. The serial interface clock (SCLK) must be less than the main input clock (INCLK) for INCLK speeds of less than 20 MHz, for INCLK speeds greater than 20-MHz SCLK must remain below 20 MHz. The main input clock (INCLK) to the LM98640QML-SP must be active during all Serial Interface commands. The Serial Interface pins are high impedance while SEN is high, this allows multiple slave devices to be used with a single master device. After power-up, all configuration registers must be written, using the serial interface, to place the part in a valid state. Default registers must be written to the baseline values. Be sure to set the INCLK Range (2x05) and Sample & Hold (0x06) registers for the sample rate being used. Write the Clock Monitor (0x09) register after the Test & Scan Control (3x0D) register. 7.5.2 Writing to the Serial Registers To write to the serial registers using the four wire interface, the timing diagram shown in Figure 26 must be met. First, SEN is toggled low. At the rising edge of the first clock, the master should assume control of the SDI pin and begin issuing the write command. The write command is built of a "write" bit (0), device address bit (0), six bit register address, and eight bit register value to be written. SDI is clocked into the LM98640QML-SP at the rising edge of SCLK. The LM98640QML-SP assumes control of the SDO pin during the first eight clocks of the cycle. During this period, data is clocked out of the device at the rising edge of SCLK. The eight bit value clocked out is the contents of the previously addressed register, regardless if the previous command was a read or a write. When SEN toggles high, the register is written to, and the LM98640QML-SP now functions with this new data. 7.5.3 Reading the Serial Registers To read to the serial registers using the four wire interface, the timing diagram shown in Figure 27 must be met. Reading the registers takes two cycles. To start the first cycle, SEN is toggled low. At the rising edge of the first clock, the master should assume control of the SDI pin and begin issuing the read command. The read command is built of a "read" bit (1), device address bit (0), six bit register address, and eight "don't care" bits. SDI is clocked into the LM98640QML-SP at the rising edge of SCLK. SEN is toggled high for a delay of at least tSENW (see Figure 28). The second cycle begins when SEN is toggled low. The LM98640QML-SP assumes control of the SDO pin during the first eight clocks of the cycle. During this period, data is clocked out of the device at the rising edge of SCLK. The eight bit value clocked out is the contents of the previously addressed register. The next command can be sent on the SDI pin simultaneously during this second cycle. When SEN toggles high, the register is not written to, but its contents are staged to be outputted at the beginning of the next command. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |