Hello.
I am designing a board using KW45, and I would like to transmit CW for the antenna design.
If possible, I would also like to be able to vary the power and channel.
Please tell me which sample code I should refer to.
If there is no sample code, please tell me how to transmit CW.
Hi,
From this guide you know how to make your own App Custom Commands, place where you have personalized the behavior that you could send the raw commands through the external tools.
There is also the explanation on how to set the serial interface and how to make your own costume transport interface, this is the key to have it running the Custom Command Handler.
Take on mind that on the handler there is the switch that will check the opcode (custom input on the serial command) and will set the channel, set the power and generate the CW signal .
With this, you would need to take the functionality, and port it to your custom application, but this is something each customer would need to implement.
Regards,
Itzel.
Thank you for your answer.
I would like to achieve this without using external tools if possible.
Ideally, after the power-on reset and initialization process is completed in the main function, the process should continue CW transmission at any channel and power. (CW transmission process can be an infinite loop).
Please answer with a concrete code example.
Best regards.
Hello,
There is a SDK example that goes with the name hci_hh_bm.bin, this demo provides the RF evaluation test results of the KW45B41Z-EVK for Bluetooth Low Energy (LE) applications on Two Frequency Shift Keying (2FSK) modulation.
The basics that you need to know about the example will be on the SDK>docs>wireless> Bluetooth>Bluetooth Low Energy Demo Applications User’s Guide>chapter 5.6 HCI Black Box.
For this example, you will be needing the Connectivity Tools with the TEST TOOL that can be download on their respective links.
There is this community post that will give you more details on how to work with your own costume HCI commands, where you can experiment with the CW, the channels and the power.
If you want to have reference on the habitual response on the KW45B41Z-EVK look more on the AN13228.
Hope the answer finds you well, if there's more question don't hesitate to come back.
Regards,
Itzel.