CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Does CCS support USB on dsPIC33EP512MU810?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
E_Blue



Joined: 13 Apr 2011
Posts: 417

View user's profile Send private message

Does CCS support USB on dsPIC33EP512MU810?
PostPosted: Wed Mar 27, 2019 11:29 am     Reply with quote

I'm trying to create a new project that uses SD card and a TFT LCD and I'm wondering if CCS have any support on it.
_________________
Electric Blue
Ttelmah



Joined: 11 Mar 2010
Posts: 19499

View user's profile Send private message

PostPosted: Wed Mar 27, 2019 2:44 pm     Reply with quote

CCS supports all the PIC's as _slave_ devices on USB. But there is no
standard code for 'OTG'. I must admit I tried playing with OTG using the
MicroChip code and after only a couple of experiments decided that the
reason CCS were not supporting it, was just how bad it is....
I used the smaller 806, without issues.
E_Blue



Joined: 13 Apr 2011
Posts: 417

View user's profile Send private message

PostPosted: Fri Mar 29, 2019 8:40 am     Reply with quote

Did you mean that the hardware is faulty?
_________________
Electric Blue
Ttelmah



Joined: 11 Mar 2010
Posts: 19499

View user's profile Send private message

PostPosted: Fri Mar 29, 2019 12:01 pm     Reply with quote

Implementing USB as a host, requires the USB stack on the controller.
Unfortunately, if you look at the size of the drivers in Windows, you get
an idea of just how many USB devices there are, and the number of
variants. I've yet to find one of the Microchip drivers that 100% works.
Issues with just transactions getting hung, or data loss. Then you switch
to a different slave device and a working driver stops again....

As a slave device it works reliably. I've had applications doing continuous
traffic for dozens of months. For a master I've yet to manage one
fully reliable device. Much simpler and more reliable, add a FTDI
Vinculum.
E_Blue



Joined: 13 Apr 2011
Posts: 417

View user's profile Send private message

PostPosted: Fri Mar 29, 2019 12:25 pm     Reply with quote

Even when I only use pendrives?
_________________
Electric Blue
Ttelmah



Joined: 11 Mar 2010
Posts: 19499

View user's profile Send private message

PostPosted: Fri Mar 29, 2019 12:45 pm     Reply with quote

Yes.

Every make has slight differences. I'd say if you use the MicroChip
USB host driver for drives only, you may well have perhaps an 80%
chance of getting it working, but I wouldn't put it much above that,
and don't be surprised if you change to a different drive and start
having issues...
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group