-
Notifications
You must be signed in to change notification settings - Fork 1k
Discovery L072CZ USB Serial #479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Fix stm32duino#479 Signed-off-by: Frederic.Pillon <[email protected]>
Hi @evandavey You can add this to your sketch as it is a weak function, this will enable the USB clock:
|
OK, thanks. I will give this a go tomorrow and close the thread if successful. |
@evandavey I've tested and it works. I've also push a PR to enable USB clock by default even if by default USB could not work as SB15/16 are not fitted (Don't ask me why, I don't know 🤣 ) |
OK great! I am actually on a custom board using the CMWX1ZZABZ-078 module and using this board variant as a starting point. Do you know if arduino-lmic works? |
Fix stm32duino#479 Signed-off-by: Frederic.Pillon <[email protected]>
So this works if I use a simple example like blink. However, I tried adding it to the LMIC TTN-OTAA example and it compiles and uploads but I then get the same device not recognized error. |
@evandavey |
Board is a custom board we have designed using the Murata CMWX1ZZABZ-78
module. Set to use internal clock. Library was arduino-lmic latest version
installed via library manager (away from pc so can't check exact).
|
Well, reproduce your issue with this lib. |
Fix #479 Signed-off-by: Frederic.Pillon <[email protected]>
OK, this is what I was using https://github.com/matthijskooijman/arduino-lmic.git. Will try some other libraries and see if anything works. In the meantime, I will probably switch over to MBED. |
No worries. This issue was closed automatically after merge of the #481, which fix original issue. |
Fix stm32duino#479 Signed-off-by: Frederic.Pillon <[email protected]>
Describe the bug
I get an Unknown USB Device (Device Descriptor Request Failed) when trying to use CDC Serial on a Discovery L072CZ-LWRAN1. I know the USB works as I've successfully used it with this core https://github.com/GrumpyOldPizza/ArduinoCore-stm32l0.
To Reproduce
Load blink example, selecting USB CDC support from the submenu.
The text was updated successfully, but these errors were encountered: