Hi All,
I have added PTM mode support to my project and got problem that board stopped processing button inputs.
Our HW design is quite similar to CC2541 mini-dk and uses 1.4.0 SDK. P0.0 and P0.1 are connected to two buttons and for PTM support only P0.2 and P0.3 are available for USART on our HW. While adding PTM support I followed TI recommendation http://processors.wiki.ti.com/index.php/PTM so that among other modifications I update dependencies to include HAL_DMA definition.
INT_HEAP_LEN=3072
HALNODEBUG
OSAL_CBTIMER_NUM_TASKS=1
HAL_AES_DMA=TRUE
HAL_DMA=TRUE
POWER_SAVING
xPLUS_BROADCASTER
HAL_LCD=FALSE
HAL_LED=FALSE
CC2540_MINIDK
HAL_ADC=TRUE
DC_DC_P0_7
HAL_UART
IAR linker gave me a warning “Warning[w52]: More than one definition for the byte at address 0x6b in common segment INTVEC. It is defined in module "hal_uart" as well as in module "hal_key"” so that I had to look at TI sources and found that both modules seem to assign two ISR routines to the same interrupt vector 0x6B.
This seems to me a configuration problem within TI SDK. So two questions:
-
Is our desired HW configuration (P0.0 and P0.1 are connected to two buttons and for PTM support P0.2 and P0.3 are for USART) valid?
-
What is configuration of TI SDK that will allow to achieve this?
I have read post http://e2e.ti.com/support/wireless_connectivity/f/538/t/238228 that describe similar problem and propose a solution to create new configuration.
We are quite close to production and PTM support is the last feature to add so I’d really appreciate help from TI and community.
Thank you and best regards.
ipozd