si4438-1
硬件上连接好后,通过发送0x00 (NOP)指令, 来查看硬件连是否正确.
SI4463_InterFace();
SI446X_RESET( ); //SI446X 模块复位
SI_CSN_LOW( );
aa=0;
SPI_ExchangeByte( 0x00 );
aa = SPI_ExchangeByte( 0xFF );
SI_CSN_HIGH( );
if(aa==0xff)
{
aa=0;
}
else
{
aa=0xff;
}
SPI_ExchangeByte( aa );