Hi Dialog:
Through the forum posts, I know that I can refer to the CodeLess application, and I can implement the SPS function by using 2 serial ports, just like DSPS, but I have encountered the operation according to the user guide and manual To the following question:
1. The file "codeless_531_standalone.hex" was not found in the folder "DA14585_DA14531_CODELESS_v_6.380.9.10". This file was obtained after Keil compilation. Is this operation correct?
2. There is very little information about CodeLess, especially about DA14531, can you provide more information to help us develop?
3. Can you provide more information about the application of CodeLess on SPS and SUOTA?
4. In the forum, you can see that there is a lot of demand for using a 2-wire serial port for SPS. Will there be plans to launch a 2-wire DSPS code in the future? If so, can you provide an approximate time?
Thank you very much for your support, it will let me learn more!
Hi,
Pls find my comments below:
1. Pls open the Keil project in the path: codeless_v_6.380.9.10\projects\target_apps\codeless\codeless_5xx\Keil_5\codeless_585.uvprojx. Then you can find the datapump/standalone options beside the"Download" button. Select one and build
2. So far we have a online documenthttp://lpccs-docs.dialog-semiconductor.com/UM-140-DA145x-CodeLess/index.htmlto guide on user's development. What kind of information are you expecting to.
3. Sorry, I'm not quite sure what you want? Could you tell more info on what are you going to do?
4. The flow-control of DSPS is neccessary to ensure data throughput and stability. Users can consider using the binary mode of the codeless project to implement the two-wire serial port transmission function
Br
Yibin
Thank you for your answer. I have referenced the tutorial and have successfully implemented 2 wires to realize the serial data transmission function, but this does not meet my needs. To achieve 2 wires in the tutorial, the serial data is converted by sending AT commands through the mobile app, but I want to be The DA14531 chip can be switched to sps when it starts to work, instead of sending AT commands through the mobile phone APP. How should I solve this problem? Thank you
Hi MrWeng,
You can try to switch to binary mode by sending a virtual AT. That is, for example, when the device got connected, you can call the api below to enter the binary mode:
user_on_connection()
{
user_cmd_interpreter("AT+BINREQACK\r\n",sizeof("AT+BINREQACK\r\n"), CMD_SRC_REMOTE);
}
Hope this will solve your problem.
这解决了我的大问题。我想问一下我是否可以使用UART2。我需要使用两个UART。UART1用于接收MCU发送的数据。UART2用于接收并发送到GSM模块的命令。我应该怎么办??我应该注意什么?非常感谢你
Sure you can.
您可以使用UART2与UART1相同。
Pls share more information for me if you met some issues on this, thus I can give a hand.
About CodeLess, I also want to know the following information:
1. How to modify the device name, in the user_config.h file, I found #define USER_DEVICE_NAME, but after I modified it, it did not take effect, and I did not see any information on the UM-B-140: DA14531-DA14585 CodeLess page How to modify the device name, please tell me how to modify the name.
2. I want to know which function is mainly used to send the data received from the serial port to the mobile phone APP via Bluetooth. Please tell me the name of this function.
3. I want to use the SOUTHA function, what information should I refer to? Or how should it be done?
Thank you very much!
我看到另一个线程对这个新课题,let's go on discussing on that thread:
https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software-dialog-%E2%80%9Csmartbond%E2%80%9D%E7%B3%BB%E5%88%97%E4%BD%8E%E5%8A%9F%E8%80%97%E8%93%9D%E7%89%99%E2%80%94%E8%BD%AF%E4%BB%B6/some