Search found 91 matches

by chuckbook
Sat Apr 06, 2019 7:40 am
Forum: Pyboard D-series
Topic: Problem connecting after power cycle
Replies: 9
Views: 435

Re: Problem connecting after power cycle

I repeated the test with longer timeouts. Same result. However, when I selected a much weaker AP (-74dB) I got failures to connect after power-cycling. I modified your code to do a soft reboot after timeout and the second attempt always succeeded. I have a rough guess what could cause this problem (...
by chuckbook
Fri Apr 05, 2019 5:20 pm
Forum: Pyboard D-series
Topic: Problem connecting after power cycle
Replies: 9
Views: 435

Re: Problem connecting after power cycle

Out of curiosity I tested your script with a SF6W but due to lack of a WBUS-DIP28 I had to use USB-HS. There wasn't a single failure with ~20 power cycles. It took ~7s to re-connect after a power cycle. I will try to get hold of a WBUS-DIP28 and repeat the test. PS: The AP I used was in the same roo...
by chuckbook
Fri Apr 05, 2019 4:59 pm
Forum: Pyboard D-series
Topic: Problem connecting after power cycle
Replies: 9
Views: 435

Re: Problem connecting after power cycle

I only wanted to rule out any power faults due to current limit kicking in.
by chuckbook
Fri Apr 05, 2019 12:08 pm
Forum: Pyboard D-series
Topic: Problem connecting after power cycle
Replies: 9
Views: 435

Re: Problem connecting after power cycle

@pythoncoder, do you have a battery installed?
Assuming you don't use a battery, why do you use USB_FS instead of USB_HS?
by chuckbook
Fri Apr 05, 2019 8:33 am
Forum: Pyboard D-series
Topic: WBUS-DIP28 Usb FS port issue (SOLVED)
Replies: 5
Views: 319

Re: WBUS-DIP28 Usb FS port issue (SOLVED)

You may test 500mA limit without updating mboot by putting:

Code: Select all

EN1 = pyb.Pin('E1', mode=pyb.Pin.IN, pull=pyb.Pin.PULL_UP)
in boot.py
by chuckbook
Thu Apr 04, 2019 10:04 am
Forum: Pyboard D-series
Topic: WBUS-DIP28 Usb FS port issue (SOLVED)
Replies: 5
Views: 319

Re: WBUS-DIP28 Usb FS port issue

I'm assuming you are working with a DIP28 board. Note that the default current limit for the USB-FS connector is 100 mA.
PE1 (EN1) should read 1, PE6 (EN2) should read 0 for 500mA current limit.
by chuckbook
Mon Apr 01, 2019 7:41 pm
Forum: Pyboard D-series
Topic: WBUS-DIP28 Design comment and warning
Replies: 4
Views: 323

Re: WBUS-DIP28 Design comment and warning

Another note about the DIP28. If you are one of the lucky guys (like me) that already got a WBUS-DIP28, please note that D1 isn't installed but bridged. For these boards I would recommend to power the board only via the USB connection on the WBUS-DIP28.
by chuckbook
Mon Apr 01, 2019 7:16 pm
Forum: Pyboard D-series
Topic: WBUS-DIP28 Design comment and warning
Replies: 4
Views: 323

Re: WBUS-DIP28 Design comment and warning

We use VIN as power input to the PYBD in basically all of our designs. It will tolerate up to 5.5V, There is one caveat: If the board has a wireless module installed, the voltage shouldn't exceed 4.8 V. It is strongly recommended to use a reverse current protection diode anyhow. Even a Schottky diod...
by chuckbook
Mon Apr 01, 2019 6:44 pm
Forum: Pyboard D-series
Topic: WBUS-DIP28 backup battery possible error?
Replies: 3
Views: 265

Re: WBUS-DIP28 backup battery possible error?

The diode used was selected to provide minimal reverse current. Unfortunately this means pretty high forward voltage. Therefor a pretty low current limiting resistor has to be used. Note that the battery isn't installed as it cannot re-flowed but has to be hand soldered. It is also pretty hard to ge...
by chuckbook
Fri Mar 29, 2019 9:22 pm
Forum: Pyboard D-series
Topic: Pyboard D: Can't switch to 216 MHz
Replies: 14
Views: 765

Re: Pyboard D: Can't switch to 216 MHz

Changing CPU clock while a USB connection is active will have an impact on the data links operating via the USB interface (like the REPL). I had to toggle between 120 and 216 MHz for quite some time to force missing characters. I'm using minicom on a linux machine. Minicom is known to tolerate USB o...