请教一下,我是用cc2640R2通过spi链接ads1299。初始话好后,ads1299通过一个io每4ms中断一下2640,2640在中断里面去读取ads1299的数据数据一共5个字节。
大概几秒后,2640就挂了。不知道问题出在哪里?
先谢了!
user3948615:
当机是我暂停了调试工具,按照网上的说法是发生了一个硬件的异常中断,有以下可能,我想问问如何修改堆栈?
Most exceptions falls into three categories:
Stack overflow or corruption leads to arbitrary code execution.
Almost any exception is possible.
A NULL pointer has been dereferenced and written to.
Typically (IM)PRECISERR exceptions
A peripheral module (like UART, Timer, and so forth) is accessed without being powered.
Typically (IM)PRECISERR exceptions
Viki Shi:
SPI 没有正确配置好吧,请参考官方文档【CC2640R2F通用】:dev.ti.com/…/_s_p_i_c_c26_x_x_d_m_a_8h.html