AnsweredAssumed Answered

fast USB-connection with k22f

Question asked by Ad Hofer on Jul 15, 2020
Latest reply on Jul 15, 2020 by Myke Predko

Hi there! 

My goal is to read analog data and send it via a stable and fast (min. 10 kByte) connection from the k22f to my PC. I modified the example projects (especially the ones with a CDC or HID protocol since I figured that those protocol types are the best for my use), however, I still have problems with the USB-connection. Some data packets are always wrong or get lost in transmission.

 

Thus, I would like to start all over again.

 

So when starting new: How can I achieve a stable and flawless USB transmission? With which example code should I start and what do I need to change to make sure that no information is lost or incorrectly transmitted?

Every hint is appreciated!

 

I am a newbie to programming with MCUXpresso so if you have any tips or pitfalls to avoid I'd be very thankful to hear them as well!

 

Thank you in advance for your answer!

 

Best regards, Ad 

Outcomes