qn9020

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

qn9020

1,320 Views
stevenmu
Contributor I

Why the QN9020 is not adverting BT signal after the MCU send the adverting command in EACI mode?
and where can i find the document or reference about QN9020 make a connecting with other BT device in EACI mode?

Tags (1)
0 Kudos
6 Replies

886 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Steven,

Are you using 9600 as a baud rate? What is the command that you are sending?

The EACI mode is with low power mode, are you waking up the QN?(gpio16)

Could you please take a look for the next doc? chapter 2.3

C:\QBlue\QN9020\QBlue-1.3.9\Documents\QN9020 Easy API Programming Guide v1.0

Hope it helps.

Best Regards,

Mario

0 Kudos

886 Views
stevenmu
Contributor I

Hi,mario,

thank you for your support, before this, it seem that qn9020 is in the sleep mode and i donnot wakeup it.

now,I have disable the BLE sleep function,and i send the command "EA01050130006400" to qn9020, it reply "ECFA0100". i donnot known the meaning of the reply and the master BT device still cannot found the qn9020 BT singal.so please give me some support,thanks!

0 Kudos

886 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Steve,

You are sending a wrong data, when the QN9020 received wrong command. it answer ECFA0100. So, be sure that you are sending 0xEA not the ASCII value.

Note:All commands should be transmitted with the least significant octet first (Little Endian).adv_command.PNG

Start Advertising - EA 01 05 01 30 00 64 00

Then you can receive some data. ED 01 01 01

ED = Event MSG_TYPE

01  = MSG_ID Advertising command complete event

01  = The length of Params.

01  = Data value 1

For more details for the other commands please take a look QN9020 Easy ACI User Guide

Hope it helps. Let me know if you still have problems

Best Regards,

Mario

0 Kudos

886 Views
stevenmu
Contributor I

Hi,Mario,

Thanks for your support, the connecting problem has been resolved.

but a new problem occurred,that is the qn9020 donnot reply the indication data after host send the request data.

host send the request data is "profile enable", send data is (hex):EB 01 08 03 18 47 59 04 BE 7C 08

and the host received nothing.

so pls give me some advices,thanks!

Best regards,

Steven

0 Kudos

886 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Steven,

What is the profile that you are working with?

Did you take a look for the data request and the data indication for the profile?

Best Regards,

Mario

0 Kudos

886 Views
vicentegomez
NXP TechSupport
NXP TechSupport

I will move this thread to the correct space

Regardas

Vicente Gomez

0 Kudos