communication - Interface between a DSP/Microcontroller and a PC application -


I am using DSP to control a sensorless brush DC motor, the DSP is on a board with one What would be the best way to communicate between the PC application and DSP, because it is running because there is a parallel port and a massive connection (this is an eZdspTMS320F2812)? Ideally I want to program a GUI such as starting a button, stopping, speeding up, reducing speed ... but I have never done anything like that before which port and method would be the easiest to use? Thank you

You can also use simple RS232 communication. I always use because it is cheap and easy to implement.

RS 232 transceivers are very cheap (like Max 232 from Maxim-IC) and easy to use Apart from this, they come in many packages such as DIP or SOIC for example and can be found in almost all electronic outlets.

You can use any USAR from your microcontroller to link MAX232. Then, using PC serial-USB converter (or if your PC has a serial port, it's easy), you can use serial port programming from any programming language to develop your desktop application.

After that, you have just created a protocol to exchange data between your PC program and your DSP (for some simple commands to start, stop and change the motor direction, for example) .

Best wishes in your project.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -