1

From reading the HAT spec, the ID EEPROM is fixed at address 0x50. This implies that only one real hat may be present at a time, yet lots of products are called HATs and say that they can be stacked, for example, https://www.adafruit.com/product/2348.

In the case of identical hats from the same manufacturing batch it can probably be assumed that the eeproms will respond reasonably simultaneously (they are slaved off the same SCK signal after all) and thus return identical information. There is of course the issue of now having multiple pullups in parallel, but for two or three boards what will probably not be a problem.

Nowhere in the official documentation could I find a discussion of this problem, either a statement to the effect of only allowing one hat at a time, or what to do for stacked hats.

Comments from people who have actually designed hats?

1
  • 1
    Related (if not dupe): raspberrypi.stackexchange.com/a/39156/19949 which indicates that there was at least some sort of discussion on the Foundations part. I take it that the "stackable" hats, such as those motor drivers you've linked to, rely on the fact of stacking only one particular type of hat.
    – Ghanima
    Commented Mar 14, 2019 at 23:06

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.