Search found 135 matches

by chuckbook
Mon May 18, 2020 8:00 am
Forum: Pyboard D-series
Topic: Emulation of multiple I2C slaves with a Pyboard D-series
Replies: 2
Views: 2595

Re: Emulation of multiple I2C slaves with a Pyboard D-series

STM32F7xx supports two slave addresses in HW plus one broadcast (ADDR 0). MP currently supports only one slave address.
by chuckbook
Tue May 12, 2020 3:41 pm
Forum: Pyboard D-series
Topic: Flash ROM, external QSPI, v1.1 vs. D's three variants
Replies: 3
Views: 2954

Re: Flash ROM, external QSPI, v1.1 vs. D's three variants

PYBV11 has 1024kB of internal flash. Due to the it's sector organization only 112kB can be used as FAT filesystem. The FAT area consists of one 3*16kB and 1*64kB sectors. As flash can only erased sector wise, a RAM buffer is needed for buffering content. PYBV11 reserves 64kB of SRAM for this purpose...
by chuckbook
Sun May 10, 2020 3:10 pm
Forum: Pyboard D-series
Topic: PYBD WBUS connector
Replies: 22
Views: 17104

Re: PYBD WBUS connector

According to Hirose specs the four extra pins on the 40 pin connectors are only for mechanical stability. They can't be used as extra contacts.
by chuckbook
Tue May 05, 2020 2:33 pm
Forum: Pyboard D-series
Topic: Choosing between powering options.
Replies: 4
Views: 3317

Re: Choosing between powering options.

Power requirements are defined by these components: Wireless Module (Murata 1DX) The Wireless Module uses an internal linear regulator for the wireless transmitter. See Murata datasheets for the specs. ADC Reference ADC performs best with a stable +3.3V reference voltage which is provided with a pro...
by chuckbook
Fri Feb 21, 2020 9:43 am
Forum: General Discussion and Questions
Topic: Serial binary data packets using COBS and uasyncio
Replies: 6
Views: 4493

Re: Serial binary data packets using COBS and uasyncio

Would it make senses to use either 3964 or 3964R protocol?
by chuckbook
Thu Jan 16, 2020 11:57 am
Forum: Pyboard D-series
Topic: Pyboard D RTC accuracy
Replies: 5
Views: 3911

Re: Pyboard D RTC accuracy

This sounds too good to be true. Doesn't the DS3231 datasheet claim +/-2 ppm which (roughly) means +/-1 min/a?
Anyhow, this is still a very good result.
by chuckbook
Mon Dec 30, 2019 8:06 pm
Forum: MicroPython pyboard
Topic: pyb.ADCAll() side effect
Replies: 13
Views: 9730

Re: pyb.ADCAll() side effect

1. Note that core_vbat refers to the RTC backup battery. To read supply voltage use vref.
2. core_temp is stored in cor_dat[3]!
3. On a PYBD will never be bigger than 3.3V (well +/- some error) due to the LDO used for Vdd.
by chuckbook
Sun Dec 15, 2019 5:25 pm
Forum: General Discussion and Questions
Topic: Changing LED colour on USR button press
Replies: 3
Views: 2417

Re: Changing LED colour on USR button press

try this: import pyb sw = pyb.Switch() leds = [pyb.LED(1), pyb.LED(2), pyb.LED(3)] led_state = 0 def cycle(): global led_state print(led_state) led_state = (led_state % 3) if led_state == 0: led_state = 1 leds[0].on() leds[1].off() leds[2].off() elif led_state == 1: led_state = 2 leds[0].off() leds[...
by chuckbook
Tue Oct 22, 2019 9:44 am
Forum: Pyboard D-series
Topic: WBUS-DIP28 reset pin does not reset the Pyboard
Replies: 5
Views: 3390

Re: WBUS-DIP28 Please could someone try this

NRST isn't connected to WBUS-DIP28 by design (and the route should not be in the schema). It might be a bit inconvenient but DIP28 NRST can be connected to PYBD NRST by a bodge wire or, and this made more sense to the designer, handle DIP28 NRST through another GPIO. With NRST being hard wired betwe...
by chuckbook
Tue Oct 22, 2019 9:05 am
Forum: Pyboard D-series
Topic: Gerber files for d series?
Replies: 5
Views: 3680

Re: Gerber files for d series?

The PYBD was designed to allow a regular DIP-16-600 footprint if only X-SKIN is used. Y-SKIN ports are also placed to form a regular DIP-16-600 footprint but interleaved and rotated by 180 deg to the X-SKIN ports. Note that pins 16, 15 and 13 are different for the X and Y SKIN footprints. This allow...