This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2540 USB CDC driver problem

Other Parts Discussed in Thread: CC2540

Hi all,

We made a product based on SimpleBLEPeripheral using CC2540USB stack and developed a windows PC software to communicate to CC2540 through USB CDC.

We develop the CC2540 according to the following threads.

http://e2e.ti.com/support/low_power_rf/f/538/t/212926.aspx

http://e2e.ti.com/support/low_power_rf/f/538/p/219646/775872.aspx#775872

We use the C:\Texas Instruments\BLE-CC2540-1.3\Accessories\Drivers\usb_cdc_driver_cc2540.inf on win xp, win7. And use the driver for win8 from the thread http://e2e.ti.com/support/low_power_rf/f/538/p/243424/851791.aspx#851791.

We assumed that these two drivers should work, but on some machine we couldn't install the cdc driver in device monitor and CC2540 always showed up as unknown device on these machines.

We used the same CC2540 to do the following tests:

Windows OS                                        Driverr                                                                 Result

win XP                                                   usb_cdc_driver_cc2540.inf                            OK

win 7 32bit                                            usb_cdc_driver_cc2540.inf                           OK on some machines

win 7 64bit                                            usb_cdc_driver_cc2540.inf                           OK on some machines

win 8 32bit                                            ccxxxx_usb_cdc.inf ccxxxx_usb_cdc.cat     OK

win 8 64bit                                            ccxxxx_usb_cdc.inf ccxxxx_usb_cdc.cat     OK

We just found that the driver failed when halUartPollEvt get no USBIRQ_EVENT_SETUP from USBIRQ_GET_EVENT_MASK.

What would we do to disable and clean up USB when CC2540 is going to low power mode?