AT1846S with HR-C6000

Post Reply
G4EML
Posts: 919
Joined: Sat Nov 16, 2019 10:01 am

Re: AT1846S with HR-C6000

Post by G4EML » Sun Jun 12, 2022 9:05 am

The HRC 6000 does not contain the necessary AMBE voice encoder. So it cannot produce DMR voice on its own. You must use an external encoder which can be either an AMBE3000 chip or a software encoder running on the main processor.

The microphone input to the HRC6000 is digitised and then output on the I2S bus. The AMBE encoder reads this, encodes it into the AMBE format and sends it back to the HRC6000 on the SPI1 bus.

The same thing happens in reverse in receive.

The detail is probably too complicated and time consuming to discuss here. Your best bet would be to look at the OpenGD77 source code.

Colin G4EML

VK3KYY
Posts: 7473
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: AT1846S with HR-C6000

Post by VK3KYY » Sun Jun 12, 2022 9:54 am

Jozef wrote:
Sun Jun 12, 2022 5:59 am
Hello,
I`m using AT1846s transceiver with HR-C6000 DMR chip, In analog mode I could send the voice through AT1846S transceiver successfully, but when I want to use digital mode I faced some problems so I need help from all of you please.

After I set the configuration registers of AT1846S to DMR mode and set configuration registers of HR-C6000 also to DMR mode, the mic connected to HR-C6000 , at the least I set the registers of transmission, I turn the TX on in AT1846s and set HR-C6000 in DMR transmit in addition to configure other registers according to time slot interrupt but I get empty signal . Can any one help me how to send digital voice please?

Honestly I do not understand the relationship between AT1846S and HR-C6000 in DMR mode, so I do not know what to do please help me.

Best Regards
Jozef
Which radio is this?

The only other radios I'm aware of that use this hardware are the MD-UV380 and the Ailunce HD1.
Possibly some other TYT radios like the MD2017 use this hardware, but I'm not 100% sure as it may not use the AT1846S

VK3KYY
Posts: 7473
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: AT1846S with HR-C6000

Post by VK3KYY » Sun Jun 12, 2022 10:15 pm

Jozef wrote:
Sun Jun 12, 2022 5:28 pm
G4EML wrote:
Sun Jun 12, 2022 9:05 am
The HRC 6000 does not contain the necessary AMBE voice encoder. So it cannot produce DMR voice on its own. You must use an external encoder which can be either an AMBE3000 chip or a software encoder running on the main processor.

The microphone input to the HRC6000 is digitised and then output on the I2S bus. The AMBE encoder reads this, encodes it into the AMBE format and sends it back to the HRC6000 on the SPI1 bus.

The same thing happens in reverse in receive.

The detail is probably too complicated and time consuming to discuss here. Your best bet would be to look at the OpenGD77 source code.

Colin G4EML
Thank you so much for your reply , this is which I doubt about it, so I will use OpenGD source code and I hope it will ease to understand.
Please be aware of the license conditions on the OpenGD77 firmware source code. It does not alllow commercial use of the source code or commercial use of the compiled firmware, or for the source code to be included into other source code which permits commercial use etc.

E.g. you can't use the source code in projects with GNU or other similar licenses.

G4EML
Posts: 919
Joined: Sat Nov 16, 2019 10:01 am

Re: AT1846S with HR-C6000

Post by G4EML » Wed Jun 15, 2022 9:28 am

It supports external vocoders but does not have anything built in. That is what the data sheet is saying. The translation from Chinese can give some strange phrasing.
Section 4.6 describes how the external vocoder is connected.

Low cost radios like the GD77 do not actually have a vocoder chip, the chip is emulated by the host processor. However the interface remains the same.

G4EML
Posts: 919
Joined: Sat Nov 16, 2019 10:01 am

Re: AT1846S with HR-C6000

Post by G4EML » Sun Jun 26, 2022 7:18 pm

I don't think so.
I2S is used because it has a fixed clock rate which is needed by the audio samples. SPI would not be suitable for this.

G4EML
Posts: 919
Joined: Sat Nov 16, 2019 10:01 am

Re: AT1846S with HR-C6000

Post by G4EML » Mon Jun 27, 2022 12:14 pm

Hello Josef.

I am sorry but I do not have the time to offer any direct assistance.

Colin.

Post Reply