Search found 91 matches

by chuckbook
Tue Mar 26, 2019 8:56 am
Forum: Pyboard D-series
Topic: PYBD WBUS connector
Replies: 5
Views: 544

Re: PYBD WBUS connector

See:
https://pybd.io/hw/pybd_sfxw.html
To my knowledge there will be mating headers available on the MicroPython store.
by chuckbook
Mon Mar 25, 2019 5:18 pm
Forum: General Discussion and Questions
Topic: Comparison of the three Pyboard D models?
Replies: 6
Views: 373

Re: Comparison of the three Pyboard D models?

Only PYBD-SF3-xxxx has a high speed USB interface with integrated high speed PHY. Most if not every STM32F7xx MCU has a high speed USB interface but only F723/F733 have an integrated high speed PHY.
So if you really need high speed (480 MBaud) USB, PYBD-SF3 is the only choice.
by chuckbook
Fri Mar 22, 2019 4:08 pm
Forum: MicroPython pyboard
Topic: Speed of uart
Replies: 6
Views: 249

Re: Speed of uart

We regulary use STM32 UARTs up to 3Mbaud. I have to admit that we are also using proper 20 Mbaud differential line drivers
by chuckbook
Mon Jan 28, 2019 9:02 am
Forum: MicroPython pyboard
Topic: Necessary to connect ALL V+ & GND pins?
Replies: 2
Views: 169

Re: Necessary to connect ALL V+ & GND pins?

Using one pin for V+ & GND is ok. If V+ is used to power the PYBV11 you might consider a protective diode and some decoupling caps.
by chuckbook
Tue Jan 22, 2019 12:33 pm
Forum: MicroPython pyboard
Topic: RTC wakeup depends on calibration value ???
Replies: 2
Views: 173

Re: RTC wakeup depends on calibration value ???

If rtc.wakeup(ms, wup) is used, STM32 will always use non-calibrated RTC timer for intervals < 16s.
For intervals >= 16s the calibrated 1s timer will be used.
To force rtc.wakeup using 1s clock, use:

Code: Select all

rtc.wakeup(4, 0, wup) # 1s interval
rtc.wakeup(4, 1, wup) # 2s interval
by chuckbook
Fri Jan 11, 2019 3:54 pm
Forum: Other Boards
Topic: Looking for a board with 16 ADC channels and WiFi
Replies: 8
Views: 578

Re: Looking for a board with 16 ADC channels and WiFi

PYBD allows 16 ADC channels spread on two or three ADCs.
by chuckbook
Thu Jan 10, 2019 10:53 am
Forum: MicroPython pyboard
Topic: Save data on power down
Replies: 14
Views: 710

Re: Save data on power down

So far MicroPython uses only two of the RTC 32-bit backup registers available (20 on Pyboard, 32 on PYBD).
On a PYBV11 BKP1R..BKB18R are available for general usage.Keeping data inside RTC avoids powering backup RAM.
by chuckbook
Fri Jan 04, 2019 9:41 am
Forum: MicroPython pyboard
Topic: Save data on power down
Replies: 14
Views: 710

Re: Save data on power down

A 9V battery on MCU VBAT will destroy the MCU. Don't do this!
On a Pyboard VBAT is not MCU VBAT, I guess MCU VBAT is named VBACK on the board.
A CR2032 on VBACK is sufficient.
by chuckbook
Thu Jan 03, 2019 10:39 pm
Forum: MicroPython pyboard
Topic: LCD example library? (it's for a birthday present)
Replies: 4
Views: 289

Re: LCD example library? (it's for a birthday present)

Just one for now.... import lcd160cr import uctypes lcd = None frame_cnt = 0 frame = None rtc = pyb.RTC() def idle_wait(dt=0): pyb.delay(dt) def d01_clock(dt=40, sh=1, fmt='%2d:%02d:%02d', init=0): global frame_cnt if init == 2: return 'clock', -1 elif init == 3: return if init: lcd.set_spi_win(2, 2...
by chuckbook
Thu Jan 03, 2019 10:06 pm
Forum: MicroPython pyboard
Topic: Save data on power down
Replies: 14
Views: 710

Re: Save data on power down

VBAT should be between 1.7V and 3.3V. Disabling RTC tick needs special handling as it is pretty hard to disable RTC once it is running :-). However, using a Pyboard Lite would be perfect as it doesn't have a LSE crystal, so RTC tick always comes from LSI, which runs from Vdd.