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.

MSP430F677x metering application (SLAA577) with AES128 encryption



Hello,

I am following SLAA577 metering application, and wishes to add 128 bit AES encryption to the outputted measurements transmissions.

I've found this application note (SLAA397A) which describes the implementation of the encryption/decryption over MSP430. the performance impact according to the AN is:

                                      Encryption   Decryption
Clock cycles needed ~6600        ~8400
Flash usage (bytes)     1839          2423
RAM usage (bytes)           80               80

My question is: How will it affect the metering application described in SLAA577? Is it feasible? Perhaps there is another known algorithm adjusted to the F677x metering processors?

Thanks,

Lior.

  • Lior Baz said:
    How will it affect the metering application described in SLAA577? Is it feasible?

    If there's enough memory and CPU time and measurements can supplied asynchronously to outside world, then it is feasible.

    It's easy to check available memory. Available CPU resources can be measured using GPIO pin set/reset before/after CPU sleep instruction(s) and checking duty cycle using scope. Note that even at comparably slow 8MHz MCLK you need less that 0.1% of CPU time for single 128bit data block encryption.

**Attention** This is a public forum