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

Two UART example for the nRF52833 DK with SDK17.0.2 for Keil uVision

I am looking for an example where I can enable UARTE0 and UARTE1 on the nRF52833 DK.  I am using nRF5_SDK_17.0.2 with Keil uVision V5.  I am successful with the loopback example in examples > peripheral > uart > pca10100, and looking in the forums I understand that I need to use examples > peripheral > libuarte for the two UART configuration.  Could I get some guidance on how to modify the pca10056 example to work for the pca10100, and ultimately modified to enable the second UART port?  Thank you very much.

Parents
  • Hi Wilbur

    After some trial and error I got it up and running on an nRF52833 DK (no restart required it seems). Please note that I used SEGGER Embedded Studios and SDK v17.0.2 and not Keil though.

    I followed the steps in my last reply to move from the nRF52840 to nRF52833. There seems to be a few additional things to keep in mind though. For some reason, changing the environment to nRF52833 will cause the linker_section_placements_segments to use FLASH1 instead of FLASH, so that it no longer correlates to the flash_placement.xml file. You also need to make sure to change the Flash size to 0x80000 and RAM size to 0x20000 instead of 0x100000 and 0x40000 in both Memory Segments and Section Placement Macros.

    Best regards,

    Simon

Reply
  • Hi Wilbur

    After some trial and error I got it up and running on an nRF52833 DK (no restart required it seems). Please note that I used SEGGER Embedded Studios and SDK v17.0.2 and not Keil though.

    I followed the steps in my last reply to move from the nRF52840 to nRF52833. There seems to be a few additional things to keep in mind though. For some reason, changing the environment to nRF52833 will cause the linker_section_placements_segments to use FLASH1 instead of FLASH, so that it no longer correlates to the flash_placement.xml file. You also need to make sure to change the Flash size to 0x80000 and RAM size to 0x20000 instead of 0x100000 and 0x40000 in both Memory Segments and Section Placement Macros.

    Best regards,

    Simon

Children
No Data
Related