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

nRF52832: UART buffers, PHY interface questions

Hi,

Context

The chip will be a slave of a powerful CPU which is responsible for many coordinating tasks. The chip will connect the CPU via UART. I am interested in BLE.

It is important to minimise the interrupt rate and grab multiple bytes at once to improve efficiency.

Question

  1. So, how large are the UART buffers and can we programmatically increase them?

  2. Wouldn't a PHY interface connected to the CPU improve performance vs UART? (Not sure you have such product though)

Thanks

Parents
    1. With EasyDMA list mode the buffers are pretty much as big as you want them to be, subject to available RAM.

    2. I don't understand this question at all. You use PHYs when you interface MACs to different physical transport mediums, here you are connecting two chips with traces.

    I wouldn't use UART for this myself unless I had to, I'd use SPI, which you can run up to 4MHz. Also since the master controls the clock, it can clock in data whenever it wants, you just have to keep the buffers on the nRF full.

  • Haven't come across any - the closest in my mind is the built-in PCIe on the Intel chips which is blisteringly fast and is so native it's almost part of the bus. Then there's varying types of external memory, from DRAM, which is on the bus to some of the chips which have a simple parallel peripheral you can use a few pins to interface to . Beyond those and the ability of two processors from the same family to work together, not really.

Reply
  • Haven't come across any - the closest in my mind is the built-in PCIe on the Intel chips which is blisteringly fast and is so native it's almost part of the bus. Then there's varying types of external memory, from DRAM, which is on the bus to some of the chips which have a simple parallel peripheral you can use a few pins to interface to . Beyond those and the ability of two processors from the same family to work together, not really.

Children
No Data
Related