本帖最后由 voidx 于 2010-4-9 13:01 编辑
CC2530 定时器BUG:
datasheet:
When the timer operates in modulo mode, the 8-bit counter starts at 0x00 and increments at each active clock edge. When the counter reaches the terminal count value held in register TxCC0, the counter is reset to 0x00 and continues to increment. The flag TIMIF.TxOVFIF is set when on this event.
实际情况是,TIMIF.TxOVFIF根本没有置位。 |