QN9080 FSCI Black Box SPI debug error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

QN9080 FSCI Black Box SPI debug error

994 Views
emilien_wingert
Contributor I

Hi,

I'm using the QN9080 DK board and the MCUXpresso 10.2.0 IDE (along with the SDK v2.2).

I'm having issues running the FSCI black box on my QN9080 using SPI transport in the Serial Manager.

I hardly modify the base example to use SPI, I only achieve these few steps :

   - Load the FSCI black box example (freertos), semihost enabled, C11 flag

   - Unset the gSerialMgrUseUart_c macro in app_preinclude.h

   - Set the gSerialMgrUseSPI_c macro in app_preinclude.h

When I start debugging the program (ie. the programmed is loaded in the flash, I click resume), i get a debug error saying the following :

"Target reported errors

Reasons :

   16 : target error from status-poll

   Wire ACK fault in DAP access"

The error does not occur when I use the UART version.

I already tried the following fixes which did not work :

   - Import the project in a new workspace

   - Declare the DAP pin in the pinmux

I might be doing something wrong here.

Thanks in advance.

Have a good day,

Emilien.

Labels (1)
0 Kudos
3 Replies

835 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

By checking the code, I see that definition as well in the SerialManager.h if you did not change that  that might be causing you some issues, also, I would recommend you to use the latest version for both the MCUXpresso IDE (10.3.1)  and confirm you have the latest version as well of the SDK. 

Regards, 

Estephania 

0 Kudos

835 Views
emilien_wingert
Contributor I

Thanks for your answer.

Well, I updated my MCUXpresso IDE to the 10.3.1 version and made sure I used the latest version of the SDK by downloading a fresh zip on the software center. Yet the problem still occurs.

I also tried editing the SerialManager.h file directly, but that did not change it either. I would rather not alter the sources of the framework, since every macro has been protected in order to be overriden in the app_preinclude.h file.

Also what I forgot to mention in my first post is the fact that after the "Wire ACK fault in DAP access" error occurs, I must recover the board by going in ISP mode (shorting JP15).

I don't know what goes wrong there.

Have a nice day.

Emilien.

0 Kudos

835 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

This thread will be managed internally. 

Regards, 
Estephania 

0 Kudos