SmartRC-CC1101-Driver-Lib
SmartRC-CC1101-Driver-Lib copied to clipboard
Multiple modules getMode not consistent
Hello I have two CC1101 modules connected to different pins to an ESP32 S2 mini. they are both initialized as needed eg. ELECHOUSE_cc1101.setModul(0); ELECHOUSE_cc1101.addSpiPin(...); ELECHOUSE_cc1101.addGDO(...); [...] ELECHOUSE_cc1101.SetRx();
I cannot query the module status properly. as example if one is idle and one is set as RX, using ELECHOUSE_cc1101.setModul(0); status0 = ELECHOUSE_cc1101.getMode(); and ELECHOUSE_cc1101.setModul(1); status1 = ELECHOUSE_cc1101.getMode();
the status is for both module is set to RX.
similar if I stop one of the two eg:
ELECHOUSE_cc1101.setModul(0); ELECHOUSE_cc1101.setSidle();
also module 1 with getMode() will report idle.
any ideas please? Kind regards, dk