Search found 87 matches

by roland_vs
Mon Apr 04, 2016 10:10 am
Forum: General Discussion and Questions
Topic: Baudrate port 6
Replies: 4
Views: 1690

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: 1690

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: 3100

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: 3567

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: 3567

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: 5151

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: 1928

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...