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.

CC2652R: Need HCI command set to setup CC2652R as peripheral role

Part Number: CC2652R


Hi TI

our AP/Router production has used the CC2652R1 for BLE and ran "host_test" FW image (build from TI CC13x2_26x2 SDK)

for now, we've to PASS Korea EMC authentication with BLE in LAB, for this requirement, the CC2652 BLE should be performed under "normal operating condition"

I've confirmed with LAB for "normal operating condition" that means handled the CC2652R1 BLE to be peripheral role and send "advertising" signal out, 

in the meantime, the LAB can using popular "BLE tool" in any cell phone to scan it.

so, please share the (CC2652R1) full HCI commands and setup flow for configure the CC2652R1 to peripheral mode and enabled advertisement signal out.

thank you

Danny

(EMC BLE requirement feedback from LAB)

It’s described that the test should be performed under normal operating condition (which means normal mode).

9.1 시험 구성

내성 시험 조건은 다음과 같다.

  • 내성 시험은 특정 형식의 무선기기를 다루는 각 제품 관련 표준에 명시된 동작 모드에서 이루어져야 한다.
  • 내성 시험은 정상적인 동작 상태에서 수행되어야 한다.
  • 만약 피시험기기가 시스템의 일부분이거나 보조기기에 연결되는 경우, 피시험기기는 포트를 활성화시켜 대표적인 설치상태로 필요한 보조기기를 연결하여 시험하는 것이 허용된다.
  • 탈착형 안테나로 명시되지 않는 한, 일체형 안테나의 무선기기는 정상 동작 상태에서 안테나를 장착시켜 시험해야 한다.
  • 별도의 합격불합격 판정기준이 없는 보조기기의 내성 시험은 송신기 또는 수신기에 결합하여 시험하여 보조기기의 합격 또는 불합격 여부를 판단한다.
  • 다수의 포트를 가지고 있는 제품의 경우, 실제 동작 조건을 구현하고 모든 형태의 종단을 포함할 수 있도록 충분한 개수의 포트가 선정되어야 한다.
  • 일반적인 동작 조건 시 연결되는 포트는 보조기기나 보조기기의 임피던스를 구현하기 위한 종단된 케이블의 일부분으로 연결되어야 한다. RF 입/출력 포트는 정확하게 종단되어야 한다.
    • 통상적으로 의도된 동작을 하는 동안 케이블에 연결되지 않는 포트, 예를 들어 서비스 커넥터, 프로그래밍 커넥터, 일시적인 커넥터 등은 EMC 시험을 하는 동안 어떠한 케이블에도 연결하지 않는다. 이러한 포트에 케이블이 연결되어야만 하거나 피시험기기를 구동하기 위해 연결용 케이블이 연장되어야만 하는 경우, 이러한 케이블의 연장이나 추가로 인해 피시험기기에 대한 평가가 영향을 받지 않도록 주의해야 한다.
    • 시험하는 동안의 동작 모드와 시험 구성이 시험 성적서에 상세하게 기록되어야 한다.
  • Hi Danny,

    I have assigned a relevant expert to help with your query. They will respond shortly.

    Best Regards,

    Jan

  • Hi Jan

    thanks for your support.

    look forward to reply

    thank you

    Danny

  • Hi Danny,

    Here are the steps to run host_test in the peripheral role.

    1. In the host_test project, under the Tools directory, open build_config.opt and add the following line -DHOST_CONFIG=PERIPHERAL_CFG+CENTRAL_CFG.

    2. Build and flash the device. Once flashed, open BTool and connect to the device.

    3. Under Advanced Commands -> HCI Extended, select and run HCIExt_ResetSystemCmd.

    4. Under Advanced Commands -> GAP, select GAP_DeviceInit and modify the parameters such that centralProfileRole is disabled and peripheralProfileRole is enabled. Run the command.

    You will see that this was successful through the log or by looking to the left at the profile role, which will have changed to peripheral.

    5. Under Advanced Commands -> GAP AE, select GapAdv_create and modify the parameters to fit your needs then run the command.

    6. Under Advanced Commands -> GAP AE, select GapAdv_setParam and change any advertisement parameters if needed then run the command.

    7. Under Advanced Commands -> GAP AE, run GapAdv_loadData.

    8. Under Advanced Commands -> GAP AE, run GapAdv_enable to start advertising.

    Please let me know if you have any questions!

    Best,

    Nima

  • Hi Nima

    thanks for your update, I'll go to check it,

    if i got issue, I'll reply it, thank you

    thanks again.

    Danny