Skip to content

Commit

Permalink
Merge pull request #124 from Groboards/master
Browse files Browse the repository at this point in the history
Add SAMA5 to set_no_cs to allow SPI device to setup.
  • Loading branch information
brentru authored Jun 4, 2019
2 parents 6c3b6d1 + 5f2c3fb commit 61d13d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adafruit_blinka/microcontroller/generic_linux/spi.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def init(self, baudrate=100000, polarity=0, phase=0, bits=8,
def set_no_cs(self):
# Linux SPI driver for AM33XX chip in BeagleBone and PocketBeagle
# does not support setting SPI_NO_CS mode bit (issue #104)
if not self.chip.AM33XX and not self.chip.IMX8MX:
if not self.chip.AM33XX and not self.chip.IMX8MX and not self.chip.SAMA5:
try:
self._spi.no_cs = True # this doesn't work but try anyways
except AttributeError:
Expand Down

0 comments on commit 61d13d9

Please sign in to comment.