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 the Pcduino2 and Pcduino3 #722

Merged
merged 40 commits into from
Oct 12, 2023
Merged

Conversation

Ryzer58
Copy link
Contributor

@Ryzer58 Ryzer58 commented Oct 7, 2023

Tested pins D0- D6 using LEDs then repeating on pins D8 - D13.

I2C (i2c-dev) - tested with Adafruit PWM/Servo shield (PCA9685) using servokit library.

SPI (spidev) - Initial detection works. Tested with Ili9341 but was not able to get working, possibly an issue with the CS pin. The internal LED attached to clock pin flashes when trying to run examples under RGB Display. Hoping to find a fix in the near future.

UART - Tested with GPS module (SIM28 chipset) using CircuitPython GPS library on uart 2. Manages to pick up
satelites within a couple of seconds.

PWM - Added support for channel 0 to Allwinner A20 pin file. Tested with pulsing led based
on the example in the CircuitPython essentials guide.

Tested on Armbian 23.05 running kernel 6.1

Ryzer58 and others added 30 commits April 21, 2022 19:49
…his rather than SCLK. Additionally simplify access to the i2c bus by renaming the pins from 'SDA2' and 'SCL2' to 'SDA' and 'SCL' as realistically this is the only i2c port that is actually avaliable on the board
…with the A10, it keeps things simple to use the already created pin map file for the A10.
… with the A10 so the existing pin profile can be reused in this case
…n using VScode, files sometimes appear to be missing an eol at the end of the file. Apparently it is not the default behaviour but I have now made this setting permanent
…he A10 it makes more sense to refer it instead, therefore the additional functionality of the A20 can also be added as required
…date all core files to ensure that previous references to the Allwinner A10 have now been replaced with references to the Allwinner A20
Copy link
Collaborator

@makermelissa makermelissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. Looks good.

@makermelissa makermelissa merged commit b50846d into adafruit:main Oct 12, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants