Skip to main content

DA14531 Hongjia HJ-131IMH

HJ-131IMH

Tangshan HongJia Electronic Technology Co., Ltd. has developed a ultra-small, ultra-low power Bluetooth 5.1 SIP module with Dialog’sSmartBond DA14531小小的,世界上最小,最高效的蓝牙5.1 SoC。带内置高性能天线的HJ-131imh尺寸为4 x 4 x 1.3mm,在LGA17封装中,为需要超小占地面积的可穿戴设备和医疗器械提供理想的理想选择。

Features

Size: 4 x 4 x 1.3mm

Built-in high-performance antenna (External antenna can also be used)

Package: LGA17

GPIOs: 6

电源电压:1.1V-3.6V

TX < 3.5mA; RX < 2.2 mA

On-board antenna range: 5-10m; External antenna range: 40-80m

支持BLE 5.1, support WeChat and user develop

Built-in 4kB EEPROM

External memory support for Flash for user software and SUOTA

Operating temperature: -40℃ to +85℃

雷竞技安卓下载

Tiny medical applications

Beacons

Smart toys

Smart locks

Remote controls

Industrial smart devices

Every quarter, we bundle up the best technical info on our products, software development topics, trainings, events and deliver it to your inbox.

Sign me up

Stay connected

Get in touch with us directly through our worldwide sales offices, or contact one of our global distributors and representatives.

Inquiries Distributors and Representatives 注册新闻通讯
Datasheet
Name 日期 Version
DA14531 Honjia HJ-131IMH datasheet(696 KB) 12/05/2020 1.7
SDK User Manual
Name 日期 Version
DA14531 Honjia HJ-131IMH datasheet(666.9 KB) 02/07/2020 1.0 Beta

Ordering information

Samples available. Contact your local Dialog sales representative.

联系红嘉:liujiahang@tshjdz.com,wujunwei@tshjdz.com

Back to results

1 month ago

RAM allocation

Posted bymelj30 points 8 replies
0 upvotes

I've recently downloaded the latest SDK for DA14531 (6.0.4.1114) and tried to build my project but now the project cannot link due to not enough RAM free. The project builds fine with SDK 6.0.12.1020.2. What can I do to optimise the RAM usage? I am building on Linux using gcc-arm-none-eabi-7-2018-q2-update with optimisation -Os

In the release notes for SDK 6.0.4.1114 it states "1114/02 Defined extra free RAM area to be used by applications" - how is this extra RAM supposed to be mode available, or is it automatically available? Also can you confirm whether the SDK 6.0.4.1114 uses significantly more RAM than 6.0.12.1020.2? I am seeing something like an extra 2.5kB at least.

Also what should the #define CFG_RET_DATA_SIZE and #define CFG_RET_DATA_UNINIT_SIZE be set to? Are there implications for setting these incorrectly? Also where is the CPU stack size set? I find the whole documentation around these areas disappointing lacking or opaque compared to other platforms I have used.

Another related question: when I can build my code I find that the limit on total size is close to 40kB total as reported by gcc: e.g.

"text data bss dec hex
27180 156 11844 39180 990c"

In the above example if I increase a normal RAM buffer size slightly by only 256 bytes then the project cannot link due to the following error:

"/../../../arm-none-eabi/bin/ld: region RAM overflowed with stack"

This implies that the interrupt vectors, stack and heap sizes add up to around 8kB (since I believe that the DA14531 has 48kB total RAM) - is this correct, this seems like a unusually large amount to be allocated to these? Please advise.

1 month ago

PM_Dialog

Hi Melj,

Thanks for your question online. Could you please indicate which SDK project you are trying to build, so that I can try to replicate it? Are you using the Keil IDE?

Thanks, PM_Dialog

1 month ago

melj 30 points

I'm building my own project not an SDK project. I'm using the Smart Snippets Studio (Eclipse IDE) under Ubuntu, not Keil.

Thanks

1 month ago

PM_Dialog

Hi melj,

Let me check it and I'll get back to you.

Thanks, PM_Dialog

1 month ago

melj 30 points

Thanks, I wait for your reply.

1 month ago

melj 30 points

Do you have any progress with answering my questions please?

Thanks.

1 month ago

PM_Dialog

Hi melj,

Apologies for the delay, we are reviewing the details. SDK6.0.14 does consume a little from RAM than the previous version. We will comeback to you with the details and suggestions shortly.

Thanks, PM_Dialog

1 month ago

KB_Dialog

Hi melj,

我们仍在调查SDK版本之间的代码规模增加以及我们可以提供的指导来减少它。我们会尽快回复您。

此致,

KB_Dialog

1 month ago

melj 30 points

Hi

Thanks for investigating. I look forward to your reply to my original questions.

问候