Jump to content

Shoba Thurairaja

Members
  • Content Count

    9
  • Joined

  • Last visited


Reputation Activity

  1. Like
    Shoba Thurairaja got a reaction from Remixed123 in Enable USB device on TIVA C TM4C123g   
    ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOB);
        ROM_GPIOPinTypeUSBAnalog(GPIO_PORTB_BASE, GPIO_PIN_0 | GPIO_PIN_1);
     
    missed it
     
    shoba
  2. Like
    Shoba Thurairaja got a reaction from Remixed123 in Enable USB device on TIVA C TM4C123g   
    Sorry for the late update,
     
     
    Just to let every one who is working with USB_BULK example, to know that there is no issue on the driver file that provided. It was a hardware issue on my side, USB0DM and USBID pins are connected. 
     
    1)
    Following command will work if you can't allowcate a pin to control feature (USB0EPEN to enbable the Vbus) then forcing the device with following   
        //
        // Set the USB stack mode to Device mode with VBUS monitoring.
        //
        USBStackModeSet(0, eUSBModeForceDevice, 0);
     
    2)
    if you have implemented a hardware for USB0EPEN, USBID(PB0), USB_VBUS(PB1)
     
        ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOG);
        ROM_GPIOPinConfigure(GPIO_PG4_USB0EPEN);
        ROM_GPIOPinTypeUSBDigital(GPIO_PORTG_BASE, GPIO_PIN_4);
     
    Both works
     
    Shoba
  3. Like
    Shoba Thurairaja got a reaction from bluehash in Enable USB device on TIVA C TM4C123g   
    Rhys
     
    I fixed it, it was due to the complier, by adding ccs="ccs" in the predefined symbols and also enable support for GCC extensions.
     
    but I tried to import the usb_dev_bulk example and its not working or not even detecting the bulk generic device.
     
    Thanks in advance,
    Shoba
×
×
  • Create New...