微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI无线射频设计 > CC2530 download with uart

CC2530 download with uart

时间:12-22 整理:3721RD 点击:

cc2530 download  with uart, which uart is user.uart0 or uart1.

If you don't change anything,it would be uart0.

just  pls take a look at the bootload source code. the macro definition, HAL_UART_ISR == 1.

option->c/c++ cmplier->preprocessor->Defined symbols

Can  I  use uart1 to download?

of course.

pls see _hal_uart_isr.c

#if (HAL_UART_ISR == 1)
#define PxOUT                      P0
#define PxDIR                      P0DIR
#define PxSEL                      P0SEL
#define UxCSR                      U0CSR
#define UxUCR                      U0UCR
#define UxDBUF                     U0DBUF
#define UxBAUD                     U0BAUD
#define UxGCR                      U0GCR
#define URXxIE                     URX0IE
#define URXxIF                     URX0IF
#define UTXxIE                     UTX0IE
#define UTXxIF                     UTX0IF
#else
#define PxOUT                      P1
#define PxDIR                      P1DIR
#define PxSEL                      P1SEL
#define UxCSR                      U1CSR
#define UxUCR                      U1UCR
#define UxDBUF                     U1DBUF
#define UxBAUD                     U1BAUD
#define UxGCR                      U1GCR
#define URXxIE                     URX1IE
#define URXxIF                     URX1IF
#define UTXxIE                     UTX1IE
#define UTXxIF                     UTX1IF
#endif

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top