yabo国际娱乐对话半导体客户支持- SPI https://support.dialog-semiconductor.com/resource-keywords/spi AD1468x - SPI半双工 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-hardware-device-reference-designs/ad1468x-spi
论坛: 

Hello

我确实需要与一个需要SPI半双工通信的SPI外围设备通信。< / p > < p >你能给我确认这是可能AD1468x和如何? < / p > < p >是复杂的SPI事务读写事务之间的回调函数,我们切换GPIO销函数DI合适吗? < / p > < p >提前谢谢< / p > < p > < / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> ad1468x

Device: 
.
2019年6月21日星期五10:02:45 +0000 bobspam@free.fr https://support.dialog-semiconductor.com, 311336 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-hardware-device-reference-designs/ad1468x-spi#comments
从Flash启动时,Flash不可读/写 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/flash-not-readwriteable-when-booted
"
"
"
"
field-type-text-with-summary field-label-hidden">

Hi all,

我已经完成了我的申请。它基于SDK中的ble_app_peripheral示例。我从spi_flash示例代码中添加了spi_flash_read和spi_flash_write。
当程序从RAM引导,从Keil引导时,一切都在工作。然而,当我燃烧十六进制文件闪存与smartsnippets(并单击是在弹出的地方,它要求使它可引导),应用程序不再完全工作。当我在软件中达到应用程序想要从flash中读或写时,在spi_flash_read或spi_flash_write中生成一个超时,并触发看门狗。让我强调一下,当完全相同的应用程序从RAM引导时,这个问题不会出现。我已经使用辅助引导加载程序为我的应用程序生成了一个可引导的十六进制文件,并使用smartsnippets烧掉了它(并单击弹出的no,不使它可引导),但这给了我同样的问题。每当应用程序从flash启动时,我就不能在我的应用程序中使用flash了。我真的很想听听这个问题的解决方案。

Kind regards,
Niek

Device: 
2017年10月19日星期四19:59:01 +0000 Niekvdd 104448在https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/flash-not-readwriteable-when-booted#comments DA14681开发板上启动BLE连接时I2C和SPI退出 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/i2c-and-spi-drop-out-when-ble
"
"
"
"
我们正在开发一个使用Dialog DA14681单片机、LIS331HH加速度计和MMC3416磁强计的物联设备。

一切连接良好,我们从两个传感器(accel通过SPI和Magneto通过I2C)获得读数。当我们启动BLE连接的那一刻,一切都变得非常糟糕。对于LIS加速度计,在运行的最初8秒,加速度计似乎通过SPI给出了正确的读数,然后所有3个轴只输出0。当使用UART调试器进行测试时,我们会看到一大堆奇怪的数据,这些数据显然是错误的。当我们将其切换到12C接口进行测试时,UART调试器在8-10秒后停止,什么也没有给我们。在I2C上的磁强计也出现了非常类似的问题。作为一个相当新的组件,DA14681有点像噩梦,但我希望有人遇到了同样的问题,有一些简单的东西我们错过了来解决这个问题。任何建议都非常方便!我附上了一些屏幕截图,这样你就可以看到发生了什么。< / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords / 14681”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > 14681 < / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords / spi”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > spi < / > < / div > < div类= " field-item甚至“> < a href = " / resource-keywords / i2c”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > i2c < / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords /优先”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >优先< / > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >设备:,< / div > < div class = "字段条目" > < div class = " field-itemeven"> da1468x

. 2017年10月4日星期三11:58:28 +0000 jetsonindustries 99205, https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/i2c-and-spi-drop-out-when-ble#comments DA14580 spi flash的引脚分配 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/da14580-spi-flashs-pin-assignment
"
"
"
"
field-type-text-with-summary field-label-hidden">

亲爱的先生,

我已经更改了运行该程序的flash的引脚分配。
下面是映射列表。
SPI_CS P0_3—>P0_2
SPI_CLK P0_0——>P2_1
SPI_DO P0_5—>P0_3
SPI_DI P0_6——>P0_4

我只改变了user_peripheral.h中的引脚分配,我也发现没有参考这些SPI pin定义。通过SmartSnippets下载程序(SPI Flash pin Configuration已相应调整)后,程序似乎无法运行。
你能告诉我DA14580从不同的引脚分配和不同的闪存加载程序代码的机制吗?
在编码中我还应该做什么?

Simon Best regards

关键词: 
< / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords /引脚分配”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >引脚分配< / > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >设备:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / forum-post-device / da14580”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > DA14580 < / > < / div > < / div > < / div > 星期二,2017年9月26日10:38:52 +0000 西蒙•王 96675到https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/da14580-spi-flashs-pin-assignment#comments 从SPI Master引导 https://support.dialog-semiconductor.com/booting-spi-master-0
"
"
"
"
field-type-text-with-summary field-label-hidden">

Hi,
我对AN-B-001 - "DA1458x从串行接口引导"有点困惑。
在表2:SPI主引导协议,何时将收到ACK/NACK ?
-当发送零字节

-当发送长度的LS字节?
同样,根据表的最后一行(byte nr.8),当发送数据的第一个字节时,将收到code/mode的ACK/NACK,
,但这与下一个表不对应。
我感觉MISO列的所有值都被移下一行。< / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords / spi”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > spi < / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords / booting-spi-master”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >引导from SPI master

< div class="field field-name-field- Device field-type- taxonomi -term-reference field-label-above">
Device: 
. 2016年9月01日星期四12:29:26 +0000 PDonchev 4536 https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/booting-spi-master-0#comments SPI GTL死锁 https://support.dialog-semiconductor.com/spi-gtl-deadlock
"
"
"
"
field-type-text-with-summary field-label-hidden">

