12 posts / 0 new
Last post
费尔南多耗费
Offline
Last seen:2个月前1年
加入: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年4个月前
格鲁鲁 Master
加入:2014-06-26 08:49
我还没有熟悉自己

我没有熟悉串行端口服务,但我认为你需要

  1. 将UART驱动程序包含到您的项目(UART2.c)。
  2. 在ARCH文件夹中找到的Periph_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:2个月前1年
加入: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上无需任何adicional配置?

再次谢谢你,让我的生活更容易!

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

What .c and .h files?

如果要在外部模式下使用DA1458x,我猜您应该在SDK的项目文件夹中查看报告_FE和Monitor_fe示例:Keil_Projects / Proximity /

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匹配

Sebastien Grenier
Offline
Last seen:3年10个月前
加入: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.
希望我能找到很快...快乐的Cristmas大家!

JE_Dialog
Offline
Last seen:1 day 8 hours ago
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作为基本的BLE桥梁进入Android或iOS,那么串口配置文件就是要走的方式。我们将发布下周的最终版本。您可以将其视为无线UART - 此处,这将只是打开项目的情况,制作任何配置,编译和调试..我们有很多人使用SPS'原样'。

Have a great XMAS !

BR JE_Dialog

Sebastien Grenier
Offline
Last seen:3年10个月前
加入:2014-10-23 16:35
Hi,

Hi,
这就是我需要的。我只是不知道从哪里开始。
Do I convert the UART2.c into my MSP430?
我使用Pan1740作为简单的UART COM端口(SPS),它将通过空中发送数据?
我在SDK中导航,我不知道从哪里开始。我读了这个应用笔记,但我错过了一些东西。
我不需要DA14580项目或源代码,它应该已经正确吗?
我只需要一个示例示例,以使用UART给我Pan1740的init过程。
我认为这是它所在的东西
"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?

请原谅我,我不用于它,我想有一个程序才能in init1740,并用它作为一个简单的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 day 8 hours ago
Staff
加入:2013-12-05 14:02
嗨Sebastien,其中一些是

嗨Sebastien,其中一些内容介绍了以下URL的第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

ingo.
Offline
Last seen:1个月1周前
格鲁鲁 松下
加入: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?

最好的祝福,
ingo.

Sebastien Grenier
Offline
Last seen:3年10个月前
加入:2014-10-23 16:35
Thank you Ingo,

Thank you Ingo,
Yes, I used the USB dongles. It's working very well.
我在下一步。现在,我使用外部处理器向Pan1740发送UART消息,并从它设置到电话或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_dsps_3.150.2 \ dk_apps \ src \ modules \ app \ src \ app_project \ sps \ uart

Thanks a lot for your help.
Sebastien

ingo.
Offline
Last seen:1个月1周前
格鲁鲁 松下
加入: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.
最好的祝福,
ingo.

Sebastien Grenier
Offline
Last seen:3年10个月前
加入: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?