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
I have modified the sample128 service to create my own, and I want to add serial communication as well.
Essentially I want to read and write characteristics of a service along with performing serial communication like DSPS as well. Is it possible ?
Thanks
Ankit