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

nRF51 as a standalone system

Hi!

I'm looking for a new Bluetooth module for a controller, and I run across the nRF51. I used to have a module that I controlled from the MCU, but this SoC looks like as if it could hold his own.

Next to BT, I need 2 instances of SPI, 1 instance of I2C and 3 PWMs. Individually, all of these components are available on the chip (PWM seems to be implemented with software, but that's ok). My question is: would they work if used at the same time? I'm worried that there might be some hardware resource sharing I'm not aware of.

Also, what are the possibilities (hardware-wise) to download the program the chip? What is required for that?

Parents
  • Hi,

    SPI/I2C is a shared peripheral, you can't have 2 SPI and one I2C at the same time. Also each PWM instance requires a timer (if you mean that they should work independently, not three channels of one PWM), but TIMER0 is used by BLE stack - you have only 2 timers.
    Take a look an nRF52832, it has three SPI/I2C instances and three hardware PWMs.

Reply
  • Hi,

    SPI/I2C is a shared peripheral, you can't have 2 SPI and one I2C at the same time. Also each PWM instance requires a timer (if you mean that they should work independently, not three channels of one PWM), but TIMER0 is used by BLE stack - you have only 2 timers.
    Take a look an nRF52832, it has three SPI/I2C instances and three hardware PWMs.

Children
No Data
Related