- # 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:
- try:
- self._spi.no_cs = True # this doesn't work but try anyways
- except AttributeError:
- pass
- else:
- # TODO: remove this debug output
- print("Adafruit_Blinka: generic_linux/spi.py: set_no_cs(): detected AM33XX, SKIP setting no_cs")
+ """Setting so that SPI doesn't automatically set the CS pin"""
+ # No kernel seems to support this, so we're just going to pass
+ pass
+
+ # pylint: enable=unnecessary-pass
+
+ @property
+ def frequency(self):
+ """Return the current baudrate"""
+ return self.baudrate