After compiling and firmware upload, I can select this new speed with AT commands. But after save eeprom and reboot, i am not able anymore to access AT mode by sending '+++' at 76800 bps...
Did I do something wrong ?
As long as the Si1000 UART baud rate is controled by the Timer1 Overflow, setting the TH1 register to 0x61 should do the job. Si1000 datasheet give the formula UartBaudRate = T1CLK / (2 * (256 - TH1)) so with a T1CLK of 24.5 MHz, this should give a good 77044 bps so only -0.32% error...
Note : I have Mavlink framing disabled.
Maybe should I stay on 1.9 stable release ?
Anyone tryed these intermediate but still standard baud rates ?
I know how to force bootloader mode at startup in order to upload again FW, but what baud rate should I use now ?
Hello,
I am trying to use SiK on a HM-TRP in order to transmit a 76800 bps UART over the air.
76800 bps is not in the known SERIAL_SPEED, so I modified serial.c to add it's support :
After compiling and firmware upload, I can select this new speed with AT commands. But after save eeprom and reboot, i am not able anymore to access AT mode by sending '+++' at 76800 bps...
Did I do something wrong ?
As long as the Si1000 UART baud rate is controled by the Timer1 Overflow, setting the TH1 register to 0x61 should do the job. Si1000 datasheet give the formula
UartBaudRate = T1CLK / (2 * (256 - TH1))
so with a T1CLK of 24.5 MHz, this should give a good 77044 bps so only -0.32% error...Note : I have Mavlink framing disabled.
Maybe should I stay on 1.9 stable release ?
Anyone tryed these intermediate but still standard baud rates ?
I know how to force bootloader mode at startup in order to upload again FW, but what baud rate should I use now ?
Thanks,
Georges