TI E2E Community
Stellaris® ARM® Microcontrollers
Stellaris® ARM® LM3S Microcontrollers Forum
I am using stellaris LM3S9B96 micrcontroller for my project. Using my own board and CCSV4.2.4.00033 .Power to my board is supplied through USB.
I am using the USB for my project. I am able to handle USB EP0 traffic during enumeration and USB EP1 during data transfer.
Problem is first my code runs perfectly and obtaining its functionality. When i remove USB B cable from the board and reconnect and running the code then FAULT ISR occurs.
Temperoryly i am overcoming this issue by running usb_dev_mouse example given in stellarisware before dumping my code. I am handling only USB EP0 AND USB EP1 interrupts. How to handle the power disconnect or handle disconnect
issues. My handler is as follows.
unsigned long ulStatus;
unsigned long ulStatusControl;
unsigned long * ptr;
//EP0 STARTING ADDRESS
ulStatus = USBIntStatus(USB0_BASE);
ptr=0x40050020;//Ep0 fifo starting address
Please help me on this.
Thanks & Regards,
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.