bfin-spi-notes.txt 726 B

123456789101112131415
  1. SPI Chip Select behavior:
  2. With the Blackfin on-chip SPI peripheral, there is some logic tied to the CPHA
  3. bit whether the Slave Select Line is controlled by hardware (CPHA=0) or
  4. controlled by software (CPHA=1). However, the Linux SPI bus driver assumes that
  5. the Slave Select is always under software control and being asserted during
  6. the entire SPI transfer. - And not just bits_per_word duration.
  7. In most cases you can utilize SPI MODE_3 instead of MODE_0 to work-around this
  8. behavior. If your SPI slave device in question requires SPI MODE_0 or MODE_2
  9. timing, you can utilize the GPIO controlled SPI Slave Select option instead.
  10. You can even use the same pin whose peripheral role is a SSEL,
  11. but use it as a GPIO instead.