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.

CC2530 的SPI速率怎么设置

Other Parts Discussed in Thread: CC2530

未使用cc2530 的Uart1的位置一作为SPI,配置如下,请问配置是否正确,SPI速率设置 具体怎么设置 我要实现3MHZ以下的速率 应该怎么设置

PERCFG &= ~0x02; // PERCFG.U1CFG = 0
P0SEL |= 0x38; // P0_5, P0_4, and P0_3 are peripherals

P0SEL &= ~0x04; // P0_2 is GPIO (SSN)
P0DIR |= 0x04; // SSN is set as output

U1BAUD = 216;
U1GCR &= 0xE0;
U1GCR |= 0x11; // BAUD_E = 17

U1GCR |= 0x20;//MSB_FIRST