Search found 12 matches

by joevpt
Tue Dec 20, 2016 1:38 pm
Forum: Maple mini
Topic: Can I get an immediate sketch start?
Replies: 7
Views: 502

Re: Can I get an immediate sketch start?

So the answer to my question appears to be yes I can get an immediate sketch start, but I must loose the bootloader. Here is what I found: 1. I have two types of Maple Mini. One has the suggested white stamp to indicate that it is from Baites. The other has no marking. When putting the boards togeth...
by joevpt
Thu Dec 15, 2016 10:31 pm
Forum: Working / ported libraries
Topic: SPI DMA new functions
Replies: 16
Views: 1901

Re: SPI DMA new functions

Thanks Steve. I've done as you suggested.
by joevpt
Wed Dec 14, 2016 12:42 pm
Forum: Maple mini
Topic: Can I get an immediate sketch start?
Replies: 7
Views: 502

Can I get an immediate sketch start?

I have a sketch which uses : Serial (for debug messages), Serial1 (for comms), and SPI (to communicate with a display peripheral). At startup, the external peripheral which powers up at the same time as the Maple Mini waits in an uncertain state (random leds flashing) until the Maple Mini starts run...
by joevpt
Tue Dec 13, 2016 4:51 pm
Forum: Working / ported libraries
Topic: SPI DMA new functions
Replies: 16
Views: 1901

Re: SPI DMA new functions

Getting lots of warnings on the use of deprecated calls in SPI.c My project is using the Ethernet_STM lib, which uses the SPI lib which in turn uses DMA lib. The DMA library has declared a number of calls as deprecated, so the SPI calls need to be updated. If I knew how to do this, I would gladly vo...
by joevpt
Fri Sep 23, 2016 9:57 pm
Forum: Maple mini
Topic: Messaging between multiple Maple Mini clones
Replies: 36
Views: 2122

Re: Messaging between multiple Maple Mini clones

Roger, In order to use the Maple mini in my project (porting it directly from Arduino Mega), I would need the I2C library to support both master and slave mode. This solution is so much easier that trying to add the slave code to the library, and while it does mean I need to write a little more code...
by joevpt
Fri Sep 23, 2016 6:07 pm
Forum: Maple mini
Topic: Messaging between multiple Maple Mini clones
Replies: 36
Views: 2122

Re: Messaging between multiple Maple Mini clones

Hi All, I finally have this working as suggested by Pito and Simonf by daisy-chaining all the boards together just on the RX port and locally tying the TX port to the RX port via a diode. The benefit as the guys have said is that all boards receive the message on the RX port (including the current s...
by joevpt
Tue Sep 06, 2016 12:34 pm
Forum: Maple mini
Topic: Messaging between multiple Maple Mini clones
Replies: 36
Views: 2122

Re: Messaging between multiple Maple Mini clones

Finally got around to this yesterday, and have it working now in a master/slave configuration. I tested it using a teensy 3.2 as the master device and multiple maple mini clones as the slave devices. For the master transit pin, no special conditioning is needed, but I put a pullup resistor at each s...
by joevpt
Sun Aug 28, 2016 3:14 pm
Forum: Maple mini
Topic: Messaging between multiple Maple Mini clones
Replies: 36
Views: 2122

Re: Messaging between multiple Maple Mini clones

RogerClark wrote:If you get this working, could you let us know and post a small schematic diagram

Thanks

Roger
Having a problem with the units under test so removing the diagram until I get to the bottom of it. I Don't want anyone frying their boards because of my mistake !!
by joevpt
Sat Aug 27, 2016 10:45 pm
Forum: Maple mini
Topic: Messaging between multiple Maple Mini clones
Replies: 36
Views: 2122

Re: Messaging between multiple Maple Mini clones

Great Simon, and again thanks for the fast reply. I'll get to this tomorrow. 30 cm is more than enough for me so I will use some 10k resistors.
by joevpt
Sat Aug 27, 2016 9:13 pm
Forum: Maple mini
Topic: Messaging between multiple Maple Mini clones
Replies: 36
Views: 2122

Re: Messaging between multiple Maple Mini clones

Thanks Simon for the connection clarification. Before I go do it, can I clarify that the pull-up is required on both lines and a diode is required on each tx line ? Each MCU in this setup can therefore read every transmission and confirm its own message ( like Old Ethernet looking for a collision). ...