DA14580

READ_NVDS_STRUCT_FROM_OTP

Wed, 2016-01-06 09:17--vikramtheone

Hi,
I would like to understand what would happen if I have#undefREAD_NVDS_STRUCT_FROM_OTP in my application and burn my application into the OTP.

To put it in other words, I would like to understand if we are burning an application into OTP is it a MUST to have READ_NVDS_STRUCT_FROM_OTP defined?

I'm in the middle of understanding how to:
1. Go about with loading an application into SRAM from OTP.
2. Booting from OTP (Normal mode)

蓝色的直接测试模e some command was failed

Wed, 2016-01-06 05:06--Lane

Hi Dialog
I was download the code of protest.hex to my product for BQB ,and there is some comand have no return:

Command: WriteScanEnable
发送:0 x011a0c0103
Expected: 0x040EXXXXXXXX00
Received: [Empty]

Command: SetEventFilter
Sent: 0x01050C03020002
Expected: 0x040EXXXXXXXX00
Received: [Empty]

Is the test code no support these command?
I was used the two-wire(only TX RX wire), and also some command was success as follow:

app_easy_timer can be used to wake up da from deep sleep mode?

Wed, 2016-01-06 03:49--achao1104

in a post, it mentioned:
please note that ke_timer_set cannot wake the DA14580 from sleep modes : you can only do that with app_timer_set.
I checked through the codes of app_easy_timer, it looks like using ke_timer_set, so it can not be used to wake up? what is the difference between app_timer_set and ke_timer_set?
Peter

sps_device using spi

Tue, 2016-01-05 21:14--jonathanRatelle

Hello,

I can use the sps_device project to communicate using UART but I would like to use SPI.

What are the steps to do it? I uncommented the #define CFG_HCI_SPI and commented out #define CFG_HCI_UART in da14580_stack.h:
//#define CFG_HCI_UART
#define CFG_HCI_SPI

In arch_system.c :

#ifdef CFG_HCI_SPI
// Creation of SPI external interface api
const struct rwip_eif_api spi_api =
{
spi_hci_read_func,
spi_hci_write_func,
spi_hci_flow_on_func,
spi_hci_flow_off_func,
};
#endif

shall we use external xtal 16Mhz on earth?

Tue, 2016-01-05 02:06--achao1104

hi dialog,

In the attachment page 1, it says there are 16Mhz 32.768Kz XTAL within da14580, but in the attachment page 2 or any other reference designs downloaded from dialog, the 16Mhz XTAL is outside da14580, that means XTAL is needed to connect to da14580 externally. Shall we use external XTAL or not?

Peter Fu

Pages

Subscribe to RSS - DA14580