Your R65 has a combination electronic and mechanical Ignition Trigger Unit (ITU). A Hall sensor and a rotating vane inside the commonly referred to "bean can" controls the spark timing. A mechanical weight system controls ignition advance.
A spark at the plug caused by toggling the handlebar mounted on-off kill switch confirms that the Ignition Control Unit (ICU) is functional but does not test the Ignition Control Trigger and Hall sensor; the bean can. However, 'this toggle test' is not
always reliable.
The BMW workshop manual supplied to dealers provides this test:
Unplug the connector between the ITU and the ICU.
Stick a pin or thin wire in the center connector of the three-wire harness that leads up towards the ICU.
Remove a spark plug, reattach the ignition wire and securely ground the plug to the cylinder head.
With the ignition "on",
every time you ground the pin sticking out of the ICU's connector, you will get a spark.
This confirms the ICU is good. If no spark, the problem
could be the coil or ITU.
Since you have seen a spark, although a weak spark, I would suspect the ignition coil. Hall sensors rarely fail although some riders have pinched wires with the front engine cover and grounded out the ITU.

A 12V, dual lead test coil should have 1.5 ohms primary resistance. Or you could hook up a pair of Bosch 6V coils, wired in series, just like the original BMW design specifications.
Monte