Package Contents and Description The figure above shows all parts contained in the MR-E-2 Dev Kit package. The driver consists of a base unit with control electronics and connectors in a protective enclosure. A cable connects the base unit to the mirror head containing the analog driving electronics.
It is also possible to express the mirror position by using spherical coordinates instead of the XY coordinates introduced above. Spherical coordinates are not available in the MR-E-2 firmware and software. In this coordinate system, two angles define the mirror position: A polar angle between the mirror normal vector in the deflected position and the mirror normal in the XY position [0,0] (i.e.
MR-E-2 Connection Make sure that the MR-E-2 is connected via USB to the computer and powered. Open Optotune Cockpit and click on Connect Device. A window will appear, allowing you to select the device. You can also change the displayed name of the device for this session.
Page 17
MR-E-2 can be set to four different operational modes: • Static value: Optotune Cockpit sends a single position or current value to the driver. • Signal generator: The internal signal generator within the driver sends a time-dependent stream of position or current values until it is interrupted.
Snapshot 1 contains the factory settings and cannot be overridden. Examples In this section we show two examples on how to control the mirror with Optotune Cockpit. The first example includes setting both axes to closed loop control and moving the mirror to a specific point. The second example demonstrates how to operate in mixed mode waveform operation.
Important: Each serial command must be delayed by 1 ms. Step-by-Step procedure Make sure that the driver is connected to the computer and powered. Do not connect Optotune Cockpit to the driver. First, find the port corresponding to the driver: 1.
8 Analog Mode The analog mode must be explicitly activated through Optotune Cockpit or SPI. When analog mode is active, the analog input pins should be connected and not be left floating. Choose analog mode in the Signal input panel...
MR-E-2 MR-E-2 uses SPI Mode 1 (CPOL = 0, CPHA = 1). The Interface accepts data on the positive edge of the clock and samples the data at the negative edge. Additionally, MR-E-2 provides a SPI data not ready signal for accurate time synchronization with the master.
SPI_DATA_NRDY is driven low. Master should not send a new SPI frame while the SPI_DATA_NRDY is high. MR-E-2 driver updates its registers at a frequency of 10 kHz. Frames received at a higher frequency cannot be processed.
Read back data according to SPI read pointer register 0, by read back fail: 0x7cf0bdc2 Read back data according to SPI read pointer register 1, by read back fail: 0x7cf0bdc2 For full description of the MR-E-2 controlling and configuring capabilities using SPI, please refer to MR-E-2 programmer’s manual.