12 posts / 0 new
Last post
费尔南多·埃夫廷
Offline
Last seen:1年5个月前
加入:2014-11-14 13:50
DA14580 and MSP430

Hello!

I need to interface a MSP430 to a DA14580 using UART to send and recieve 8 bits of data, with a very low bandwith.
我只是看了一下串口服务。但我真的迷路了。
是否有一个步骤或类似的东西,显示哪些文件需要闪存到DA14580?

Some other questions:

1- Does the DA14580 comes flashed already? If so, what does it comes with?
2- If not, how can I flash it using an external microcontroler?

我应该在本周末完成这项工作,所以我非常感谢任何帮助。

谢谢您!

VesaN
Offline
Last seen:5年7个月前
上师 Master
加入:2014-06-26 08:49
我还不熟悉自己

我还不熟悉串口服务,但我想你需要熟悉一下

  1. 将uart驱动程序包含到项目中(uart2.c)。
  2. 在arch文件夹中的periph\u setup.c中定义uart引脚
  3. 熟悉uart2.c中的函数

Grab the UM-B-004 user manual. You can find additional information about UART driver there.

您的意思是要在外部模式下使用DA1458x吗?

费尔南多·埃夫廷
Offline
Last seen:1年5个月前
加入:2014-11-14 13:50
非常感谢你的帮助

非常感谢你的帮助replay VesaN.

是的,我的意思是在外部模式下使用DA14580,也就是说,使用一个外部微控制器。

I have included the uart2.c onto my project, btw I'm using Code Composer, but when I compile it, it keeps asking for more and more .c and .h files. How do I do that? And whats is the diference between UART.c and UART2.c?
为了使用DA14580发送和接收数据,我只需要做这些吗?我是说,我只需要用这个UART库来连接外部uC?DA14580上不需要任何附加配置?

再次感谢你,让我的生活更轻松!!!

VesaN
Offline
Last seen:5年7个月前
上师 Master
加入:2014-06-26 08:49
What .c and .h files?

What .c and .h files?

如果您想在外部模式下使用DA1458x,我想您应该在SDK的项目文件夹keil\u projects/proximity中看到reporter\u fe和monitor\u fe示例/

