Skip to main content
danieldaniel93
Associate II
August 24, 2017
Question

Should an Arduino proto shield (basically, nothing connected but an LED on pin 13 and a button on NRST) work with a Nucleo board?

  • August 24, 2017
  • 2 replies
  • 1792 views
Posted on August 24, 2017 at 17:05

I'm trying to use a Nucleo F411RE with some Arduino shields, and having very little luck.

The behavior I get is that the Nucleo either doesn't power up at all, or are slow and unreliable about enumerating the USB devices it provides, and I get errors about device addition failing in the system log.

Removing JP1 - which limits current draw and forces the device enumeration - makes things a little better. Sometimes. But sometimes it just means that the errors in the system log repeat until I get tired of it.

Providing external power also helps. These two things make me think I've missing something power related.

This happens with multiple Nucleo boards and all my Arduino spare shields (just 3). They are all pre-R3 boards, but one of them is a prototype board with nothing but parallel connections for the reset pin and LED.

Other people don't seem to be having these issues, and I've not turned up anything in the manual.

So the questions are: am I wrong in expecting generic Arduino shields to work with the Nucleo boards? If not, is there some setup I need to make or check in order to get them to work?

Thanks

#shield #arduino #nucleof411re
This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
August 24, 2017
Posted on August 24, 2017 at 17:16

Not having any of these issues here, and have loads of boards with reset buttons on them.

Guess I'd be wary of the 3V, 5V and IOREF rails, and if you have regulators what they are doing with VIN, etc.

The Nucleo boards have schematics, review if these have any conflicts with the shields you use.

The Nucleo-64 boards have some use conflicts on the D0/D1 UART pins, in that they connect by default to the ST-LINK VCP, so you can't drive them from the shield and the F411, and there isn't the flexibility in the RX/TX designations.

Current firmware on the ST-LINK is strongly recommended, get a current copy of the ST-LINK Utilities, it should have current drivers, and firmware with the package.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
danieldaniel93
Associate II
August 24, 2017
Posted on August 24, 2017 at 18:09

I updated the ST-LINK firmware when I started the project; that's simply SOP for me. I'm using Linux, so there are no driver issues. I'm all to aware of the D0/D1 issues. Since they also get used for monitor comms on arduino's, it's really rare to find a shield that uses them for anything. 

I'm not sure what I'd be looking for on the schematics. Any hints would be appreicated. Or was 3V/5V/IOREV a hint?

I checked the Adafruit motor shield before I started (schematics are 

https://cdn-learn.adafruit.com/assets/assets/000/009/769/original/mshieldv1-schem.png

  if you want to look), and everything seemed fine to me: it doesn't output anything back to the board except maybe power, and I made sure that jumper was off.  I did check on driving 5V logic with 3.3V circuitry, and the indications are that it should be fine. For this shield, not -0 the 74HCT595N needs ~3.2 volts for a logic high, so things tend to be flaky. But I don't see how that would keep it from powering up before I wrote anything! 

I'm thinking I missed something (highly likely) and the power system on the board (both of them, actually) is malfunctioning such that any extra load causes the boot sequence to fail. But that's just a wild guess.

Thanks,

Mike

Tesla DeLorean
Guru
August 24, 2017
Posted on August 24, 2017 at 18:58

The hint was to look in the context of what you have attached, I don't have schematics for those, or a lot of time to commit to raking over them.

The power supply via USB and the on-board regulators is going to be pretty limited. The Nucleo should provide the 5V and 3.3V, the latter likely has a total budget of 150-200mA. This isn't going to be sufficient for motors or cellular modems, etc. Should be quite sufficient for a few buttons and LEDs

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Max
ST Employee
August 25, 2017
Posted on August 25, 2017 at 05:21

maybe this table from MBED web site could help:

https://developer.mbed.org/teams/ST/wiki/Supported-shields