Other Parts Discussed in Thread: CC1020, CC1120, SMARTRFTRXEBK, , CC1310
Hello TI Community,
I have some "issues" with synchronous serial mode.
Here is the context before my actual question.
I'm currently working on a project with the CC1120. The main purpose is to replace our old brand working on CC1020 :
MCU - [CC1020] <------air-------> [CC1020] - MCU
with a new product based on the CC1120 but software compatible (software in MCU can't be alterated) :
MCU - [MCUb-CC1120] <----air-----> [CC1120-MCUb] - MCU
To do so im working with another MCU (MCUb) to program the CC1120 in synchronous serial mode.
I use :
- the evaluation board (SMARTRFTRXEBK) with the 434 module (CC1120EMK-420-470)
- MCUb with a CC1120 module
Now here is my setup:
setup 1 : SMART RF STUDIO - [SMARTRFTRXEBK - CC1120EMK-420-470] ----------- air -------------> [CC1120] - MCU
setup 2 : MCU - [MCUb - CC1120] ----------air --------> [CC1120] - MCU
I m working first in TX mode (in the future i need bi-directionnal communication)
Setup 1 is working great ! (positive sign ! )
Setup 2 isn't :
- configuration is the same in the 2 setups (settings of the CC1120)
- i see the modulation on my spectrum at correct frequency - but nothing on the receiver side
Question : Why ? i'm probably missing something.
Is-it possible to have an explanation of what happened inside the SMARTRFTRXEBK with smart fr studio ? (maybe i'm missing some commands)
I did probe spi commands when working and i found periodically reading of marcstate & fscal-ctrl registers (i ve implement them in my MCUb software but no change)
Here is my code sample for my MCUb
canal_frequence = 0x00; InitCC1120Register(); // CC1120 configuration (same as smart rf studio) manual_Calibration_VCO(); // VCO calibration according to errata Prog_Pll_Em(canal_frequence); // set frequency channel + calibration WriteToCC1120StrobeRegister(CC112X_STX); // Transmitter Mode
thanks for your help !
sorry for my poor english.
Best Regard
Charles