⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
8 posts / 0 new
Last post
alan.a
Offline
Last seen: 3 years 5 months ago
Joined: 2018-10-31 07:50
Chip Selection

Hii....
I need a help to select a chip . can you guide which chip is suitable for my application
I want beaconing,Scanning,Random number generator,RTC(local time) and internally store data in chips.
can you help me which chip is suitable for my application. another thing i want to reduce cost.
need a advise on this topic

Device: 
PM_Dialog
Offline
Last seen: 2 months 2 weeks ago
Staff
Joined: 2018-02-08 11:03
Hi alan.a,

Hi alan.a,

The DA1468x family devices support software implemented Real Time Clock (RTC) functionality. Be aware that RTC does not exist as hardware block, but the is an official software implementation in our support page and it is tested into the DA1468x. If you use an external crystal oscillator XTAL32K, the drift that you will have per day will be max 1 second (worst case), but if you use the RCX, you will have 18 seconds drift on average per day. I would strongly suggest you to have a look at the Real-Time Clock (RTC) Concept (HTML) from the tutorials tab of DA14680 from our portal. Regarding the True Number Generator, please check the section 16 of the DA14680 datasheet in order to see the hardware architecture and theν use the appropriate APIs from hw_trnh.h/c library. Also, beaconing an scanning application could be implemented in DA1468x family devices.

Thanks, PM_Dialog

alan.a
Offline
Last seen: 3 years 5 months ago
Joined: 2018-10-31 07:50
Hii....

Hii....
1. Is it possible RTC implementation in DA14580?
2. Is Random number generation is possible in DA14580?
cost is major factor in my project. can you give some advise about this?

PM_Dialog
Offline
Last seen: 2 months 2 weeks ago
Staff
Joined: 2018-02-08 11:03
Hi alan.a,

Hi alan.a,

  1. The RTC implementation is not available in DA14580.
  2. The True Random Number Generator (TRNG) is not existed as a hardware block, but we have an available API of this kind of usage, so I would highly recommended to have a look at the SDK and follow the USE_TRNG definition. You can get a 128-bit random number by calling the function trng_acquire() from trng.h/c library. To enable the True Random Number Generator you need to define the CFG_TRNG flag. A random number is generated at system initialization and used to seed the C standard library random number generator. In order to get from the 580 a random number the SDK uses the radio module and by altering the values of the radio registers it obtains the random number. Please, check the source code of trng_acquire() function.

I would like to let you know that if you found any of the above answers useful please mark one of them as accepted.

Thanks, PM_Dialog

alan.a
Offline
Last seen: 3 years 5 months ago
Joined: 2018-10-31 07:50
Hi...

Hi...
Thanks for your valuable advise
Is it possible internally store user data's in chip DA14580?

PM_Dialog
Offline
Last seen: 2 months 2 weeks ago
Staff
Joined: 2018-02-08 11:03
Hi alan.a,

Hi alan.a,

The DA14580 has following on-chip memory:

- 84KB ROM

- 32KB One Time Programmable (OTP) ROM

- 50KB on-chip RAM of which:

84KB ROM is dedicated for Bluetooth Low Energy Stack. 50KB on-chip RAM is available for GATT based profiles, application code and runtime memory consumption (e.g. heap, stack).

Also, you can check the DA14583 which has an internal SPI Flash memory and you are able to store data. Be aware that OTP stands for One Time Programmable, thus you can’t erase and re-write the OTP multiple times, but you can only flip the bits that are still set to 0 and turn them to 1.

Please check the DA14580 and DA14583 datasheet in order have a better view of their available memories. Could you please explain a bit more you question? Do you want to stare data permanently and retain them after powering the device off?

Also, be aware that the selection between DA1468x and DA1458x depends on the application that you would like to implement

Thanks, PM_Dialog

alan.a
Offline
Last seen: 3 years 5 months ago
Joined: 2018-10-31 07:50
hii...

hii...
If i go to 14680 RTC,Multiple role(advertising and scanning),True random number generator and internally storing data is possible. I need an advise for this.
i want to all this functionality. so which chip is you preferred. Is it 14680 covers all this functionality?

PM_Dialog
Offline
Last seen: 2 months 2 weeks ago
Staff
Joined: 2018-02-08 11:03
Hi alan.a,

Hi alan.a,

The chip selection depends on the application that you want to implement.  As I have already mentioned, the DA1468x support only software implementation of the RTC. Also the DA14680 and DA14682 have internal SPI Flash. The DA14680 is freeRTOS based and the DA14682 is bare-metal based. Be aware that DA1458x and DA1468x family devices have completely different functionalities and different SDK, so I would suggest you to have a look into our BLE products and SDKs.

Thanks, PM_Dialog