Our prototype is based on OMAP-L138 Eva brd where Flash chip select is on SCS0 of SPI1
As SPI is a shared bus, so we connect another SPI device to this SPI bus, actuall it is the SPI0 of a second OMAP-L138 on the same brd.
I'm using OMPAP-L138 Starterware where it provides SPI-API
As SCS_0 is for Flash and SCS_1 for the 2nd SPI device, so I use the function above twice
But I failed to do flashing. But it works separately for either 1st with SPI1CSPinMuxSetup(0) or 2nd SPI device with SPI1CSPinMuxSetup(1).
I asserts the right chip select line for the right device and de-assert after used.
My understanding is this function is used just to config for SPI_SCS and the chip select itself is active only asserted.
Something wrong with my SPI handler ?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.