I'm trying to control a 2.4GHz remote for LED panels. Inside there is a keyboard decoder chip and an RF chip, the markings don't return any immediate results. I've decoded the data with a logic analyzer but I'm having a hard time replicating the results with an Arduino, i.e. talking directly to the RF chip.
I'm not sure if the chip is a slave or a master, since it seems to generate its own clock (SCK).
- D0 seems to be a "command set" signal. Seems to be an input.
- D2 looks like an SCK at 1MHz, but sometimes it has long pulses. Seems to be driven by the RF
- D4 seems to contain the data that the RF needs as input, clocked on D2
- D5 seems to return a "1" when a byte has been sent on D4, when clocked on D2
- D7 slave/chip select?
When driving the D0 line with an Arduino, using around the same timing as the keyboard chip, I can see the LED on the remote flashing in rhythm and all the other lines wake up with a digital signal on them.
I've tried bit-banging D0 + D2 + D4 + D7, then just D0 + D4, but I have the feeling there's some need for interactivity.
The chips are really small and close together, I cannot really isolate them (such as adding resistors for determining direction.
Is this some kind of an SPI protocol? Does this look like something commercial or for which there's an Arduino (slave?) library? Are any of my assumptions wrong?