PWM pins not working on Trackuino with Atmega 644

Atmega644 with Trackuino

I bought the ATmega644 from GitHub - MCUdude/MightyCore: Arduino hardware package for ATmega1284, ATmega644, ATmega324, ATmega324PB, ATmega164, ATmega32, ATmega16 and ATmega8535 at tindie.com

I am trying to setup Trackuino with Atmega 644 (GitHub - MCUdude/MightyCore: Arduino hardware package for ATmega1284, ATmega644, ATmega324, ATmega324PB, ATmega164, ATmega32, ATmega16 and ATmega8535 )

It is not working with any of PWM Atmega644 pins, i’ve tried changing AUDIO_PIN to different PWM pins, but no luck.

It doesn’t work for me by putting AUDIO_PIN on pin 3 or pin 11, I have looked a bit at the GitHub - johnboiles/trackuino: The Arduino APRS Tracker code to compare with mega.

I have tried to know what is the equivalence of pins between atmega328 and atmega644 but I have not succeeded after all part of the night trying.

https://camo.githubusercontent.com/178242e7684d9ab642e0c43fcb64b3a0bcb5c289/68747470733a2f2f692e696d6775722e636f6d2f4b3334785a62342e6a7067

I guess I have to put AUDIO_PIN on a Timer PWM pin, but I tried AUDIO_PIN on several PWM pins of the atmega644 and nothing.

I imagine that the two key parameters are
OCR2 and TCCR2A

#define OCR2 OCR1A
TCCR2A = xxx

Any idea?

Thank you

@jeggebraaten, as yours is a completely new question in an old Thread I have suggested to the Moderator to move you to your own Thread.

...R

Trackuino code is here: trackuino/trackuino at master · johnboiles/trackuino · GitHub