Background: I need to convert a 200 kHz encoder pulse train to 47.5 kHz. I tried using the Arduino Nano but it topped out at 8 kHz. Is used an ISR triggered on the rising edge of the encoder pulse and did floating point addition to determine when I should output a pulse. I know FP math in an ISR is not a good idea in general but it was simple math and the Arduino couldn't output faster than 8 kHz even w/o any ISR processing. Someone suggest using the Raspberry so I am attempting it. I have the Raspberry Pi 2 900 MHz system.
Main Questions:
- Is it possible to booth the system and auto load an executable w/o having to login? I want it to run like an embedded system.
- I want to write the code in my MS Visual C environment. How do I compile it for running on the Raspberry. Do I copy the code on to the SD card and compile and run on the Raspberry?
These are my main questions. I am a newbie using this and don't know all the specific steps from start to finish. I do have the Raspberry up and running but somewhat stuck after that. My internet is slow and it take forever to surf and find stuff. Is there one or two locations that can show me how to write a program from scratch. The Arduino code is less than 30 lines.




