SLOA140B April 2009 – November 2018 TRF7960 , TRF7960A , TRF7961 , TRF7962A , TRF7963A
When transmitting one byte to the TRF7960 using SPI with SS* mode, a special firmware fix is needed. This method involves splitting the writes into two operations as shown in the pseudo code below.
buf[0] = 0x8f; |
buf[1] = 0x91; |
buf[2] = 0x3d; |
buf[3] = 0x00; |
buf[4] = 0x10; |
RAWwrite(&buf[0], 5); |
buf[5] = 0x3F; |
buf[6] = "one byte data to be transmitted"; |
buf[7] = 0x00; |
RAWwrite(&buf[5], 3); |
Each RAW Write function takes the SS low and high. Please refer to the TRF7960 firmware for definition of RAWwrite function. (file name parallel.c)