Is it possible to use Octo-spi as a regular SPI?
Hello, at this moment i'm investigating the possibilities of our current system and would like to know if the 2 Octo-spi peripherals can be used as legacy, normal SPI.
Hello, at this moment i'm investigating the possibilities of our current system and would like to know if the 2 Octo-spi peripherals can be used as legacy, normal SPI.
OctoSPI is master-only, byte-oriented, designed with memory accesses in mind. So, no problem for connection to memory devices and 'memory like' devices with single-line transfer via CS, SCKL, MOSI, MISO.
Some modes are not possible, e .g. data exchange (master and slave exchange data simultaneously). Read and write in a single transfer (meaning CS remains asserted) is somewhat restricted, as the OctoSPI operates either in read mode (only 4+4+4 bytes may be send to slave at begin of transfer, then only read) or write (arbitrary amount of bytes may be send to slave). No direct control of CS without reconfiguring CS pin to ordinary GPIO.
However, if you intend to use some 'exotic' slave device, I'd recommend to get a L4+-disco/nucleo board and verify that all transfer modes you need actually work as expected. The OctoSPI is rather new and there are some errata. I've used it only with memory both in 1- and 8-line modes so far, without problems.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.