Thanks for your help and time. It do not use CAN bus, also do not use Serial communication. It just “send” digital pulses logical 0 & 1 in sequence. Im try two InterruptPorts but do not work.
public RF433()
{
InterruptPort _high_pin = new InterruptPort((Cpu.Pin)FEZ_Pin.Digital.Di9, false, Port.ResistorMode.Disabled, Port.InterruptMode.InterruptEdgeHigh);
_high_pin.OnInterrupt += new NativeEventHandler(HighPinDetected);
InterruptPort _low_pin = new InterruptPort((Cpu.Pin)FEZ_Pin.Digital.Di8, false, Port.ResistorMode.Disabled, Port.InterruptMode.InterruptEdgeLow);
_low_pin.OnInterrupt += new NativeEventHandler(LowPinDetected);
}
private void LowPinDetected(uint port, uint state, DateTime time)
{
Debug.Print(time.ToString() + " Low Detected:" + port);
}
private void HighPinDetected(uint port, uint state, DateTime time)
{
Debug.Print(time.ToString() + " High Detected:" + port);
}
RF module work and output data because when I unplug it from FEZMini and plug it into PIC work normaly.
dobova: I can’t use any other RF receiver. Why? Because Receiver is not important because I must decode digital signal which can be received also by wire(same signal as I get from RF module), so RF module here do not make sense. Problem is how capture this “fast” signal…
In next days I will try capture it on STM32 board with native code(I hope I can make some example because this will be my first native example)…