This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RF430CL330H NFC SPI interface

Hi,

I works with RF430 eval kit in SPI mode. All works, but I can't speed up SPI interface. In datasheet it is mentionned 100kHz maximum SPI speed. For the moment I run at 40kHz max !

If I run faster, I have RF430 CRC calculation to 0 ... 

RF430 also need delay between each bytes sent otherwise, CRC calculation is 0...

There is no more informations in datasheet. Is it a bug in RF430 serial interface, in CRC calculation, or ... ?

Thanks,

Sebastien,

  • Hi,

    Nobody wants to help me?

    SPI communication works at 100kHz, Status message and NDEF are ok. Problems come from CRC calculation.

    Find below my CRC calc function:

    PUBLIC uint16_t rf430_crc_calc(uint16_t start_addr, uint16_t len)
    {
    	uint16_t crc = 0;
    
    	rf430_write_reg(rf430_CRC_START_ADD, start_addr);
    
    	rf430_write_reg(rf430_CRC_LEN, sftALIGN(len, 2));
    
    
    	while(!(rf430_read_reg(rf430_INT_FLAGS) & rf430_CRC_INT_FLAG));
    
    
    	crc = rf430_read_reg(rf430_CRC_RESULT);
    
    	rf430_write_reg(rf430_INT_FLAGS, rf430_CRC_INT_FLAG	); //ACK CRC flag
    
    	return crc;
    }

    Thanks,

    Sebastien,