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

nRF51-DK problems with mBed Serial::set_flow_control

Hello, I'm trying to program nRF51DK with mBed but I'm encountering problems with the mBed::Serial class, that does not recognize the method set_flow_control as its member.

Apparently the problem is related to the integration between the mBed environment and the nRF51 chips.

Is there any easy way around with which, while still using the mBed environment, I can achieve HW flow control out of pins #8 & #10 of the nRF51-DK board ?

Parents
  • @maurizio: The hardware on the chip support HWFC, but I'm not sure how it is configured on mbed.

    Exporting the mbed project to KEIL and I found that it was because the platform doesn't have define macro for DEVICE_SERIAL_FC, so in SerialBase.h, the function set_flow_control() is not included.

    I would suggest you to also post a question on mbed forum, you may get better answer from there.

  • Thank you, Hung. I will try to post the question in the mBed forum, but I don't have many hopes, as I noticed that very similar questions related to other boards were left unanswered... As an alternative, do you think is it feasible (in the mBed environment) to access to the needed nRF registers and set them properly to support HWFC ?

Reply Children
No Data
Related