Hi all,

我正在外部处理器配置中操作一个DA14580。它由一个uC (SPI主)使用GTL 5线SPI协议控制。我总是遇到陷入僵局的问题。当通过BLE传输一些数据时(因此uC和DA之间有很多流量),我遇到了DA和uC都想同时传输的状态。更具体地说,DA被卡在 spi_hci_write_func()函数中。它驱动DREADY信号高,并等待SPI传输(spi_wait_for_transfer()):


spi_dready_high();//断言dready请求传输
do {
spi_wait_for_transfer();//等待SPI主设备的SPI事务


uC在发送消息的同时被spi_send_hci_msg()函数卡住,等待DREADY信号变低:


// disable dready interrupt
dready_irq_disable();
//轮询dready检测是否正在接收数据
while(dready_get_status());


—在DA断言dready信号之前,uC关闭dready中断。
—dready信号高,但uC侧未触发中断。
-相反,uC等待dready信号变低。
- The dready signal won't go low, since the DA is waiting for an SPI transmission.
--> Deadlock

I'm wondering how the protocol intends to avoid running into the deadlock described above. From what it looks like there is no mechanism that prevents that situation.

Thanks!
mabraun

edit: tried to make problem description more comprehensive

Keywords: 
2016年7月26日星期二18:34:26 +0000 mabraun 4284 https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/spi-gtl-deadlock#comments DA14580开发套件基本连接 https://support.dialog-semiconductor.com/da14580-development-kit-basic-connections

Hi
我刚开始使用DA14580DEVKT-B板,我想在两个DA14580DEVKT-B板之间进行数据传输。
I am not sure about the connection between the microcontroller and the BLE。因为在UM-B-048的原理图中没有SPI连接,我只是发现了一个UART连接,但在UM-B-051中,据说通信应该通过SPI完成。哪一个是正确的?
如何确保BLE正在工作?因为我用DSPS软件找不到BLEs。
此外,是否有代码示例,使两个板之间的简单通信?就像发送一个字符串。< br / >谢谢,< / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords / da14580devkt-b”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > da14580devkt-b < / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords / spi”“=“skos:概念”属性=“rdfs: label skos: prefLabel” datatype="">SPI

Device: 
2015年12月13日星期日04:23:37 +0000 萨拉 2437, https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/da14580-development-kit-basic-connections#comments 外部SPI Flash的问题 https://support.dialog-semiconductor.com/issues-external-spi-flash
论坛: 

我有一个定制设计的PCBA,模仿信标参考设计(完全相同的电路)。作为参考,我从一个初级锂电池和bucking。但是,我使用AT25XE011作为我的外部闪光灯。我运行的FW是你的DA14580_BEACON_3.40.6->dialog_beacon_fh。信标确实有功能,可以从flash启动(SmartSnippets可以通过JTAG连接和擦除/写入/读取外部flash),并发布广告。然而,我正在经历一个意想不到的电流流和电池凹陷通过内存ic,这最终导致电池的寿命和运行时间非常短。我已经把它隔离到CS引脚。当我从pro-kit将AT25XE011连接到WLCSP断接板时,我得到了完全相同的行为。 Looking at the CS pin with a scope, it does not stay high after the initial memory read on bootup, which I would expect (de-selected when not in use, pulled up or pushed up internal to the DA14580). I can add a pullup (used a 10k in testing) from the CS line to the battery power rail which removes the battery sag. However, the CS pin isn't pulled all the way to the battery rail (I'm seeing a ~0.75V differential with a battery voltage at ~2.9V), so there is current flow across the resistor and/or through the memory IC.

Can you provide any insight into the source of the problem? Are there GPIO settings for the CS pin that need to be adjusted? Does the AT25XE011 behave differently than the W25X10CL?

Thanks,
John

Device: 
2015年7月8日星期三16:09:38 +0000 Jpelochino 1789, https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/issues-external-spi-flash#comments 快速SPI和低延迟BLE -同时? https://support.dialog-semiconductor.com/fast-spi-and-low-latency-ble-simultaneously
"
"
"
"
field-type-text-with-summary field-label-hidden">

Hi,

我正在考虑da14580的产品,需要:

1)通过SPI以5k字节/秒的速率接收数据
2)通过BLE将数据转发到具有低延迟(<由da14580引入的5ms延迟,+ ~20ms由iOS设备引入)的iOS设备。我相信da14580's SPI最大时钟速率(8MHz)和最大BLE数据速率(120-140kbps?)可以满足这些目标,但我不清楚da14580's处理器是否可以处理以这个速率接收传入数据,并通过BLE *同时传输它。谁能告诉我da14580是否能同时达到这些目标?是否有任何设计工具,excel电子表格等,可以帮助确定?

Device: 
Thu, 04 Jun 2015 15:50:30 +0000 krispin 1638, https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/fast-spi-and-low-latency-ble-simultaneously#comments 从外部微控制器加载固件 https://support.dialog-semiconductor.com/loading-firmware-external-microcontroller
"
"
"
"
field-type-text-with-summary field-label-hidden">

Hello,

在我的项目中,我计划使用微控制器来存储固件,并在启动时通过SPI将其下载到DA14580内部。最好的方法是什么:微控制器作为SPI奴隶还是SPI主人?你有执行这个功能的源代码的例子吗?

提前谢谢。
Matt。

关键词: 
. 2015年3月22日星期日18:20:04 +0000 马修安东尼 1228, https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/loading-firmware-external-microcontroller#comments