This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2340R5-Q1: Host_test funtion bring up error

Part Number: CC2340R5-Q1
Other Parts Discussed in Thread: CC2340R5, SYSCONFIG

Hi Ti team

     We are developing a bluetooth board with CC2340R5-Q1 for smart keyless entry application.  Then we would like to do some RF performence test by HCI cmd, and we can use Btool or Uart to control board to test.

     But when we flash host_test_LP_EM_CC2340R5_freertos_ticlang, the cmd doesn't work.

     1. For our design board, Our setting in CCS: host_test_LP_EM_CC2340R5_freertos_ticlang as below:

     1.1 Device: our developing Board: CC2340R5-Q1 

         Firmwave: host_test_LP_EM_CC2340R5_freertos_ticlang.out

         SDK: simplelink_lowpower_f3_sdk_7_40_00_64__win

         connectting:

         

     1.2 We change the number of pins to 32 pin for CC2340R5-Q1 and redefined pin 12&13 to TX&RX pin in host_test.syscfg

The way change pin 12&13 to TX&RX is refering UART pin mapping for CC2340R5 - Bluetooth forum - Bluetooth®︎ - TI E2E support forums

     1.3 Then we save the setting and flash the Firmwave: host_test_LP_EM_CC2340R5_freertos_ticlang.out and try to connect to btool, and our developing board can not connect to btool, and send cmd by uart, there is no response, too.

2. For LP_EM_CC2340R5, Our setting in CCS: host_test_LP_EM_CC2340R5_freertos_ticlang as below:

     2.1 Device: LP_EM_CC2340R5

         Firmwave: host_test_LP_EM_CC2340R5_freertos_ticlang.out

         SDK: simplelink_lowpower_f3_sdk_7_40_00_64__win

         connectting:

     2.2 Defalut host_test_LP_EM_CC2340R5_freertos_ticlang.out setting and Flashed. Btool and LP_EM_CC2340R5 is connecting error.

3. Then we chage the SDK to simplelink_lowpower_f3_sdk_7_20_01_10__win and still flash host_test_LP_EM_CC2340R5_freertos_ticlang.out to LP_EM_CC2340R5, Reapting the steps as 2, then we get the reponse from Btool and we use SA to test, the funtion work normally.

Therefore, We would like to ask you help us config any unreasonable action we did when we bring up our boards. And is there any SDK only work for CC2340r5-Q1 or any try we can do, If we want to control our developing boards? 

Thanks

     

  • Hi Annie,

    When changing the pins, are there any warnings or errors that appear in sysconfig?

    Do you mind sending me your .syscfg file to review?

    In the meantime, I'll try this on my end and see if I can reproduce.

    Best,

    Nima Behmanesh

  • Hi Nima

         Thanks for your reponse! We did meet some warning during we changed devices and pins when we flashed host_test , please help us to confirm.

         1. When changing the Devices to CC2340 Q1, there is a warning as below:

         

          2. After changing uart TX&RX pins, the warning as below:


        3. But in the end, CCS remind us the firmwave is flashed OK. And here is our host test.syscfg, please review, thank you very much.host_test.zip

    Best Regards,

    Annie

     

  • Hi Annie,

    Thank you for the files and information!

    I see that you're still using the display driver and that the name of the global used for the UART2 driver has changed. Have you updated the code to reflect this change?

    Have you removed the SPI driver from sysconfig? 

    Best,

    Nima Behmanesh

  • Hi Nima,

         Thanks for your remind! Now we got response from our developing CC2340R5-Q1 with btool!

         Here is our new setting:

    1. I got a host_test project from: CC2340R5: host_test DEMO test failed - Bluetooth forum - Bluetooth®︎ - TI E2E support forums, and zip file is: 1411.host_test_LP_EM_CC2340R5_freertos_ticlang.zip

    At first, We try the host test project in LP_EM_CC2340R5, it run successfully!

    2. Therefore, we changed CC2340R5 Q1 development platform and the TX&RX pin.

    Then, I changed the of UART2 as CONFIG_DISPLAY_UART, it is defined as same as the file NPI/Transport/UART/ npi_tl_uart.c

    and Re-defined SPI pins

    Now we can bring up our new boards with IQxel-80 by HCI cmd, Thanks for your help!

    Best Regards,

    Annie