DA14531 SmartBond TINY Module

In program using flash DA14531MOD missing P25Q11U_DEV_INDEX

Tue, 2021-01-05 15:05 -- lecarter190

I am trying to read/write configuration data to the flash in my program.  The configuration data is a 512 uint16_t array.  I am following the "Using SDK6 Peripheral Drivers" doc.   I tried to change the flash configuration to the on-board P25Q11U device on-board the module.  The P25Q11U_DEV_INDEX is missing from the enum in spi_flash.h of known devices.

I have included spi_flash.c and spi_531.c drivers.

Is there a specific 14531MOD example or documentation I can follow or a different driver I am missing?

Thank you,

Larry

 

Programming the device

Mon, 2021-01-04 15:25 -- Dvir12L123

Dear Dialog,

I have written a program to the da14531 daughter board and it works fine.
We have made a PCB with your DA14531 SmartBond TINY Module and we are currently trying to figure out how to program the device.
my question is, how to connect the DA14531 SmartBond TINY Module to the motherboard in order to pragram it or if there is a better alternative it would be great.

Thanks in advance,
Dvir

patch_func()

Thu, 2020-12-31 11:29 -- essele

Hi,

All of the example projects have a call to patch_func() in the periph_init() function, it's commented as "ROM patch" ... what does this do? And does it need to be called at every wakeup, or could it just be called once?

I've noticed that periph_init() seems to be the place recommended for general initialisation, but for normal BLE apps that use extended sleep this gets called at every wakeup, and if you're looking to optimise for power this can be handled differently.

SPI CS as FUNC_GPIO???

Tue, 2020-12-29 10:59 -- essele

Hi,

According to the datasheet (and looking at the driver) we have four options for CS on the SPI interface (SPI_CS_CONFIG_REG) ... off, using SPI_CS0, using SPI_CS1, and FUNC_GPIO.

What is the last one? I can't find any documentation covering it anywhere (in fact that doesn't appear again anywhere in the datasheet, only in a few places in the SDK.)

My assumption is that this will use any GPIO pin you like as CS, but presumably you need to control it yourself as needed and not rely on SPI module or driver to do it???

Why aren't the SPI flash pins routed externally?

Sun, 2020-12-27 19:49 -- essele

Hi,

I'm just getting to grips with the DA14531 module and things are generally going pretty well ... I feel slightly limited by the number of GPIO's, but it should all work out ok for my current project.

One thing has been bugging me ... why didn't you route the flash SPI pins out to the module external pins? There are 6 GND pins so surely adding P0-1/3/4 would have been possible, and then you would have had some more flexibility with GPIO's and the ability to re-use the existing SPI bus rather than having to find three more pins for it!

Sleep wake using BLE timer

Tue, 2020-12-22 12:43 -- balaji

Hi,

I'm using USB development kit , To minimize power consumption we are trying to incorporate one of sleep modes from following link

http://lpccs-docs.dialog-semiconductor.com/DA14531_Sleep_Mode+/introduct...

My requiremets are,

1. In Every 100 ms cycle it should go to sleep for  50 ms. (Remaining 50 ms it will do adc read and update to ble)

2. Through BLE timer it should wake up.

Changing UART pin on USB Development Kit

Sat, 2020-12-19 10:14 -- paolog

Hi!

In order to test hibernation mode on the DA14531 USB development kit I need to free PIN0_5 for hibernation wake up. On the DK this pin is used for UART for debugging information: is there a way I can move UART to PIN0_6 (for example) so I can at the same time keep debug information and have PIN0_5 available to wake the device up from hibernation?

I've already read the hardware user manual (UM-B-125), but I only found how to use PIN0_5, but this will disable UART debugging function.

Thank you.

Pages

Subscribe to RSS - DA14531 SmartBond TINY Module