User manual UM-B-015, Software architecture (http://support.dialog-semiconductor.com/um-b-015-user-manual-%E2%80%93-s...)有更多信息(见第6-7页和第17-18页)。不幸的是,在第s页。17在UM-B-015中,主机应用程序和DA14580项目路径似乎与当前的SDK不匹配

塞巴斯蒂安·格雷尼尔
Offline
Last seen:4 years 1 month ago
加入:2014-10-23 16:35
我也试着这么做

我也试着这么做thing with a MSP430. I'm reading the UM-B-015, UM-B-017, UM-B-038, but It's not evident for me to where I should begin with. On other threads, you will see that a good start point is to read the book: "Bluetooth Low Energy : the Developers Handbook".
You can see the post here:http://support.dialog-semiconductor.com/bluetooth-basics.
希望我能尽快找到。。。祝大家圣诞快乐!

JE_Dialog
Offline
Last seen:1天19小时前
Staff
加入:2013-12-05 14:02
Hello Sebastien, I would

Hello Sebastien, I would suggest you talk to the Future team in CA : they can guide you how to implement DA14580. It really depends what you wnat to do... Our SDK is more open and complex than others (positive side is it gives ultimate flexibility, downside is it is more complex) and we are working on a new simplification to come in Q1.

如果您只是想使用外部MCU,并希望使用DA14580作为Android或iOS的基本BLE桥接器,那么串行端口配置文件就是最佳选择。我们将在下周发布最终版本。你可以把它想象成一个无线UART——在这里,它只是一个打开项目、进行任何配置、编译和调试的例子。。我们有很多人成功地使用了SPS“原样”。

Have a great XMAS !

BR JE_Dialog

塞巴斯蒂安·格雷尼尔
Offline
Last seen:4 years 1 month ago
加入:2014-10-23 16:35
Hi,

Hi,
这就是我需要的。我只是不知道从哪里开始。
Do I convert the UART2.c into my MSP430?
我使用PAN1740作为一个简单的UARTCOM端口(SPS),它将通过空中传送数据?
我在sdk中导航,不知道从哪里开始。我看了应用程序说明,但遗漏了一些东西。
我不需要的DA14580项目或源代码,它应该已经有了吧?
我只需要一个例子,给我一个初始化过程的PAN1740使用UART。
我认为这是过去的做法
"DA14580_581_SDK_3.0.8.0\host_apps\windows\proximity\reporter\include\" files. I saw on another thread that I would need these files to implement in my remote microcontroller.

在“对话框串行端口Service Source Code\DA14580_DSPS_3.150.1.5\dk_apps" we have the source code but for the DA14580 if I understand well. What is in the other side, in the remotre controller. That's what I need. Like in the windows host app but for a MCU. In my past, to init a modem we had @AT (Hayes) commands. What is the equivalent (or procedure) for the PAN1740 using the uart port?

Could you help me?

对不起,我不习惯它,我想有一个程序来初始化PAN1740,并使用它作为一个简单的uart到ble转换器。

Thanks a lot for your help.

p.s. I read UM-B-013, UM-B-017 and UM-B-038.

JE_Dialog
Offline
Last seen:1天19小时前
Staff
加入:2013-12-05 14:02
嗨,塞巴斯蒂安,有些是

嗨,塞巴斯蒂安,下面的网址第14节介绍了其中的一些内容。

http://na.industrial.panasonic.com/sites/default/pidsa/files/panasonic_p...

On the central side, you will need run the DSPS app (on Android or iOS) if running on a cellphone or tablet : on a PC, you can simply use a terminal (lile Teraterm) to stream UART data into the PAN1740 .

section 14 shows also a PAN1740 to PAN1740 connection (here you need one PAN1740 as 'host', one as 'device') or if you do a PAN1740 to phone/tablet the PAN1740 needs to be 'device' - this is to follow BT4.x convention of a master and slave..

我已经问过松下的团队了(wireless@eu.panasonic.com) to also comment on this.

Please let me know if this doesnt answer the question.. BR JE_DIalog

英戈
Offline
Last seen:4 months 2 weeks ago
上师 松下
加入:2014-01-16 11:19
Hi Sebastien,

Hi Sebastien,

the easiest is to use the DSPS example. You only need to load the device SW into one side and the host SW into the other side.
它们会自动连接,您无需配置它们—只需通过UART发送数据即可。
you will find the ready example in the DSPS SDK: dk_apps\keil_projects\sps

I assume you use the USB dongle for evaluation?

顺致敬意,
英戈

塞巴斯蒂安·格雷尼尔
Offline
Last seen:4 years 1 month ago
加入:2014-10-23 16:35
Thank you Ingo,

Thank you Ingo,
Yes, I used the USB dongles. It's working very well.
我在下一步。现在,我使用外部处理器将UART消息发送到PAN1740,并从中将数据设置到手机或PC。
I was wondering to know where to begin my code in my remote MCU. I read on some thread that we need to start from uart2.c, others from files console.h, uart.h, ble_msg.h etc... I would like to have a start point to setup the PAN1740 to send data. I'm currenlty initiating the UART in my MCU. The attribuated pins are those at 57600 bauds on the PAN1740. I also see "uart_sps.h". I'm lost to be frank with you.

I'm reading those source code files here :
DA14580_581_SDK_3.0.8.0\host_apps\windows\proximity\reporter\include
还有这里的人:
DA14580\U DSP\U 3.150.2\dk\u应用程序\src\modules\app\src\app\u项目\sps\uart

Thanks a lot for your help.
Sebastien

英戈
Offline
Last seen:4 months 2 weeks ago
上师 松下
加入:2014-01-16 11:19
Hi Sebastien,

Hi Sebastien,
basically you only need to initialize the UART on your MCU with the right baudrate and send characters. Once the "sps_device" connects to the phone >>use DSPS App for iOS (Apple Store) or Android (in the SDK) you can send characters.
顺致敬意,
英戈

塞巴斯蒂安·格雷尼尔
Offline
Last seen:4 years 1 month ago
加入:2014-10-23 16:35
Hi Ingo, I did tests and not

Hi Ingo, I did tests and not able to connect. I should set up (using the uart commands) the PAN1740 before trying to connect to it? Right?