This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Custom nRF21540 DTM UART pins

Dear nRF,

I know this topic has been covered many times, but I am unsure how I can change the uart pins for BLE 2-wire? I have not found any configuration for it inside dtm source code in SDK. 

I have custom board that has nRF52840 + nRF21540 FEM, the design is copied from nRF21540db, but my current version does not have P0.08 and P0.06 which are default ones, but I have easy access to P0.25 and P1.00, and I would like to use those for the BLE 2wire interface for Anritsu MT8852B.

Thanks for any support!

Parents
  • Update: I managed to install toolchains, built the direct_test_mode app and verified that the pins P0.06 and P0.08 and for BLE 2-wire communication. I was able to run tests against Anritsu MT8852B via FTDi -cable.

    However, then I needed to change the GPIO pins from default to something else. I changed them to P0.25 and P0.06 and that change works after I committed the changes to overlay file as per https://devzone.nordicsemi.com/nordic/b/archives/posts/nrf-connect-sdk-tutorial---part-3-temporary

    But if I used P1.00 (overlay file configuration as pasted below), the communication between DUT and tested did not happen. 

    How can I configure P1.00 as serial?

    I try to run this with nRF21540db board. My custom board does not have other GPIOs available than P1.00 and P0.25.

    &uart0 {
    	status = "okay";
    	current-speed = <19200>;
    	tx-pin = <100>;
    	rx-pin = <25>;
    	rts-pin = <5>;
    	cts-pin = <7>;
    };
    
Reply
  • Update: I managed to install toolchains, built the direct_test_mode app and verified that the pins P0.06 and P0.08 and for BLE 2-wire communication. I was able to run tests against Anritsu MT8852B via FTDi -cable.

    However, then I needed to change the GPIO pins from default to something else. I changed them to P0.25 and P0.06 and that change works after I committed the changes to overlay file as per https://devzone.nordicsemi.com/nordic/b/archives/posts/nrf-connect-sdk-tutorial---part-3-temporary

    But if I used P1.00 (overlay file configuration as pasted below), the communication between DUT and tested did not happen. 

    How can I configure P1.00 as serial?

    I try to run this with nRF21540db board. My custom board does not have other GPIOs available than P1.00 and P0.25.

    &uart0 {
    	status = "okay";
    	current-speed = <19200>;
    	tx-pin = <100>;
    	rx-pin = <25>;
    	rts-pin = <5>;
    	cts-pin = <7>;
    };
    
Children
Related