I spent some time reading inHM-TRP Series 100mW Transceiver data sheet as well as SiK source code I wanted to know that if the 433MHz and 913 MHz is something fixed in the chip, that is why modules are sold either 433 or 913 or it is something you can change EASILY :)

Luckly I found that frequency is something not fixed, however in the source code of SiK, it is stored in board_frequency as input preset parameter when building the code, and it is passed to the firmware part in main.c where it is used for initialization.

Well I decided to make minor change,  I added a new variable -the 16th variable- called Main_Freq 

it can be given the following values


FREQ_433 = 0x43,

FREQ_470 = 0x47,    

FREQ_868 = 0x86,

FREQ_915 = 0x91,

These values are defined in board_info.h file 

Typical steps to change frequency are:

  1. +++ to enter AT commands mode.
  2. ATS16=67 to change to 433 MHz
  3. AT&W to save settings
  4. ATZ to reboot (Mandatory)

Another interesting thing is that the chip originally support frequencies as low as 240 MHz, however the firmware does support the above four frequencies only.

Now if you need to change frequency using only Firmware without the need to update the Bootloader you can use my changes...I hope you find this useful. 

Please note that you should use proper antenna for each frequency

radio_hm_trp.hex

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Hello to All. I have question for You Guys. I need to change freq from 915 to 433 in ma oryginal SIK  can i do it without special dongles ? I have never do that all i have  is my pixhawk with which i see i can upload firmware to my radios and maybe some usb rs232 converters. Can i do it with that on some windows machine ??

  • Almost worked for me!! Have a connection problem no one seems to be able to solve!!

  • Anybody got any updates to this post .. i wanted to take a RFM23B  433 to 466?

    • Based on replies the antenna circuitry will affect the range, but I guess for two adjacent frequencies it might work ok.

      you need to try and remember all firmware could be reversed back. 

  • This reply was deleted.
    • as Marcin Krawczyk  said ... the chip is the same ... the output LC is different, so u still can change frequency using chip , but will not be able to practically use it for any useful range.

    • Because they are physically different.

      433 or 868 or 915MHz

  • Developer

    I'm afraid this doesn't work in any reasonable way (and yes, I did try it a long time ago).

    Each board has a different analog output stage, with different filtering. So if you run a 915 radio at 433 then you can communicate at very short distances, but it will be like using a 433 radio with a attenuator attached to it. The attenuation will be large enough that the range is cut to just a few meters.

    I have used this trick to test 433 mode when I didn't have a 433 radio, and it did allow me to test the code at a range of a few meters, but it is no good for actually flying.

    Cheers, Tridge

  • Thanks for the find!

    When I read this post I was skeptical about changing the RF operating band without changing any components on the circuit board because usually radios have filter circuits which are particular to an operating frequency range.

    However, I think that may not be the case here.

    From the HM-TRP documentation that I've read , the modules seem to require no external RF tuning and therefor they should be able to work on different bands without any physical modification.

    By way of Google search, I did find [ may have found ] a setup utility HERE for the HM-TRP module.

    There may be some additional register settings that the utility program changes besides the one that you've shown,[ but that is just speculation on my part.]

    The utility supposedly works on COM 1 only , so you may have to change your COM port assignments in Windows to make it work.

    I haven't  tried  the program, so I can't say for certain if it works or not.

    Also... This link HERE 2 is an index list of other utilities & documents for HopeRF stuff... There are four pages in the index.

    And as you already mentioned... always make sure that you have the correct antenna for the frequency of operation or the radio amplifier could get burnt out.

    Cheers

    • Thank you for feedback.

      regarding "There may be some additional register settings " yes there is and that is why I change g_board_frequency variable and ATZ "reboot' is mandatory. because it is used radio.c file starting from comment "// set the registers from the tables" to update the registry.

       

  • AFAIK each 'type' of board has different antenna circuit, so it's not reasonable to use i. e. 433 radio as 915...
This reply was deleted.

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…