ESP32 and RDA5807M

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
AlexanderSemenov1
Posts: 2
Joined: Tue Aug 14, 2018 4:08 pm

ESP32 and RDA5807M

Post by AlexanderSemenov1 » Tue Feb 19, 2019 10:01 am

I'm trying to make the rda5807m radio module work. The data table indicates that it uses i2c for communication.

from machine import I2C, Pin
import time, machine

i2c = I2C(scl=Pin(22), sda=Pin(21), freq=100000)
i2c.scan()

answer>>>> [16, 17, 96]
_____________________
I managed to turn on one radio station. But further manipulations with the module do not lead to anything.
Can someone come across such a module rda5807.

from machine import I2C, Pin
import time, machine

i2c = I2C(scl=Pin(22), sda=Pin(21), freq=100000)
addr = i2c.scan()

i2c.writeto_mem(addr[2], 0x2E, b'\x01')


I'm just starting to program and do not quite understand what is written in the datasheet.

Post Reply