Closed stk122 closed 5 years ago
There is a bug for RPi 4 - peripherals address is set to 0. This bug is located in Raspberry Pi's inner libraries (https://www.raspberrypi.org/documentation/hardware/raspberrypi/peripheral_addresses.md). I will try to bypass this problem and publish solution as soon as possible (tomorow).
I beleive this will be fixed out of box also in upcoming Raspbian distros as there is a fix on RPi userland repository: https://github.com/raspberrypi/userland/commit/17d2fdc1abd370e09ba7074753294c7976dd6b0d
Fixed, problem was already reported, see issue #78
Completely solved, really thank you, I used this with my radio alarm clock all 2019 and works fine, better than Pi-FM or PiFMRds, with a lower CPU consumption (4%).
Good job. You deserve a beer ;)
Nice to hear that, cheers :)
Mine is also not working
I found out a solution: 1.Make sure you overclock your CPU at least above 50 % and it should not be left at idle.
I make the setup of FM Transmitter like I do in my old Rpi2 and simply not work. The command start ok, with the message:
_"pi@RPI4stk122:~ $ sudo /home/pi/fm_transmitter/./fm_transmitter -r -b 200 -f 90.6 /home/pi/fmtransmitter/musica/todas.wav"
_Broadcasting at 90.6 MHz with 200 kHz bandwidth Playing: /home/pi/fmtransmitter/musica/todas.wav, 44100 Hz, 16 bits, stereo
But not sound recibed on radio. If I put the same command in Rpi2 works fine. I put a wire in the same GPIO PIN 4, I disable 1-Wire on raspi-config, disable another conflictive modules with "sudo rmmod w1-gpio" and "sudo rmmod w1-therm", but it continue not working.
Any way to fix it? I don't know what else to try.