USB hardware with STM8 - library
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-11-10 10:22 AM
Posted on November 10, 2013 at 19:22 Hello, Is there any software library that allows to build USB hardware with STM8 microcontroller without any additional chip? I am looking it but I have not found anything so far. Such library would greatly improve value of STM8 microcontrollers (and volume of sale) as it would open possibility to construct the broad set of applications. For Atmel AVR 8bit there are at least two nice solutions that runs on any AVR microcontroller with at least 2 kB of Flash memory, 128 bytes - e.g. ATTiny2313. 1 - V-USB is a software-only implementation of a low-speed USB device for Atmel�s AVR microcontrollers 2 - LUFA (Lightweight USB Framework for AVRs, formerly known as MyUSB) If you have such library you can build a lot of useful applications e.g. Android Accessory Host Audio In Device Audio In Host Audio Out Device Audio Out Host Dual Virtual Serial Device Generic HID Device Generic HID Host Joystick Device Joystick Host Keyboard Device Keyboard/Mouse Device Keyboard Host Keyboard Host/Device Dual Mode Mass Storage Device Mass Storage/Keyboard Device Mass Storage Host MIDI Device MIDI Host Mouse Device Mouse Host Printer Host RNDIS (CDC) Ethernet Device RNDIS (CDC) Ethernet Host Still Image Host Virtual Serial Device Virtual Serial Host Virtual Serial/Mass Storage Device Virtual Serial/Mouse Device Why is no similar solution for STM8? Is STM8 family of microcontrollers somewhat worse than AVR family? Regards and thanks, Jane #stm8-usb #stm8 #usb #library
Labels:
- Labels:
-
USB
This discussion is locked. Please start a new topic to ask your question.
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-11-23 12:31 PM
Posted on November 23, 2013 at 21:31 Hi again, I am thinking over implementing USB device firmware for STM8. Do you see any missing functionality in STM8 family that does not allow to create USB device firmware for STM8? If AVR can have USB firmware, why STM8s cannot have? Regards, Jane
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-11-23 11:35 PM
Posted on November 24, 2013 at 08:35
Hello Jane.
I think that STM8 hardware is as good as AVR one. Therefore, a USB library for STM8 is feasible, but it may take a long time to develop and test if you are not well acquainted with STM8 assembler. If you need assistance on STM8 assembler and if there are no time limits on development, I'll help you. EtaPhiOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-02-28 10:56 PM
Posted on March 01, 2014 at 07:56
I wrote a program receiving and transmitting data to the microcontroller STM8
(Tested on STM8S103F3)But so far not implemented in full support of the protocol itself USB :(
Source code and
description in
Russian
(very
short).
http://ziblog.ru/2014/02/22/programmnyiy-usb-na-stm8-chast-2.htmlOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-03-02 9:19 AM
Posted on March 02, 2014 at 18:19
Hi,
Good job! Thank you. The code looks nice. I advice you to publish the code on one of the most popular code repository https://github.com/ or http://sourceforge.net/ If you document code well in English and publish code on repository it will allow you to build community of volunteers that will help you to improve project. And it such case nobody will ever forget that you created the first implementation of USB protocol on STM8 microcontrollers. Maybe you will be able to gather some support from ST company. Who knows? Some schematics like these on AVR V-USB webpage would be also helpful for some people. Thank you again. Keep up this valuable job. Best regards, Jane