ESP32 and RDA5807M
Posted: 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.
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.