KW38 for BLE HCI TEST

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

KW38 for BLE HCI TEST

1,006 次查看
KenFeng
Contributor I

Hello,

I currently have two questions regarding the BLE testing for the KW38.


1. I am using frdmkw38_hci_black_box_freertos, and I noticed that the SDK function Controller_SetDTMBaudrate(gDTM_BaudRate_115200_c) can only use UART. How can I modify it to use CAN communication instead?

KenFeng_0-1736390492288.png


2. If I divide my program into two versions: a production test program and a production application program, and I use the production test program for HCI RF testing, completing the calibration values, will these calibrated RF values be modified if I reflash it with the production application program?


3. As mentioned above, if I want to include some HCI test content in the production application program, is that feasible? Could you provide an example?

FRDM-KW38 

标签 (1)
0 项奖励
回复
3 回复数

948 次查看
KenFeng
Contributor I

Hi @weidong_sun :

1. Can I use CAN bus to send HCI commands if I want the CAN bus to replace the UART interface?

2. I want to know that I calibrate RFIC parameters through HCI commands during the mass test process. If I reprogram the API code, do I need to calibrate again?

0 项奖励
回复

937 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Dear @KenFeng ,

 

>>1. Can I use CAN bus to send HCI commands if I want the CAN bus to replace the UART interface?

No, you can't .  

>>I want to know that I calibrate RFIC parameters through HCI commands during the mass test process.

No, you can't.  

>>If I reprogram the API code, do I need to calibrate again?

For the same design and product, you only need to calibrate once. Simply write the calibration data into your app.

 

Thanks!

Regards,

weidong

 

0 项奖励
回复

986 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Dear @KenFeng ,

 

See below, please!

--No.1 question

The function, Controller_SetDTMBaudrate(gDTM_BaudRate_115200_c) , is only used to set UART baud rate, it can't be modified for setting of CAN bus.

 

--No.2 question

RF calibration data should be placed in your application source code, The essence of RF calibration is to adjust the trim value of the 32MHz clock,see 'void BOARD_SetXtal32MHzTrim(uint8_t trimValue, bool_t saveToHwParams)' in board.c

 

--No.3 question

No other hci example code except for examples in SDK.

 

Thanks!

Regards,

weidong

0 项奖励
回复