Other Parts Discussed in Thread: TXB0104, CC2500, TEST2
Hi everybody
I got a pair of this CC2500 module (as in attached pic) to try out and made two separate RX/TX main modules. One of the mcu's is a 5V system with a level translator (TXB0104) to interface with the cc2500 module.
The transmitter module transmits a string of word values within a loop - simulating a data stream like this (see below):
My receiver MCU has an LCD attached to display received data but it shows only one iteration of slightly wrong values before stalling and after a few tries, now i dont receive any data at all.
I dont have the USB RF stick to debug so is there a method where I can query the hardware status internally to see if there is anything wrong with the hardware or any other advice/pointers you have about this ?
Thank you and regards
Soumitra
CODE:
const
ADC_value : array[5] of word = (0x0064, 0x00FA, 0x01F4, 0x02EE, 0x03E8);
begin
while (1) do
begin
for loop := 0 to 4 do
begin
txBuffer[0] := 0;
txBuffer[1] := Hi(ADC_value[loop]);
txBuffer[2] := Lo(ADC_value[loop]);
RfSendPacket(@txBuffer, 3); // send 3 bytes
Delay_ms(2000);
end;
end;
end;
