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 Set SPI speed

Other Parts Discussed in Thread: Z-STACK, CC2530

您好,

         想請問如何設置CC2530(Z-SATCK) Set SPI speed,我在Z-stack sample code 看到如下所示:

  /* Set SPI speed to 1 MHz (the values assume system clk of 32MHz)
   * Confirm on board that this results in 1MHz spi clk.
   */
 baud_exponent = 15;
 baud_mantissa =  0;

   假設我想要設置更快的spi速度,baud_exponent 和 baud_mantissa 值要怎麼去做設置,有計算的方式或參數嗎? 感謝您