FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Tue Apr 09, 2013 11:36 pm |
|
|
To start with a general suggestion. If you are not yet familiar with the PROFIBUS protocol, or bugdet plenty of time to learn it, give it up.
Software PROFIBUS implementations are possible with restricted speed, 19.2k should always work, 96k might,
192k hard to achieve with a PIC18. For higher speeds, you should consider a PROFIBUS ASIC, e.g.
http://www.profichip.com/products/overviewasics/?L=8
1. There's very likely no CCS driver available.
You'll find some implementatons for various processors in the Internet that must be ported, e.g. a MSP430 PB slave (in German)
http://www.mikrocontroller.net/topic/106174
2. Study the official specification EN50170 Volume 2 or secondary literature describing the protocol.
Good luck! |
|