开发CC3200你必须要看的
时间:10-02
整理:3721RD
点击:
CC3200 LaunchPad使用入门01_开发环境搭建,以及必须下载的软件工具。。
4466.CC3200 LaunchPad使用入门01_开发环境搭建.pdf
更多的访问
http://www.deyisupport.com/question_answer/wireless_connectivity/wifi/f/105/t/75782.aspx
还有就是其中提到的TI PinMux配置工具,必须的要下载。要不然你好多要看手册,说不定还可能搞错了
。



最后点那个下载按钮就可以下载你配置好的C文件了。
咱们看看
// This file was automatically generated on 2017/8/8 at 下午9:13:33
// by TI PinMux version 4.0.1496
//
//*****************************************************************************
#include "pin_mux_config.h"
#include "hw_types.h"
#include "hw_memmap.h"
#include "hw_gpio.h"
#include "pin.h"
#include "gpio.h"
#include "prcm.h"
//*****************************************************************************
void PinMuxConfig(void)
{
//
// Set unused pins to PIN_MODE_0 with the exception of JTAG pins 16,17,19,20
//
PinModeSet(PIN_03, PIN_MODE_0);
PinModeSet(PIN_04, PIN_MODE_0);
PinModeSet(PIN_05, PIN_MODE_0);
PinModeSet(PIN_06, PIN_MODE_0);
PinModeSet(PIN_07, PIN_MODE_0);
PinModeSet(PIN_08, PIN_MODE_0);
PinModeSet(PIN_15, PIN_MODE_0);
PinModeSet(PIN_18, PIN_MODE_0);
PinModeSet(PIN_21, PIN_MODE_0);
PinModeSet(PIN_45, PIN_MODE_0);
PinModeSet(PIN_53, PIN_MODE_0);
PinModeSet(PIN_58, PIN_MODE_0);
PinModeSet(PIN_59, PIN_MODE_0);
PinModeSet(PIN_60, PIN_MODE_0);
PinModeSet(PIN_63, PIN_MODE_0);
PinModeSet(PIN_64, PIN_MODE_0);
//
// Enable Peripheral Clocks
//
PRCMPeripheralClkEnable(PRCM_UARTA1, PRCM_RUN_MODE_CLK);
PRCMPeripheralClkEnable(PRCM_UARTA0, PRCM_RUN_MODE_CLK);
//
// Configure PIN_62 for UART1 UART1_RTS
//
PinTypeUART(PIN_62, PIN_MODE_3);
//
// Configure PIN_61 for UART1 UART1_CTS
//
PinTypeUART(PIN_61, PIN_MODE_3);
//
// Configure PIN_01 for UART1 UART1_TX
//
PinTypeUART(PIN_01, PIN_MODE_7);
//
// Configure PIN_02 for UART1 UART1_RX
//
PinTypeUART(PIN_02, PIN_MODE_7);
//
// Configure PIN_52 for UART0 UART0_RTS
//
PinTypeUART(PIN_52, PIN_MODE_6);
//
// Configure PIN_50 for UART0 UART0_CTS
//
PinTypeUART(PIN_50, PIN_MODE_12);
//
// Configure PIN_55 for UART0 UART0_TX
//
PinTypeUART(PIN_55, PIN_MODE_3);
相当的全面。
你根本不用自己再去查到底是什么模式了。
CC3200 入门不错的资料!
