I'm interfacing a microcontroller to an ADNS-9500, which is a chip-on-board laser sensor used for gaming laser mice. The interface is just plain SPI. Strangely, one of the inputs (MOSI) of the chip seems to be strongly pulled high. The other SCLK and chip select lines are fine. I'm trying to get this working over the long weekend, and I don't have any proper level shifter IC's on hand, so I thought I'd just make do using a voltage divider. I've been using two 10k resistors to change the MCU 5V outputs to their 3V max input requirement, so the max current was being limited to about 0.5mA. Thus the chip saw MOSI as always high.
It takes 13mA to short MOSI to ground, which seems like a lot of current for a regular logic input, especially since the other inputs don't require any current.
Out of curiosity, I connected a pot between MOSI and ground and measured the voltage vs current characteristic of the pin. Here's the result:
Why would this happen? I believe this is a MOSFET i-v curve, right?
To work around this, I could make a voltage divider using much smaller resistances, say 100 ohm, but it seems weird that the chip would do this. Or perhaps I have a short on this pin?