adafruit / circuitpython

CircuitPython - a Python implementation for teaching coding with microcontrollers
https://circuitpython.org
Other
4k stars 1.18k forks source link

Add Arduino Nano 33 BLE Sense Rev 2 #7991

Closed applecuckoo closed 2 months ago

applecuckoo commented 1 year ago

This is a new version of the already-supported Arduino Nano 33 BLE Sense. I opened this issue to discuss the now discontinued Rev 1, but I repurposed it for the Rev 2 after figuring out that all the pins for the Rev 1 were already defined for the Nano 33 BLE port. See https://github.com/adafruit/circuitpython/issues/7991#issuecomment-1552701310 further below for more information.

Arduino documentation: https://docs.arduino.cc/hardware/nano-33-ble-sense-rev2 Pinout: https://docs.arduino.cc/resources/pinouts/ABX00069-full-pinout.pdf

dhalbert commented 1 year ago

If you'd like to contribute a board definition, that would be great. In the other issue you mentioned you don't own the board. Do you have one now?

applecuckoo commented 1 year ago

@dhalbert No, I don't own this board. I could probably start from the existing definition, but I should probably get my current PR (#7989) merged before I start work on this.

applecuckoo commented 1 year ago

I've specifically changed the scope of this issue to focus on the newer Rev 2 version of the board since the existing definition incorporates the sensor pins in pins.c, as seen here: https://github.com/adafruit/circuitpython/blob/f2bfced4079389c71cbdcf7d69e16d41f0e3dc98/ports/nrf/boards/arduino_nano_33_ble/pins.c#L51-L55 There are a few differences between the two revisions pin-wise, here is a list of them that I've picked up:

I hope this helps for anyone making a board definition for the Rev 2.

applecuckoo commented 2 months ago

Closed by #9347.