Search found 9 matches

by giacomoalbe
Thu Nov 30, 2017 11:58 am
Forum: MicroPython pyboard
Topic: Custom Firmware on Pyboard with Micropython Makefiles
Replies: 2
Views: 2362

Custom Firmware on Pyboard with Micropython Makefiles

Hi all guys! I'm a very happy Pyboard user! Btw, I need to try (at least) to program the pyboard (which has an STM32F4) with a custom firmware written in C, since we have strict requirements on timing for an automotive application we are developing right now. My main develoment environment is Linux,...
by giacomoalbe
Thu May 11, 2017 8:55 am
Forum: MicroPython pyboard
Topic: Read bit stream from a Serial Interface
Replies: 14
Views: 13854

Re: Read bit stream from a Serial Interface

Thank you guys for your help, really appreciated! I don't think that the SPI solution would work, since it seems to me that the two interfaces are different, but I think I'll have a try. The @micropython.asm_thumb solution seems promising, since that way I'll have a lot more control over the clock d...
by giacomoalbe
Wed May 10, 2017 12:51 pm
Forum: MicroPython pyboard
Topic: Read bit stream from a Serial Interface
Replies: 14
Views: 13854

Re: Read bit stream from a Serial Interface

Hi all again! I tried to connect the sensor to the MicroPython and it actually works for sensing the angle. The problem starts when I need to read speed (so differential measurements). Right now the pyboard needs something like ~400 us to read an angle measure, and this is lower a lot the rate in wh...
by giacomoalbe
Fri Apr 21, 2017 10:15 am
Forum: MicroPython pyboard
Topic: Read bit stream from a Serial Interface
Replies: 14
Views: 13854

Re: Read bit stream from a Serial Interface

Thank you all for your precious support!

Once I get the sensor to work properly, I'll try with Python!

Maybe a stupid question: what is Viper code? It is something related with programming or is it actual coding language or paradigm?

Thanks again for your precious help!
by giacomoalbe
Thu Apr 20, 2017 5:04 pm
Forum: MicroPython pyboard
Topic: Read bit stream from a Serial Interface
Replies: 14
Views: 13854

Read bit stream from a Serial Interface

Hi all! I'm facing a problem with serial communication with the MicroPython board. I have a digital sensor that outputs data to a Synchronous Serial Interface (SSI) according to a protocol that's shown in the figure below: Screen Shot 2017-04-20 at 18.53.46.png As you can see from this datasheet htt...
by giacomoalbe
Fri Mar 03, 2017 6:45 pm
Forum: MicroPython pyboard
Topic: CAN Bus
Replies: 12
Views: 13435

Re: CAN Bus

First of all, thank you very much for the help provided! I'm glad to say that I was able to make them work! I've got a nicely set up system in which 2 uPython are able to communicate. Soon I've to add other boards too, so maybe I'm going to ask something else! And yes, I'd like to add some more exam...
by giacomoalbe
Thu Mar 02, 2017 6:31 pm
Forum: MicroPython pyboard
Topic: CAN Bus
Replies: 12
Views: 13435

Re: CAN Bus

Many thanks @dhylands for the lighting fast answer! You are a life saver, really! Since I noticed you are really a PRO with CAN and uPython , I'd like to ask two questions about what you said: 1) Does the STBY pin need to be connected to ground? If I leave it simply as is (no connection) would't it ...
by giacomoalbe
Wed Mar 01, 2017 5:27 pm
Forum: MicroPython pyboard
Topic: CAN Bus
Replies: 12
Views: 13435

Re: CAN Bus

Hi guys! I reopen this recent discussion because I'm running into troubles trying to create a CAN bus between 2 different PyBoards 1.1. I've got the MCP2561 CAN Transceiver (here the datasheet if someone needs it http://ww1.microchip.com/downloads/en/DeviceDoc/20005167C.pdf). The problem is that rig...
by giacomoalbe
Thu Dec 22, 2016 10:27 pm
Forum: MicroPython pyboard
Topic: connecting pyboard to CAN BUS
Replies: 45
Views: 40536

Re: connecting pyboard to CAN BUS

Hi all! I'm new in the forum and I think I have similar needs with pyboard and CAN bus! I need to use pyboard to drive an intelligent LCD screen (no need for graphic management, only commands for drawing the interface, at high level!) and to communicate via CAN bus with another board which deals wit...