Easiest Interface to Use With a Windows PC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-11-13 5:37 AM
Hi,
I am using the MCBSTM32E evaluation board to control some motors. I want to use my PC (Windows XP) to drive/record test data. Does anyone have an opinion on which interface is easiest to set up for communicating with a Windows PC? (e.g. USART, CAN, USB, etc.) Thanks for any info! #weakest-link #use-a-com-port- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-11-13 4:13 PM
may as well use the built in usb stack, using the cdc example floating around with libusb you could have data running back and forth in no time :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-11-13 7:15 PM
Russel: ''You could have data running back and forth in no time!''
and Gen. Custer: ''Indians are not known to gather @ the Little Big Horn!'' ''famous last words'' - somehow comes to mind...- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-11-14 3:52 AM
Yea, the MCBSTM32E evaluation board has a CAN interface on it and comes with some sample code to run it with supporting libraries.
Seems complicated though to set up on the PC end so will probably go with the USART connection. Thanks very much, Lisa- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-11-14 6:29 AM
''Yea, the MCBSTM32E evaluation board has a CAN interface on it''
I think the question/surprise was more that you had a PC with CAN interface & drivers?A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-11-14 6:38 AM
''question/surprise was more that you had a PC with CAN''
Wager 100 pounds sterling that she does not!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-11-14 9:28 AM
''Wager 100 pounds sterling that she does not!''
Hence the surprise!A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-11-15 3:38 AM
Sorry, my misunderstanding - yes, you win £100; I do NOT have a CAN interface on my PC. :)
Lisa- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-11-17 6:11 AM
'
''famous last words'' - somehow comes to mind...
'hehe, in my defence i was able to have my stm32f4 talking to libusb in a few minutes using the cdc example found here, once you get it working you just tailor it to do what you want :)stm codehttp://dl.dropbox.com/u/56124886/stm32f4-discovery/stm32f4-discovery-usb-cdc-example.zippc libusb codehttp://dl.dropbox.com/u/56124886/stm32f4-discovery/usbTest.zipin your case you will have to make a few other changes as your using a different stm32 chip.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-05-24 1:14 AM
Hi All,
Although a little late, I just wanted to follow up: I did use the serial port with a serial to USB adapter and the Hyperterminal feature in Windows. As Clive, Neil, and John all wisely advised, it was pretty painless and worked fine. Thanks everyone, Lisa- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-06-09 11:47 PM
Could you please share that code. Because old links are non relevant now. Tnx.
