Search found 89 matches

by roland_vs
Tue Apr 05, 2016 8:21 am
Forum: Other Boards
Topic: STM32F469BI
Replies: 2
Views: 3023

STM32F469BI

In order to have some more space and use the internal /flash instead of the /sd
What would it take to get mpy working on the STM32F469BI: 2MByte Flash and 384kByte SRAM?

Regards,

R.
by roland_vs
Mon Apr 04, 2016 11:30 pm
Forum: General Discussion and Questions
Topic: use of select.poll() with multiple uarts
Replies: 3
Views: 9434

use of select.poll() with multiple uarts

I work with three serial ports and I would like to handle these within the program. So I use USB-VCP exclusively for debugging. I have an uart 3 that communicates to a host, I have uart 1, uart 2 and uart 6 ready to go. So data may be coming from everywhere. How does one use the select.poll() in suc...
by roland_vs
Mon Apr 04, 2016 10:10 am
Forum: General Discussion and Questions
Topic: Baudrate port 6
Replies: 4
Views: 3655

Re: Baudrate port 6

Oops, I fixed it: The parameter for the 16MHz xtal alone was not enough %^&*( (I use this instead of 8MHz) on my own board. // in mpconfigboard.h // HSE was 8MHz but is 16MHz now #define MICROPY_HW_CLK_PLLM (16) // change to 16MHz #define MICROPY_HW_CLK_PLLN (336) // TODO: check the rest #define MIC...
by roland_vs
Sun Apr 03, 2016 8:47 pm
Forum: General Discussion and Questions
Topic: Baudrate port 6
Replies: 4
Views: 3655

Baudrate port 6

Dear all, I'm using mpy with UART 6. I have initialized it to 38400bps: port6 = pyb.UART(6,38400) Then I send a command or get something from the connected device which outputs per default on 38400bps. Well I get characters back, however not correct. So I changed to 19200 bps and now the data is cor...
by roland_vs
Thu Mar 31, 2016 11:52 am
Forum: Other Boards
Topic: STM32F411CEU6-based pyboard-lite?
Replies: 5
Views: 6319

Re: STM32F411CEU6-based pyboard-lite?

Dear all, Wouldn't it be great not to use all the different STM versions but create a real MONSTER board running python BARE METAL on say a ZYNC chip (giving you a lot of programmable gates (some VHDL required) and two ARM cores)? A typical MONSTER board that would do wonders: https://www.crowdsuppl...
by roland_vs
Sat Mar 19, 2016 11:14 am
Forum: General Discussion and Questions
Topic: Use of flow control
Replies: 9
Views: 7911

Re: Use of flow control

@pythoncoder Peter, The behavior of RTS/CTS as being negative is correct the signals are nCTS and nRTS by definition. I have to assert (low) the signal myself so the opposite party can start sending. I was under the assumption the chip would do that. I was a bit surprised by the OSError 116 when tim...
by roland_vs
Fri Mar 18, 2016 11:41 am
Forum: General Discussion and Questions
Topic: Use of flow control
Replies: 9
Views: 7911

Use of flow control

Dear all, Anyone used an UART on the mpy board with hardware handshaking. The mpy doc is rather cryptic in a sense that you initialize the USART like: import pyb ser = pyb.UART(3) ser.init(57600,flow=ser.RTS|ser.CTS) There are some pins involved so how do they need to be configured? # so do the pins...
by roland_vs
Tue Jan 26, 2016 8:26 pm
Forum: Hardware Projects
Topic: Smart Card and CCID driver
Replies: 7
Views: 13099

Re: Smart Card and CCID driver

Dear pagano,

This is interesting. Is such a board available? I would very much like to play with the smartcard function of the controller.

Regards,

Roland
by roland_vs
Tue Dec 08, 2015 8:51 pm
Forum: Drivers for External Components
Topic: adding driver to pyb
Replies: 1
Views: 3912

adding driver to pyb

Hello, I'm fiddling with micropython and creating a driver for the PCA9557. You can have up to 8 of these devices on a single I2C bus. I have looked at servo and accel as examples to roll my own. So far I can see my device appear in the dir(pyb), however I'm not done yet with passing and getting the...