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.
Yes, the reset is connected to logic 1, and is connected to pin 19.
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
I cannot use UART0 because we are using the qn9021. It does not have UART0 pins
Sent from BlueMail
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
As you can see, the P0_0 and P1_7 are the same pins used in the QN9020 Mini DK UART Interface
Best Regards,
Mario
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