Hi There,
我想使用UGMZ2AA作为通信接口(接收器/发射机)。在PCB上,我想使用UART提供数据。另一方面(PC,智能设备等),我希望有一个虚拟的连接。
我尝试了一下SmartSnippets工作室,并尝试使用UART模式访问EEPROM。好的,在板设置下,我设置所有在我的自定义PCB指定。UART使用(P0_0[TX, RX], P0_1), I2C使用P0_6[SCL]和P0_7[SDA]。SPI未使用,设置为P2_3, P2_2, P2_1, P2_0。
我能够使用来自Segger或UART的JTAG程序员编写模块并显示模块。 Until now, I haven't figured out how to access the EEPROM to store the program.
Some questions:
I noticed that the module is only programmable when reset is low, is that correct?
The program is stored only for so long. Once the reset is released, the program is gone.
The module loses its programming as soon as I cut power, right? I would have to put the firmware either in the EEPROM(i2c) or in a FLASH (spi) to keep it permanently?
Does the module check all possible addresses for the EEPROM or do I define that in SmartSnippets once?
I2C options, how do you interpret the device address? 1010 0000 -> 0xA0 or 0x50? I have seen both and I couldn't find any specification in your documentation.
Kind regards
在SDK 5.0.2.1的peripheral_examples中提供的示例uart2_async中,方法uart2handler调用uart2_rec_data_available_isr,但我不明白是什么在调用UART2_Handler方法本身。
还有一个UART2_Handler_func方法,它似乎没有在任何地方定义。有人能解释一下这是怎么安排的吗,所以我可以使用它正确吗? < / p > < p > < br / >感谢Ankit < / 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 / uart2 typeof =“skos:概念”属性= " rdfs: label skos: prefLabel”数据类型= " " > uart2 < / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords / isr”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > isr < / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords /中断”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >中断< / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords /处理程序”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >处理< / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords / da14580-uart”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > DA14580UART < / > < / 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 >
我从M3发送901字节每128毫秒,这接近定义的最大吞吐量的DSPS,并期望在PC中得到它们,但我得到大约1-2个包每分钟丢失。
为了克服这个问题,我能做什么?< / 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甚至“> < a href = " / resource-keywords /需求方”“=“skos:概念”属性=“rdfs: label skos: prefLabel” datatype="">DSPS
我在手机上运行DSPS应用程序,并设法连接到设备。当我单片机发送数据在手机中的应用程序(我使用控制台窗口),但是当我输入手机上的应用程序我不要收到任何单片机端(我也看一个范围,尝试断开单片机看看P0_4但没有传播反应类型的android应用程序)。< / p > < p >我很感激我能够得到任何帮助< 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 /需求方”“=”skos:概念”属性= " rdfs: label skos: prefLabel”数据类型= " " >需求方< / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords / android”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > android < / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords / da14580-uart”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > DA14580 UART < / > < / 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 >
我有几个问题:
DA14580是否为UART做好了准备,而不需要为它编程或为它编写新代码?< br / > 2。如果我们需要为DA14580编写新代码,我们如何将新的可执行文件刻录到它的OTP中?这将是大量的工作下载在每个芯片的生产。< br / > 3。为了将可执行文件烧录到OTP,我们需要访问哪个DA14580端口或引脚来进行读/写?< br / > 4。如果我使用DA14580作为蓝牙驱动,是否需要获得任何许可或认证?< br / > 5。 If I use the Murata LBCA2HNZYZ-711 Bluetooth module, which contains the DA14580, do I need to program it and/or obtain licenses/certifications?
Thank you in advance,
Shawn