Edit: Thanks to gross polluter & friends for all the efforts through the years creating and supporting the DSM CAS adapter for redblocks. Unfortunately, the text and pictures from the first few posts in this tread are gone. The text can still be found through the wayback machine (
link). I've tried to recreate some of the pictures and main settings below.
Here's a picture, originally from sideways242, showing the desired CAS disc alignment at TDC. I've added it to my account here to prevent bit rot and sketched in the D-shaped shaft. If you draw a line through the round balance hole and the center of the shaft, it should go to the right of the big slot. If not, flip the disc over.

[picture credit to sideways242]
The pins from left to right when looking at the DSM CAS (not the harness connector) are:
4 - ground (black)
3 - +12v during run and start (red)
2 - crank signal (outer disc sensor, yellow)
1 - cam signal (inner disc sensor, white)
The DSM CAS crank and cam sensors are classified as "Hall Sensor - open collector" in the MS documentation. Both crank and cam need a pullup resistor (because they're open collector).
[Note: for added confusion, with MS2 and MS3base boxes, the crank sensor is connected to the MS VR or "universal" tach circuit and the cam sensor is connected to the MS Opto tach circuit. MS3X and MicroSquirt use two VR/Universal circuits. The sensor type may not match the circuit type.]
Find the exact instructions for your box here:
MS2V30_Hardware-3.4.pdf - see sections 5.2.3 (crank) and 5.2.14.2 (cam) or 5.2.14.4 (cam, alternate)
MS2V357_Hardware-3.4.pdf - see sections 5.2.3 (crank) and 5.2.14.2 (cam) or 5.2.14.4 (cam, alternate)
Microsquirt_Hardware-3.4.pdf - see section 5.2.3 (crank to VR1- and cam to VR2-, each with a 1K pullup to 5Vref added)
MS3baseV30_Hardware-1.5.pdf - see sections 5.2.3 (crank) and 5.2.14.2 (cam) or 5.2.14.4 (cam, alternate)
MS3baseV357_Hardware-1.5.pdf - see sections 5.2.3 (crank) and 5.2.14.2 (cam) or 5.2.14.4 (cam, alternate)
MS3XV30_Hardware-1.5.pdf - see sections 5.2.3 (crank) and 5.2.14.2 (cam)
MS3XV357_Hardware-1.5.pdf - see section s 5.2.3 (crank) and 5.2.14.2 (cam)
[Note: the disc shown in the MS Hardware Manuals in section ~6.9.12 "Mitsubishi CAS with aftermarket disc" is not the same as the Yoshifab disc, and uses a different MS configuration than shown here.]
Here's the starting TunerStudio setup for the DSM CAS (this one is for MS2V30 with the 5.2.14.2 cam setup). Other boxes will have a similar configuration.
If you run this setup with Fixed Advance on, and 10degrees Timing for Fixed Advance, a strobe light should show 10degrees timing during cranking/idle. If it's close, you can rotate the CAS to get to 10degrees. You can also change the Tooth #1 Angle in TunerStudio.
If the timing is way off (like 70deg BTDC), change the Second Trigger Active On edge, and try the timing light again.
If the timing is jumping a lot (+/- 30 deg) either at idle, or if you rev the engine while still in Fixed Advance mode, or between cranking and idle, you may need to change the Ignition Input Capture edge, and then re-adjust the tooth #1 angle.
Here's what a high speed logger - composite log should look like (with all noise filtering options turned off). Notice that the top cam edge (spike) is aligned inbetween the lower crank edges. If the cam signal is right on top of the crank signal, timing may jump. Changing the Ignition Input Capture edge should move this cam to crank alignment by half a tooth (~15degrees) and correct the alignment.
Edit - here's what the waveforms on the bench look like with a Hantek 1008 oscilloscope and a MicroSquirt when setup for a DSM CAS
Top to bottom, the traces are:
- Cam sensor
- Crank sensor
- SparkA
- SparkB
- InjA
- InjB
Setup is:
- 1200 rpm
- Wasted Spark
- 10deg tooth #1 angle and Fixed 30deg advance
- 330cc injectors, semi-sequential injection, 75kPa
Here's the details showing the MS edge configuration and how Tooth #1 Angle is defined:
The normal MegaSquirt/MicroSquirt circuits invert both the cam and crank signals. In the picture, the top cam signal drops as the big slot moves past the optical sensor. To reference off of the falling/trailing cam slot edge in TunerStudio, Second Trigger Active On is set to Rising Edge (due to the circuit inversion). The next Crank tooth edge defines the #1 Tooth position. To align on the falling Crank sensor signal, Ignition Capture is set to Rising edge (again due to the circuit inversion). Thus the first falling crank sensor edge after the falling cam sensor edge is Tooth #1. The Tooth #1 Angle setting in TunerStudio mechanically defines the tooth #1 position, 10deg BTDC in this example. OK so far?
This picture was taken with a 30deg fixed advance. The 3rd trace is the SparkA/IgnitionA signal. This example is setup to charge the coil(s) when high, which means the spark is generated when the signal drops low. With tooth #1 defined at 10deg BTDC, the falling SpkA edge for 30deg spark is 20deg before Tooth #1 or 20deg before falling crank edge. At 1200rpm, 20deg rotation is ~2.8ms, as marked by the vertical cursors.
Let me know if any of this doesn't make sense, or isn't working correctly, and we'll get it sorted out / better documented.
-Bob