I use ESB sample code ,change to do 8k sample rate ADC(10bit) and transport by ESB ,but overflow when output receive data to PC use uart at UARTE_BAUDRATE_BAUDRATE_Baud1M. All my data is about 16KB/s,Is there somthing wrong ?
Hi Suker,
Please state which chip you are using?
Could you try to test through put on UART only (print dummy data to PC, skip the ESB and ADC part). There are some UART driver on PC that actually doesn't support 1Mbps.
Have you tried to test with 460800baud ?
Sending 20kB:
]
You can just simply replace NRF_SERIAL_MODE_IRQ with NRF_SERIAL_MODE_DMA in NRF_SERIAL_CONFIG_DEF then you will have DMA mode. You should try to increase the SERIAL_BUFF_TX_SIZE and SERIAL_FIFO_TX_SIZE, that would also help. I can achieve quite good result by increasing them, upto 966kbps with 1Mbps baud rate.
You can just simply replace NRF_SERIAL_MODE_IRQ with NRF_SERIAL_MODE_DMA in NRF_SERIAL_CONFIG_DEF then you will have DMA mode. You should try to increase the SERIAL_BUFF_TX_SIZE and SERIAL_FIFO_TX_SIZE, that would also help. I can achieve quite good result by increasing them, upto 966kbps with 1Mbps baud rate.