Blog area

NCK2910 uses RB_READ_MSG & RB_FLUSH_MSG to receive signal communication process analysis

I. Overview

        This article shares with you that after NCK2910 completes the configuration of the receiving parameters (center frequency, etc.) to turn on the receiving, it reads the message by polling without using the INT pin, that is, using the RB_READ_MSG & RB_FLUSH_MSG command to obtain high-frequency messages and refresh the SPI communication process of RX buffer.

2 . SPI communication process

        After completing the configuration of the receiving parameters to enable normal reception, the base station host needs to keep sending the RB_READ_MSG command through the SPI to obtain messages within a certain time interval RB_READ_MSG .

        1. When no high-frequency signal is received , the response returned by this command shows that the current RX buffer is empty. Note that to read the response, you need to initiate SPI communication again, and get the message through the RB_READ_MSG command.

Figure 1 Send RB_READ_MSG command to get the message (RX is empty)

Figure 1 Send RB_READ_MSG command to get the message (RX is empty)

        2. When a high-frequency signal is received, that is, when the TX terminal (key terminal) sends a high-frequency signal, the NCK2910 high-frequency receiving board obtains a message through the RB_READ_MSG command. The response of this command contains the acquired key high-frequency signal data. The specific data starting position needs to be combined with the data manual to respond to the frame structure analysis, hereDo not expand the description.

Figure 2 Send RB_READ_MSG command to get the message (RX receives the message)

Figure 2 Send RB_READ_MSG command to get the message (RX receives the message)

           After receiving the high-frequency signal , you need to refresh the RX buffer through the RB_FLUSH_MSG command, otherwise the read message is still the previous message, and then receive the high-frequency signal by continuously sending the RB_READ_MSG command.

Figure 3 RB_FLUSH_MSG command and response

Figure 3 RB_FLUSH_MSG command and response

3. Conclusion

        The above is the whole process of NCK2910 using the RB_READ_MSG & RB_FLUSH_MSG commands to obtain high-frequency messages and refresh the SPI communication of the RX buffer. Thank you for reading. Readers who are interested in the use of NCK2910 can continue to pay attention!

Fourth, reference materials

  1. um792011 - NCK2910 NCF2984 NCK2982 RCI Operation Manual (1.1). pdf

★The content of the blog posts is provided by individuals and has nothing to do with the platform. If there is any violation or infringement, please contact the website administrator.

★Go online in a civilized manner, please speak rationally. The content was reported 5 times in a week, and the writer entered the little black house~

Reference source

comment