Programming of QN9021 via TTL-232RG-VSW3V3-WE?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Programming of QN9021 via TTL-232RG-VSW3V3-WE?

1,206 次查看
inuyashaitb
Contributor I

Hello, I created a program using the QN902x developers kit, and I am trying to actually program my QN9021 chip via the UART connections.

i have the TTL-232RG-VSW3V3-WE soldered directly onto the correct pins for UART1 connection (as there is not enough pins for UART0 on the 9021) and I am trying to flash my program via the BIN file that I created using the ISP tool provided, but when I try to flash it says "please reset the device to initiate flash." So, I reset the device and it never tries to flash.

Am I doing something incorrect? I have double checked my UART1 connections and they seem to be on the proper pins.

标记 (3)
0 项奖励
5 回复数

857 次查看
inuyashaitb
Contributor I

Yes, the reset is connected to logic 1, and is connected to pin 19.

0 项奖励

857 次查看
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Marshall,

UART0 or SWD interface together with Reset used for Qn9020 to download program.

The Interface must be through the UART0, could you please try with these pins?

Let me know your findings.

Best Regards,

Mario

0 项奖励

857 次查看
inuyashaitb
Contributor I

I cannot use UART0 because we are using the qn9021. It does not have UART0 pins

Sent from BlueMail

0 项奖励

857 次查看
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Marshall,

Could you please check the QN902x Ultra low power Bluetooth LE system-on-chip solution, Table 3. Pin description

http://www.nxp.com/documents/data_sheet/QN902X.pdf?fsrch=1&sr=7&pageNum=1 uart0 pins.png

As you can see, the P0_0  and P1_7 are the same pins used in the QN9020 Mini DK UART Interfaceuart0 interface.png

Best Regards,

Mario

0 项奖励

857 次查看
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Marshall,

Are you connecting the RESET to the pin 19? Can you see the qn9020 with the device manager?

The reset pin of QN902x is RSTN. It is logic low for reset, for normal using it
should be connected to logic high

For a better reference please take look for the next appication note

www.nxp.com/documents/application_note/AN11814.pdf?fsrch=1&sr=1&pageNum=1

Let me know your findings.

Best Regards,

Mario

0 项奖励