Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for P1AM-200 board #236

Open
bfranske opened this issue Feb 8, 2025 · 1 comment
Open

Add Support for P1AM-200 board #236

bfranske opened this issue Feb 8, 2025 · 1 comment

Comments

@bfranske
Copy link

bfranske commented Feb 8, 2025

I'd love to see support for the P1AM-200 programmable logic controller board. Arduinio board variant is at:
https://github.com/facts-engineering/ArduinoCore-samd/tree/master/variants/P1AM-200

I have been able to get some basic functionality working using adafruit_grandcentral_m4 (onboard LED, Switch, and Neopixel) however I am trying to get this working with the P1AM library from https://github.com/facts-engineering/P1AM/ and haven't been successful yet. I believe this to be because I have not found the correct SPI pins being used for the connection to these "P1000" modules (or have not initialized the SPI pins being used for these properly).

There is also a schematic at https://github.com/facts-engineering/P1AM-Design-Files/blob/master/P1AM%20CPUs/P1AM_200_REVA.pdf

Any help is appreciated!

@bfranske
Copy link
Author

For what it's worth there is some documentation for this board at https://facts-engineering.github.io/modules/P1AM-200/P1AM-200.html They mention some of the SPI pins there (8,9,10) but one of the things on this board is that there are two SPI interfaces, one is used for the MKR compatible header (which is the pins 8.9.10) but the "base controller pins" which are used to talk to the Productivity1000 modules using SPI out of a different header use different pins, unfortunately undocumented on this site. Of course, for all of these they are referring to their own pin numbering and not the grandcentral pin numbering or the CPU pin numbering.

I'm sure it's possibly to figure out what pins are being used for what by looking at their board variant. I'm just not versed well-enough in Arduino board definitions to trace that back through and figure out how to implement it in PlatformIO so that the P1AM library will work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant