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.
Hi all,
在使用P0口的spi功能时,只需要使用CLK, MOSI两条信号线,打算将ss,MISO设置为GPIO功能,这样可行吗?在SPI操作的时候会不会影响GPIO的使用。
另外,debug interface的两个引脚设置为GPIO使用的话,是不是cc-debuger就不能连了调试了,这样能重新烧写程序吗?
Regards,
Roy.
你的CC2541是做slave还是master,需要了解下SPI协议具体实现过程。
做master用的,MISO根本不需要用。
应该可以,相当于只发送不接收
Hi,VV
debug口设为io的问题怎样?
spi设置的话,将p0_5, P0_3 设置为SPI功能, P0_4, P0_2设置为GPIO,那么寄存器应该怎样配置?
谢谢
Roy
请参考文档 CC254x User's Guide SWRU191C, TI 网站上搜索可得。
Thanks Nutcracker。
其实比较关心debug口使用的问题:“debug interface的两个引脚设置为GPIO使用的话,是不是cc-debuger就不能连结调试了,这样能重新烧写程序吗?”
看了user guide但找不到答案,所以来求教。
谢谢!
有大侠帮忙一下debug口IO设置问题吗?