Skip to content

wavenumber-eng/bldc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FRDM-MCXA153 TinyUSB Web USB demo

Setup

  • Clone this repo.

  • TinyUSB is a submodule to this repo. Open a terminal and run

git submodule init

git submodule update

  • MCUXpresso IDE project located in src/bldc_encoder_sim

  • This sample was built with MCUXpresso v11.9.0 and MCXA153 SDK V2.14

Demonstration

This sample is a simple application which implements a USB CDC (Serial port) and a WebSserial interface. WebSerial is a browser API that enables interaction with USB devices from a web page. This enables custom USB hardware GUIs without special driver or software installation.

The folder /docs has a simple html/javascript example which is hosted on github pages. You can browser to https://bldc.wavenumber.net or https://wavenumber-eng.github.io/bldc/

This example is a simple tool to simulate 3-phase hall effect signals for a BLDC motor circtuit. The WebUSB interface has a slider which sets the communtation / step rate of the simulated hall effect sensor.

The FRDM-MCXA153 will generate the signals on GPIO ports 1-10, 1-12 and 1-13.

bldc.mp4

Paper

https://www.wavenumber.net/papers/using-tinyusb-mcx-a-and-webusb-to-create-a-bldc-motor-controller-test-tool/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •