cancel
Showing results for 
Search instead for 
Did you mean: 

Using STM32N6 on a USB Adapter

jasoncrosby2012
Associate II

I'm new to using AI. I want to create a USB adapter that will connect to devices with a USB port and manage and control them.

How would I go about accomplishing this?

Are there any pre-defined models I could use?

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @jasoncrosby2012,

 

I don't think that I understand your need. I would advise you to open a AI LLM like chatGPT and describe your needs to it to clarify what you want to do, what it would mean in terms of model requirements.  It would help you find models that seem to do what you are trying to achieve. 

 

Then I would suggest to first try to simulate what you are trying to achieve purely on python on pc and then if satisfied with the result, start looking at how to deploy it on STM32.

 

When looking for model, be mindful that you need small models, most likely quantized in 8bits.

In your process, please also try to use the ST Edge AI Core to try to generate your model to see if we are compatible with all the layers that your model zoo. It will help you not to lose time if your model doesn't pass the conversion to C code.

 

Have a good day,
Julian


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

7 REPLIES 7
mƎALLEm
ST Employee

Hello, @jasoncrosby2012 and welcome to the ST community,

Your request is not clear. What is the relation between AI and USB? 

Please read How to write your question to maximize your chances to find a solution

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
jasoncrosby2012
Associate II

I want to create a USB adapter that I can plug into any USB port and use AI to monitor and control various aspects of whatever the device is using AI. Monitor and sending updates or changes to the microcontroller in the device the adapter is plugged into.

You need to separate topics here: AI and USB.

Each one is a big topic.

You need to discuss USB topic in "STM32 MCUs Embedded software" forum board on this link. But you need also to provide more details .. "USB adapter that I can plug into any USB port" needs to be detailed.

You can continue your discussion on AI in this thread.

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Hi @jasoncrosby2012,

 

I don't think that I understand your need. I would advise you to open a AI LLM like chatGPT and describe your needs to it to clarify what you want to do, what it would mean in terms of model requirements.  It would help you find models that seem to do what you are trying to achieve. 

 

Then I would suggest to first try to simulate what you are trying to achieve purely on python on pc and then if satisfied with the result, start looking at how to deploy it on STM32.

 

When looking for model, be mindful that you need small models, most likely quantized in 8bits.

In your process, please also try to use the ST Edge AI Core to try to generate your model to see if we are compatible with all the layers that your model zoo. It will help you not to lose time if your model doesn't pass the conversion to C code.

 

Have a good day,
Julian


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Andrew Neil
Super User

As the others have said, your requirement is very nebulous - you need to spend time defining what, exactly, you want this "adaptor" to do.

 

USB is just a communication interface - so any "monitor and control" would require you to define some sort of communication protocol to transport requests/commands and responses between the "adaptor" and the N6.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
jasoncrosby2012
Associate II

Right now, since I dont have any experience with AI, I'm just asking about the AI part. I'm using Gemini for my idea. And since I havent used AI in this fashion yet, I wanted to come here and see what the process is. I know it requires taking multiple samples to build a model. But thats about all I know. AI can sometimes be wrong so I wanted to to come here. 

I want to make a USB adapter that I can use to monitor and control/change different things about whatever device its plugged into. I'm not sure how much more clear I can get?

jasoncrosby2012
Associate II

After more research I probably wont be using AI.