自己设计的板卡上使用了spi接口的cs0,cs1接口,相当于使用了spi的5线模式,且两个片选借的都是nor-flash(N25Q128),cs0片选读flash的ID正确且正常读写数据, cs1片选读flashID都是0XFF,不正确,请问,我应该如何去配置程序和硬件呢
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
自己设计的板卡上使用了spi接口的cs0,cs1接口,相当于使用了spi的5线模式,且两个片选借的都是nor-flash(N25Q128),cs0片选读flash的ID正确且正常读写数据, cs1片选读flashID都是0XFF,不正确,请问,我应该如何去配置程序和硬件呢
c6678 SPI不支持spi 5线模式,请参考数据手册说明。
The C6678 SPI supports two modes, 3-pin and 4-pin. For the 4-pin chip-select mode, the C6678 supports up to two chip selects.
https://www.ti.com/lit/ds/symlink/tms320c6678.pdf