亲爱的all,
I'm trying to figure out a way the Murata ZY module is set up. (1) Does anyone here can suggest, if it is shipped with BT stack installed? (2) If so, how do I 'activate' it? (3) If not, will purchasing Murata $300 dev board give me access to tools to install the BT stack on the module?
I only need the module as a wireless UART bridge, I do not need any custom application code on it, nor do I need to use GPIOs, OTP, serial memory or security features as long as it is possible to avoid it.
Thank you,
Edmunds, Latvia
Device:
Well, I did some progress over the weekend on Dialog basic development board - I got codeless thing to work played with it and also installed DSPS and got that to work. Then I tried to do the same on Murata module on my custom board.
I have made the following connections to my custom board with the module on it from the development board:
UTX => RX pin on the module
URX => TX pin on the module
RST => RST pin on the module
V580 => to power supply (is this really needed? could I not use the power supply of the custom board?)
GND => GND
VPP_OTP => VPP_OTP
VPP_CONTROL => VPP_CONTROL
On my board, the module is powered with 2.8V supply. I am not using level shift, there is little in the datasheet to affirm or deny this is OK.
I get the following errors, when trying to load a .hex file:
[INFO Booter @20-03-08 23:18:17] Read 18420 bytes from file C:\Users\PC\Downloads\DA1458x_DSPS_v_5.150.2\DA1458x_DSPS\v_5.150.2\projects\target_apps\dsps\sps_device\Keil_5\out_580\sps_device_580.hex.
[INFO Booter @20-03-08 23:18:18] Connection to COM13 port has successfully opened.
[INFO Booter @20-03-08 23:18:18] Started download procedure...
[ERROR Booter @20-03-08 23:18:33] Timeout: Reset signal not detected for more than 16000 msecs.
[INFO Booter @20-03-08 23:18:33] Successfully disconnected from port COM13.
[ERROR Booter @20-03-08 23:18:33] Error while waiting to receive STX from FTDI device.
[ERROR Booter @20-03-08 23:18:33] Failed downloading firmware file to the board.
I have tried everything I found on the forum on this and similar errors to no avail.
Any help to debug this appreciated.
Thank you,
Edmunds
Hi Peter Luo,
Thanks for your query. Which version of JLink are you using? In our Development Boards, we are using the JLink Lite and the maximum SWD clock speed is up to 2666kHz. Do you want to run the DSPS, as in Basic DK?
Thanks, PM_Dialog
Hi,
I'm not using JLINK, but I could if you think that would make downloading any simpler. How is speed relevant here? DSPS as for the basic DK would be at least an interesting proof of concept as my intention is to write a mobile app to issue simple commands on button presses over BLE for a local microcontroller to execute and send some data from the local device to the smartphone for status information.
Edmunds
Hi edmundssprudzs,
Thanks for your question online Please ignore my previous comment – it was for another forum thread. Apologies for that. The Murata ZY module is based on DA14580 product. The BT stack is in the ROM of the DA14580, so you will not need to activate it or purchase it. Regarding your follow up post, can you please clarify what you are trying to accomplish? Is it a customer board based on the Murata module? If you don’t have JTAG, you can use the Basic DK to have JTAG access. How are you trying to download fw in your custom board?
Thanks, PM_Dialog
Thank you for your reply, the previous really made me a little confused :)
Maybe we should start from ground up again. I would like to use the Murata module on a PCB of my own design to communicate over BLE. To keep matters simple for the beginning, lets say I want a simple DSPS-like solution, where I can send a few bytes of information from a smartphone app that can be read by an 8-bit PIC at the other (Murata module) end via UART.
What do I need to do with and on the Murata module to achieve this (the rest of the pieces are about understandable and I have designed several solutions with other hardware where this is working)? It is not like you supply power and can see the module advertising in this case as it has been with other solutions.
Best regards,
Edmunds
Hi edmundssprudzs,
You can program your custom design by using the Basic DK that you allready have. This can be done either via UART or the JTAG interface. Below are the required connections for each interface.
JTAG接口所需的连接:
J4 - Pin 1 (VBAT_580) - > Vcc of the custom board.
J4 - Pin 25 (TMS) - > SWDIO pin of custom board.
J4 - Pin 27 (TCK) - > SW_CLK pin of custom board.
TP2 Vpp的th - >e custom board (if OTP needs to be programmed).
J4 - Pin 2 (GND) - > to the ground of the custom board.
UART interface, the required connections are:
J4 - UTX - > on the RX pin of the custom board.
J4 - URX - > on the TX pin of the custom board.
J4 - RST - > to the RST pin of the custom board.
J4 - VBAT_580 - > to the Vcc of the custom board.
TP2 Vpp的th - >e custom board (if OTP needs to be programmed).
The open the Keil IDE and download the DSPS fw to the custom board System-RAM through the Basic Details. In the Keil IDE, in the Options for target -> Debug -> Setting tab, you should detect the Jlink SN number of your Basic DK. Also, you can burn the SPI Flash by using the SmartSnippets Toolbox
Thanks, PM_Dialog