Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit af6d120

Browse files
cvejlbofacchinm
authored andcommitted
Add workaround to wait for DSP to start (to support small NN synpkg files)
1 parent 6aebc85 commit af6d120

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎libraries/NDP/src/NDP.cpp‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,11 @@ int NDPClass::load(const char* fw, int bl) {
363363

364364
// after loading FW & DSP, we can configure the clk and increase SPI speed
365365
if (loaded == 2) {
366+
/* this delay can go away in an upcoming tiny ilib release
367+
* and instead be a loop waiting for DSP to start */
368+
delay(750);
369+
/* poll to process the DSP running indication */
370+
poll();
366371
configureClock();
367372
SPI1.endTransaction();
368373
SPI1.beginTransaction(SPISettings(spi_speed_general, MSBFIRST, SPI_MODE0));

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /