TOP Contributors

  1. MIKROE (2656 codes)
  2. Alcides Ramos (353 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136883 times)
  2. FAT32 Library (70004 times)
  3. Network Ethernet Library (56000 times)
  4. USB Device Library (46305 times)
  5. Network WiFi Library (41930 times)
  6. FT800 Library (41208 times)
  7. GSM click (29014 times)
  8. PID Library (26423 times)
  9. mikroSDK (26398 times)
  10. microSD click (25386 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

USB CDC MSC Demo

Rating:

0

Author: MIKROE

Last Updated: 2024-04-04

Package Version: 2.0.0.7

mikroSDK Library: 2.0.0.0

Category: USB

Downloaded: 47 times

Not followed.

License: MIT license  

The application demonstrates USB CDC functionality.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "USB CDC MSC Demo" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "USB CDC MSC Demo" changes.

Do you want to report abuse regarding "USB CDC MSC Demo".

  • Information
  • Comments (0)

mikroSDK Library Blog

USB CDC MSC DEMO

This example demonstrates the use of USB CDC MassStorage Class demo. It will allow a Device to be recognized as a MSC storage device when connected to PC via USB.

Hardware Support

Before starting, put switches PSW and ID on your board to ON position like this:

image

Connect USB-C to USB connector on the right side of the board.

Software Support

We provide demo code for testing USB CDC MSC functionality. For example to work, proper clock setup is needed. To create a setup with the adequate clock scheme, follow these steps:

  1. Click on Setups and select New.
  2. Select GCC ARM or RISC-V compiler and click Next.
  3. Select Board you are using.
  4. Select your MCU and click on Advanced.
  5. Select Config scheme from drop down menu, it will have MCU_NAME_USB name.
  6. If you dont see MCU_NAME_USB scheme for your MCU then USB module is not supported.
  7. Click Save, then Next.
  8. Select desired display, and choose programmer/debugger tool.
  9. Click Finish.
  10. Program the MCU.
  11. TinyUSB MSC storage device will apear on your screen as in image below.

example


ALSO FROM THIS AUTHOR

mikromedia for PIC18FJ - Examples

5

Set of examples for mikromedia for PIC18FJ. Provided examples demonstrate working with mikromedia's various features and modules:
- Accelerometer
- MMC SD card
- MP3
- Serial Flash
- TFT
- Touch Panel
- USB

[Learn More]

Magnetic Rotary 5 click

0

Magnetic Rotary 5 Click is a compact add-on board for accurate magnet-position sensing. This board features the AS5134, a contactless magnetic rotary encoder from ams AG for accurate angular measurement over a full turn of 360º. It is designed to provide accurate angle measurements with a simple two-pole magnet rotating over the center of the chip, featuring an integrated Hall element, analog front end, and digital signal processing. Offering a high resolution of 8.5 bits, which equates to 360 positions per revolution, it is also capable of high-speed performance, with a maximum RPM of 76875. It can accommodate a wide range of magnetic fields, from 20 to 80mT. It also has an onboard header for incremental and commutation signals of their respective A/B/I and U/V/W signals and pins for Daisy Chain Mode and OTP programming.

[Learn More]

HTU21D click

0

The application is composed of two sections.

[Learn More]