Search found 15 matches

by guanabana
Tue Apr 05, 2016 6:49 am
Forum: Other Boards
Topic: STM32F411CEU6-based pyboard-lite?
Replies: 5
Views: 6381

Re: STM32F411CEU6-based pyboard-lite?

Hi Roland the Snickerdoodle FPGA board is definitely cool but probably targets more high end/ complex/ cost-insensitive applications than what I am thinking about, plus I don't think it is even available for purchase yet nor could the Zynq possibly achieve the low power of the ST on the pyboard. Any...
by guanabana
Fri Mar 25, 2016 10:04 pm
Forum: Other Boards
Topic: STM32F411CEU6-based pyboard-lite?
Replies: 5
Views: 6381

STM32F411CEU6-based pyboard-lite?

Hi everyone I am kicking around the idea of making a marginally smaller and cheaper pyboard based on the STM32F411CEU6 which is the same uC as the one in the pyboard-lite except in a smaller package with less pins. This would get rid of the SD card and accelerometer and probably VBAT pin, but keep t...
by guanabana
Sat Feb 13, 2016 6:14 pm
Forum: General Discussion and Questions
Topic: pyb.delay accuracy
Replies: 2
Views: 2829

Re: pyb.delay accuracy

This is on the pyboard with this version of micro python btw:

MicroPython v1.5.1-66-g66b9682 on 2015-12-04; PYBv1.1 with STM32F405RG
by guanabana
Sat Feb 13, 2016 5:58 pm
Forum: General Discussion and Questions
Topic: pyb.delay accuracy
Replies: 2
Views: 2829

pyb.delay accuracy

Hi, has anyone noticed that pyb.delay is wildly inaccurate the first time it is invoked? I am trying to send SPI messages separated by a fixed delay of 1ms, but I am measuring that the first and second SPI messages can be anywhere from 60us to 900us apart. From the second message on, the separation ...
by guanabana
Tue Jan 26, 2016 9:47 pm
Forum: Other Boards
Topic: Porting uPy to STM32F446
Replies: 3
Views: 4369

Re: Porting uPy to STM32F446

I guess I am most interested specifically in the STM32F446RET6 so that I could rework one onto the existing micro python board. Any chance someone has got that working yet?
by guanabana
Tue Jan 26, 2016 9:28 pm
Forum: Other Boards
Topic: Porting uPy to STM32F446
Replies: 3
Views: 4369

Porting uPy to STM32F446

Has anyone had any luck porting micropython to one of the 180MHz versions of the STM32F4 such as STM32F446, STM32F427, STM32F429, STM32F469? Looks like the 446 is almost pin-compatible with the STM32F405RGT6 that is already on the pyboard so I imagine it would only need a very minimal alteration and...
by guanabana
Mon Jan 25, 2016 8:39 pm
Forum: General Discussion and Questions
Topic: SPI Transaction Length Configurability
Replies: 8
Views: 9313

Re: SPI Transaction Length Configurability

Typo. But here is what I ended up with and it actually works up to 12MHz if you comment out the delay block: from uctypes import addressof @micropython.asm_thumb def write_io_asm(r0, r1): # r0=addrOfArray with data, r1=nBitsToSend mov(r4, 0) # init bit counter movwt(r3, stm.GPIOA) # GPIOA addr in r1...
by guanabana
Sat Jan 23, 2016 8:21 pm
Forum: General Discussion and Questions
Topic: SPI Transaction Length Configurability
Replies: 8
Views: 9313

Re: SPI Transaction Length Configurability

Alright, I was interested to give it a shot in assembly and got this almost sort of working. The order that the word from the byte array prints out (if I were to just return ldr(r0, [r0, 0]) ) is backwards from what I would expect (if the words of the source byte array weren't symmetric like it is i...
by guanabana
Wed Jan 20, 2016 6:36 pm
Forum: General Discussion and Questions
Topic: SPI Transaction Length Configurability
Replies: 8
Views: 9313

Re: SPI Transaction Length Configurability

Thanks Dave for the response and suggestion. I was scoping out repurposing the SPI hardware peripheral to work with some other rando comm protocol but I have concluded that it isn't really a workable idea because it has frame-lengths that aren't multiples of 8b (and I would need the clock), the data...
by guanabana
Fri Jan 08, 2016 1:27 am
Forum: General Discussion and Questions
Topic: SPI Transaction Length Configurability
Replies: 8
Views: 9313

SPI Transaction Length Configurability

Does anyone happen to know if it is possible to configure the length of SPI transactions so that they aren't strictly integer multiples of 8b?
Say I wanted to send a frame of 9 or 13 bits, is it possible to do that in upy with the pyboard?