Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Support Radiolink AT9/AT10 stock module and protocol #709

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

goebish
Copy link
Member

@goebish goebish commented Feb 18, 2019

Add support for stock RF module for at9/at10
That's only the protocol, it has to be enabled by defining
PROTO_HAS_RADIOLINK_CC2530

A few things have to be implemented for at9/10, I'll let someone with a transmitter do it:
define RADIOLINK_CC2530_RESET_PIN & RADIOLINK_CC2530_CSN_PIN GPIO
update those functions:
PROTO_CS_HI(RADIOLINK_CC2530);
PROTO_CS_LO(RADIOLINK_CC2530);

src/protocol/radiolink.c Outdated Show resolved Hide resolved
src/protocol/radiolink.c Outdated Show resolved Hide resolved
src/protocol/radiolink.c Outdated Show resolved Hide resolved
src/protocol/Makefile.inc Outdated Show resolved Hide resolved
src/config/hardware.c Outdated Show resolved Hide resolved
@howard0su
Copy link
Contributor

I think you need keep the module name RADIOLINK_CC2530

@goebish
Copy link
Member Author

goebish commented Feb 20, 2019

I kept this name, I only removed the "Radiolink" string from hardware.c which was useless unless we want to configure the module from hardware.ini ?

src/protocol/protocol.h Show resolved Hide resolved
@sawyouintheheaven
Copy link

Hello,my friends.Can you help me?
I have a at9, but I burned the chip STM32f103VET6. I bought a new STM32f103VET6 and replaced the burned one. But the new chip did not have a RADIOLINK or DEVIATION bootloader, so I can not use a .dfu file to flash. I tried to use the D7E's 256k-edition bootloader.It worked,I could use the devention Upgrade Tools to flash deviation-at9-xx.dfu file,which was downloaded from (https://www.deviationtx.com/downloads-new/category/13-nightly-builds).
But after flashing it, it seemed that the board did not work normally.The LCD was still black and I plugged the usb wire to my PC.It told me that the device can not be recognized.
So,can you tell me how to fix it?

@SilverFire
Copy link

Hello, @sawyouintheheaven! Try this manual: #866

@SilverFire
Copy link

Hello. @goebish!

Thank you for your effort! I have AT9 and tried to flash it with code from this PR. I've described my experience in #866, but I failed to test radio for the reasons described in that issue.

I'm not experienced in programming for STM, but if you are willing to continue work on this pull request, you can ping me - I will try to help to the best of my knowledge

@goebish
Copy link
Member Author

goebish commented May 3, 2019

As you've noticed, the AT9 build isn't ready for the show yet ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants