Hello
I'm a student working on my masters thesis related to low power wireless networks. I have a CC430F5137 mcu connected to a CC1190 and my intention is to control the PA using the GDO pins. In my case the GDO0 (P1.0)is connected to the PA_EN of the CC1190 and the GDO1 is connected to the LNA_EN of the CC1190. They should work in the fashion that the PA_EN goes high when sending (LNA low) and the opposit. By default SimpliciTI seems to write the following radio registry values to the GDO ports (done in mrfi_radio.c):
/* GDO0 == PA_PD signal */
#define MRFI_SETTING_IOCFG0 27
/* GDO1 == RSSI_VALID signal */
#define MRFI_SETTING_IOCFG1 30
With these settings the PA works as I'd like it to, but inverted, that is it goes low while transmitting. What GDO1 does I don't really know...
The GDOs are configured with one byte each where the bits 0-5 defines the action, bit 6 inverts it and 7 is reserved.
I've activated the GDO pins using:
P1SEL = 0x01;
P3SEL = 0x40;
as dec(27) = bin(11011) I've tried to set bit 6 high -> bin(1011011) = dec(91) and write this to the GDO0 registry
#define MRFI_SETTING_IOCFG0 91 (this lines is used in the simpliciti code to write the values)
But this just leads to a disaster... When measuring the PA_EN pin with an oscilloscope it goes high a couple of random times and then dies.
Measuring the RF output it doesn't send anything whereas the same code with value 27 works fine, just doesn't activate the PA.
Changing the value of GDO1 to 28 for LNA action leads to a similar result where nothing works and the value of the pin is low.
I don't know what other parts of the code could be helpful, so please ask and I'll provide. One noteable thing is that if I control the GDO pins manually,
disabling the GDO periples, then the PA works just fine...But this isn't such a convinient way of using it and thereby I'd like to control it via the GDOs.
I'd greatly appreciate some help, I've been struggeling with this for two days and although some might not think it's much, my schedule is pushing me
and I'm running out of ideas... To my disposal I have a wide range of measuring equipments including regular oscilloscopes and spectroanalyzers,
so if there's anything that can be measured that could help, please mention it and I'll provide the data.
Thank you in advance. Best regards
Richard Salin