2 Replies Latest reply on Jan 5, 2016 10:19 AM by JoMe_264151

    Problem reading Cyfi radio registers



      I'm trying to read the register contents from Artaflex CYRF6936-40LFXC radio modules on reset.


      Till recently I used to get zeros from all registers. MISO pin showed a flat zero on CRO, with some abrupt pulses now and then.


      I then reread the datasheet and realized that I had left RST pin and one of the two GND pins floating.


      Datasheet says I have to connect 0.47uF from RST to VBAT but since VBAT is not available as a pin out from Artaflex module I have connected RST to VCC instead. I have shorted the two GND pins.


      After doing this I started getting regular pulses on MISO pin. After 20 days of frustration, this was indeed a Eureka moment for me, so I wanted to read the register contents now.


      I was expecting the default values to be read when I used CYFISNP_Read() function to read some registers like IO_CFG_ADR, PWR_CTRL_ADR and most importantly CYFISNP_FileRead() to read MFG_ID_ADR. But I was 0x00, 0xFF and some values in between. Today I removed all connections and reprogrammed the PSoC 4 and now the values are all 0's again.


      Can someone please help me identify what I'm missing? 


      Thanks and regards,