dsps doesnt detects a murata module

7 posts / 0 new
Last post
roinovi.
Offline
最后一次露面:3 years 10 months ago
Joined:2015-11-04 18:11
dsps doesnt detects a murata module

hello
i have tried the dsps example on the dialog 14580 dk basic and it works ok but when i burn the same
示例到Murata模块(通过SPI连接的闪存,使用智能片段),我的iPhone上的DSP应用程序检测到它一秒钟,而不是该应用程序不再检测到它。
the app detects the module for a second only after a power reset of the module.

i thought maybe the program enters a sleep mode for some reason (although in the DK it doesnt)
is there an external sleep pin that needs to be high or something?

could it be that the sram gets deleted maybe?
what can be the reason ?

tnx
roi

Device:
mt_dialog.
Offline
最后一次露面:3 months 19 hours ago
Staff
Joined:2015-06-08 11:34
Hi roinovi,

Hi roinovi,

Since you burn the DSPS application in the SPI the 580 needs a reset in order to boot. Please check if without extended sleep mode the device is operating normally (undefine the CFG_EXT_SLEEP in the da14580_config), if it does then it should be the clock settings of your application. Please check in the da14580_config.h file the if the CFG_USE_DEFAULT_XTAL16M_TRIM_VALUE_IF_NOT_CALIBRATED is defined also try to change the low power clock from XTAL32 to the RCX20. Since your device advertises only for a while and stops as soon as it enters sleep it should be a clock issue.

谢谢mt_dialog.

roinovi.
Offline
最后一次露面:3 years 10 months ago
Joined:2015-11-04 18:11


i have undefined the "CFG_EXT_SLEEP" and the dsps app detects the module only after the module reset (if the app detected the module after the module reset it will keep detecting it even if i keep pressing "search again" in the dsps app, but if i reset the module and presse "search" in the app after a few seconds the app will never detect the module even if i press "search again" a few times).
once detected, the signal is very low (one bar at the maximum even in very close proximity)
is it a software or hardware issue?
关于上面的POST:我在代码中看到了CFG_USE_DEFAULT_XTAL16M_TRIM_VALUE_IF_NOT_CALIBRATED的定义,是否应该?
where should i change the " low power clock from XTAL32 to the RCX20" and what does it do?
tnx

mt_dialog.
Offline
最后一次露面:3 months 19 hours ago
Staff
Joined:2015-06-08 11:34
Hi roinovi,

Hi roinovi,

由于刻录闪光灯,因此刻录后设备需要复位,以便运行引导加载程序并从闪存中运行FW。DSPS Android应用程序不会不断扫描,它仅扫描几秒钟,然后才能执行新的扫描序列,您必须再次按扫描。所以如果我在第一次按下时正确安置,则重置模块靴子,而第二次它不会从SPI启动?是否使用电源测量功能的Murata模块,以将其连接到智能片段并检查它是否广告?我们在对话的套件中没有看到这些行为。

是的,CFG_USE_DEFAULT_XXTAL_TRIM_VALUE_IF_NOT_CALIBRATET应定义,以便FW加载XTAL16的默认修剪值。我不知道正在使用的Murata模块,上面提到的配置我在XTAL32和RCX之间的低功率时钟源或从OTP读取配置。

谢谢mt_dialog.

roinovi.
Offline
最后一次露面:3 years 10 months ago
Joined:2015-11-04 18:11


in regards for the detection. what you described is not the case, its not that in the second module reset the dsps app doesnt detects,
我只有一次复位模块,如果我按“search" in the dsps app immidiately after the module reset, the app detects the module and will keep detecting it even when i press "search again" a few times after the initial detection
but if i wait a few seconds after the module reset and then press "search" it doest detecs the module
situation is like this (2 possibillities):
1)module reset->immidiately press "search" in the iphone app->detection but low signal (0-1 bar)->press "search again"->detection low signal->press "search again"->detection etc.
2)module reset->wait a few seconds and then press "search" in the iphone app->no detection ->press "search again" ->no detection->press "search again"->no detection etc.

so now, "CFG_EXT_SLEEP" is undefined and CFG_USE_DEFAULT_XTAL_TRIM_VALUE_IF_NOT_CALIBRATED is defined.
一些问题,请解释或欣赏知识来源:
1)what could be the reason for the low signal? could it be a clock issue or some kind of hardware issue?
2)what is "trimming value for the XTAL16", what is XTAL16? trimm what?
3)XTAL32和RCX之间的区别是什么?什么是低功率时钟?
4) where\in how many places do i need to change the XTAL32 to RCX?
i am not using OTP so what did you mean in your last line above?
tnx
roi

mt_dialog.
Offline
最后一次露面:3 months 19 hours ago
Staff
Joined:2015-06-08 11:34
Hi roinovi,

Hi roinovi,

1) What is the murata dev kit you are using ? i have一些测试on the P2ML3656 , seems to be working ok (RSSI -35 db with a generic app almost identical with the basic kit both dev kits next to the phone). If you are experiencing these kind of trouble and since there are is no such issues when running the code on the basic kit i would assume that it most probably is a hardware issue.

2) The XTAL16 is the crystal that povides the 580 the proper clocks in order for the proccessor and the radio to operate, the crystal needs to be trimmed in order to reach ppm required for the bluetooth spec (50ppm). Please check the following FAQhttp://support.dialog-semicondiondiondum/faq-page#n388.

3) The 580 also uses a low power clock source which switces when it falls into low power mode. The low power clocks can be provided either by a crystal (external - XTAL32) or by an internal RCX circuit. Which of the two provides the clock source can be chosen in the da14580_config with the CFG_LP_CLK the settings are indicated by the comments next to the #define.

4) The only place you have to change this is in the da14580_config.h.

虽然我不认为低RSSI是错误的水晶设置的大声,因为当你不使用睡眠模式时遵守这个问题。

谢谢mt_dialog.

roinovi.
Offline
最后一次露面:3 years 10 months ago
Joined:2015-11-04 18:11


we have added a resistor near the antenna and it seems to fixed the low rssi
although sometimes if we press the "search again" button in the dsps app a few time it detect the ble module with low rssi