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

app_uart and simple_uart example is not working with PCA10001 evaluation kit using nordic sdk 10

created a new BSP PCA10001 from PCA10028 and replaced the CFLAGS += _DBOARD_PCA10001 for uart example in peripheral folder using sdk 10.

Migrated simple_uart example & driver api from sdk 7 to sdk 10 and used same BSP as above.

I am not seeing any output in minicom

  • I do not quite understand what you have done. To run the <sdk folder>\examples\peripheral\uart\pca10028 example on the PCA10001, it should be enough to just change the flag from BOARD_PCA10028 to BOARD_PCA10001. Did you follow the testing procedure as described in the UART example documentation?

    Did you first try this, and when you did not succeed try to migrate the sdk 7 example?

    Did you get the UART to work in SDK 7?

  • I am using minicom. I disabled Hardware and software flow control in settings. I verified peripheral\uart with PCA10001 also. we are using simple_uart instead of app uart in ble_connectivity code in our project. So while migrating to sdk 10 we need to migrate the simple_uart driver code to sdk 10, I am testing with simple_uart example.

  • I still do not understand what exactly you have done, so there are a few things for you to confirm, correct or explain further:

    I verified peripheral\uart with PCA10001 also.

    • Which SDK version?
    • Did you test the example without changes?
    • Did UART work?

    We are using simple_uart instead of app uart in ble_connectivity code in our project.

    • Are you using the code from ble_connectivity, but you have replaced app_uart with simple_uart?
    • How have you done this replacement, what files are changed and how?
    • Are there other modifications to the ble_connectivity example as well?
    • This works fine in SDK 7?
    • Migrating to SDK 10, UART does not work?
    • What other things works and what other things does not work?
    • What have you done to debug to find out if the application stops and if so where it stops?
  • I am using app_uart from sdk10. Yes, Didnt touch the source code at all. UART was not working. Are you using the code from ble_connectivity, but you have replaced app_uart with simple_uart? How have you done this replacement, what files are changed and how? Are there other modifications to the ble_connectivity example as well? yes, simple_uart driver API was taken from sdk 7 and moved to drivers_nrf folder. ser_phy_nrf51_uart.c in connectivity example where app_uart was replaced with simple_uart.

    This works fine in SDK 7? ble_connectivity code with simple uart works fine with sdk 7. Migrating to SDK 10, UART does not work? Migrating ble_connectivity example & simple_uart,app_uart does not work with PCA10001 in sdk 10.

    I created PCA10001 which was replica of PCA10028. I changesd the FLAGS to DBOARD_PCA10001 instead of DBOARD_PCA10028. Let me know if i miss any as you app_uart was working with PCA1001 on sdk 10.

Related