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驱动

Other Parts Discussed in Thread: SYSBIOS

你好!

我在使用beaglebone开发板配合SYSBIOS操作系统,之前有一段程序可以正常跑到main函数并且创建一个线程。因需要使用SPI,参考startware中的spi访问FLASH例程,编写了一段SPI的调试程序。但是发现在main函数中激活PowerManagement  对应的SPI1 domain时,程序停在该句很长时间,然后出现异常。我是直接操作寄存器的。请问这个可能是什么原因,或者SYSBIOS操作SPI和不带操作系统操作SPI有什么区别吗?

谢谢!