Hi
I'm new to ARM. I'm programming STM320518-EVAL board with STM32F051R8 microcontroller for RC5 infrared transmitter/receiver. ST posts example code on their website, so I grabbed the whole code project and trimmed out what I dont need. I made sure I don't overtrim, by making the code print 'Oops' and hang forever if I accidentally call into the function I trimmed out. However, my version doesn't really work. I press buttons on RC5 remote control to send RC5 data to my receiver code, but my code receives wrong information. If I press the same button on the remote control twice, my code shows it receives different information both time (and none is correct, of course). I made sure the time interval for interpreting RC5 bits are reasonable, but that doesn't fix the issue. Have you guys run into this issue before? What do you think could cause this issue?
Thanks
I'm new to ARM. I'm programming STM320518-EVAL board with STM32F051R8 microcontroller for RC5 infrared transmitter/receiver. ST posts example code on their website, so I grabbed the whole code project and trimmed out what I dont need. I made sure I don't overtrim, by making the code print 'Oops' and hang forever if I accidentally call into the function I trimmed out. However, my version doesn't really work. I press buttons on RC5 remote control to send RC5 data to my receiver code, but my code receives wrong information. If I press the same button on the remote control twice, my code shows it receives different information both time (and none is correct, of course). I made sure the time interval for interpreting RC5 bits are reasonable, but that doesn't fix the issue. Have you guys run into this issue before? What do you think could cause this issue?
Thanks