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

nrf52 RGB Matrix and Time Interrupts

I have 32x64 RGB LED Matrix, and I want to use nrf52 to control it. I got the driver working and I can display everything. It is a time interrupt driven driver, just redraws screen over and over. So now I want to add BLE functionality, but for some reason after connecting to BLE before I turn on interrupt, I cannot read any data that is send from the phone. I am using arduino to program it,  I have tried priorities 1, 3, 6, still can not read any data. If i try to read before starting interrupt, it reads fine. But i would like to be able to read in the main loop. Any idea how to solve the problem? Any help would be appreciated, thank you.

  • Hi,

    I'm not sure if I understand the problem.

    1. You are trying to transmit data from a phone and receive them on your nRF52 device while running your RGB screen?
    2. What do you mean by "I am using arduino to program it"?
    3. After you have transmitted data with your phone, do the nRF52 device otherwise work?
    4. Does your phone disconnect after you transmit data?
    5. Have you tried debugging your code like this?
    6. What is it you would like to read in the main loop?
Related