Hi guys, I've been having endless trouble trying to use the Pro devkit for DA14531. Here's a digikey link to the exact device:
https://www.digikey.com/short/z1pc4f
Basically, the USB connection seems to be extremely unstable. LED D4 is always blinking on the PCB, and I can hear the USB connecting and disconnecting constantly.
On a few occasions the board has connected, but then it will suddenly disconnect minutes later for no discernable reason (I don't even have to be near it).
I suspect something is not soldered correctly on the board, or perhaps something is wrong with the on-board power supplies. The USB 5V supply is stable, but the other supplies seem very sketchy, especially the DA14531 buck supply, which is bouncing up and down around 100-200mV.
它不帮助这个德的文档v board are extremely confusing - in fact I have found that many of the diagrams are simply wrong. Moreover different documents show different and contradictory connections for the same tasks. This is the main reason I was unsure for so long of whether the PCB was defective or not.
On one occasion where the USB worked for a while, I managed to get the Blinky code example running. Of course, this was after discovering that the tutorial diagram for 1-wire UART was incorrect, and I had to read the full schematics and figure out the correct wiring for myself.
On the small possibility that准确的documents exist, could you point me towards them?
Obviously I will deal with Digikey to get a fresh and hopefully operational devkit.
嗨cmarcus.,
Happy new year and thanks for posting on our public BLE forums.
如果跟随,你能告诉我吗?UM-B-117:DA14531使用Pro开发套件(HTML)入门来自我们的网站?本教程展示了如何使用我们的SDK示例使用Pro-DK。HW配置是否正确?
So, the main problem is that the USB is connecting and disconnecting constantly? How did you verify it? For example, if you use theSmartSnippets Toolbox V5.0.14 for Windows OS, the Dk is being disconnected continuously ?
PS:将DA14581从DA14581更改为DA14531的初始帖子。
谢谢,PM_DIALOG.
我确实遵循了这指导。
The USB stability is the main issue. Every 1-2 seconds, the D4 LED on the board flashes for an instant, and I hear the USB connect/disconnect sound on my PC.
无论我做什么(即,无论主板设置如何,无论是插入/拔出的DA14531模块如何,USB都只是拒绝正确启动。如果我打开或不打开软件并不重要。偶尔,USB将无缘无故地连接。例如,我把电脑留下了5分钟,在某些时候刚刚决定连接。然后稍后它再次断开连接,没有我做任何事情。
I noticed suspicious things, like the USB would disconnect if I just waved my hand through the air nearby. To me, this indicates a solder joint failure (i.e. a floating input, which detects the electric field from my body). Visual inspection didn't find anything though.
嗨cmarcus.,
Given that the DA14531 is flashed with the Blinky example, it is expected that the D5 LED is blinking continually, as this is the functionality of this peripheral example. It doesn’t mean the USB connection is unstable. According 6.0.14.1114\projects\target_apps\peripheral_examples\blinky SDK example, the application is toggling the P0_9. This pins I connected with the D5 LED on the Pro-DK. Please try to erase the SPI flash, and then you will see the LED stops blinking.
After that, I would recommend to flash any of the SDK BLE examples 6.0.14.1114\projects\target_apps\ble_examples.
谢谢,PM_DIALOG.
LED闪烁是D4LED, which according to your own schematics is the USB indicator.
嗨cmarcus.,
Sorry for the confusion – probably I mis-read it, that’s why I posted for the LED D5. Let me check this out and I’ll get back to you shortly.
谢谢,PM_DIALOG.
Hi again,
所以我从Digikey获得了一个新的替代devkit,USB现在正常工作。我能够使用SPI Flash进行眨眼,没有问题。
现在我正在尝试使用SmartSnippets工具箱将代码加载到I2C EEPROM上的下一步。
I am precisely following the instructions in AN-B-072 for the I2C setup.
以下是SmartSnippets Toolbox的日志输出:
当提示时,我按下按钮“SW1 /重置”,但没有任何事情发生,并且在几秒钟后,它会如日志所示。
I have attached some pictures of my setup and a circuit diagram for clarity.
嗨cmarcus.
The SST does not support any flash capabilities by default. When the “Connect” button is pressed through the tool, a small firmware is downloaded into the DA14531 : flash_programmer_531.bin in case of UART and jtag_programmer_531.bin in case of JTAG.
Both binaries are generated be the 6.0.14.1114\utilities\flash_programmer project of the SDK.
。。\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.14\common_resources\SupportPackages\DA1453x\toolbox_resources\common
在这两种情况下,SST板设置中的SCL和SDA应在P0_2和P0_3中配置。
Please let us know with the results.
谢谢,PM_DIALOG.
谢谢你的详细信息instructions, it is greatly appreciated! I feel we are close to making this work. Here's my current status:
我遵循了你的指示,我现在能够按“Connect”并成功加载固件。这是那个日志:
Next, I attempt to "Burn & Verify" the .bin file for the Blinky example:
I also tried to read the memory using "Read 32KB":
When reading your instructions, I assume this was a typo "In both cases, the SCL and SDA in the SST Board setup should be configured in P0_2 and P0_3.".
I mostly tried to do it with SCL=P0_4 and SDA=P0_3. When I tried it with P0_2 and P0_3 I got the following error which I assume means an incorrect wiring:
那么,错误00000001是什么意思?
I have again attached pics of my current setup.
我已经注意到了一个可疑点...有时当我做“连接”时,我不需要按“SW1 /重置”按钮。它刚刚立即说“重置检测到”。我想知道这是否是正常行为?
我还尝试在EEPROM面包板上交换SDA / SCL连接,以防我向后倒退。我完全相同的错误“00000001”。所以我猜这个错误表明一般的I2C失败?
Do I need to provide pull-up resistors on the I2C bus, like on the breadboard?
YES! I finally got it working!
So it turns out Idid需要提供外部对SDA / sci引体向上。雅高集团ding to the datasheet, DA14531 has internal 25k pullups but these were not strong enough. I put my own 3.9k pullups on the lines, and now everything works.
I have attached before/after pics from my oscilloscope for the I2C bus.
So, I have 1 final question. After doing "Burn & Verify", I had to unplug+replug the USB to get the DA14531 bootloader to run and load the program from the EEPROM. I would prefer not to replugging the USB all the time.
Is there a way to reset the DA14531 in software, so that the bootloader will run? Without physically messing with the board?
I did try pushing the SW1/RESET button after Burn&Verify and it didn't do anything (did not cause the bootloader to run).
嗨cmarcus.,
You should be able to reset the Pro-Dk by pressing the SW1/RESET push button. If this does not reset the chip, please check if the HW reset functionality is disabled in the firmware - GPIO_Disable_HW_Reset(). If yes, please comment this out.
谢谢,PM_DIALOG.