This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Transfer large data 2 board nrf52840

Hello! I use 2 board nrf52840! I want to transfer large data ( 1~2MBytes) from board1 to board2 with wire to connect. Can have solution for me? (SPI I2C or uart).

Parents
  • Hi,

    We have examples for all the different serial interfaces you list(SPI, I2C and uart). You can find them in the SDK folder SDK_folder\examples\peripheral.

    You can e.g. program one of the boards with the spi example, and the other board with the spis example. When you connect the boards, you can observe that the board running the slave application receives data from the spi master board.

  • I know in the example. Slave will response when master send data to it. But I don't know :

    1. Can slave response( transmit data of slave) to master without receive data from master? (independent with master).

    2. When I transmit 200 bytes from master to slave. Slave receives and response " Nordic" string well. But If I transmit consecutive 10 packet( 200 bytes in each package) . Slave seems can't receives. am I correct? And how to do that? ( send consecutive package from master to slave) ?

Reply
  • I know in the example. Slave will response when master send data to it. But I don't know :

    1. Can slave response( transmit data of slave) to master without receive data from master? (independent with master).

    2. When I transmit 200 bytes from master to slave. Slave receives and response " Nordic" string well. But If I transmit consecutive 10 packet( 200 bytes in each package) . Slave seems can't receives. am I correct? And how to do that? ( send consecutive package from master to slave) ?

Children
No Data
Related