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

PC-BLE-DRIVER on FENSTEL EV-BT840F (nRF52840 MCU)

I am successfully able to use pc-ble-driver on nRF52840 Preview DK using latest connectivity firmware loaded by nRF Connect.

I want to use the same functionality on FENSTEL EV-BT840 which have the same controller as nRF52840.

nRF52840 have the connectivity IC on board which is used to connect in nrf-Connect and PC-BLE-DRIVER.

In my understanding the nRF52840 is doing communication with pc-ble-driver on UART which connectivity IC on board. And nrf-connect and pc-ble-driver both able to detect that while opening port.

In EV-BT840 there are UART pins available to access. When I use that pins using TTL to USB converter and try to open the port but i get the following error

"pc_ble_driver_py.exceptions.NordicSemiException: Failed to open. Error code: 13"

Is there anything that I misunderstood or I miss to implement. Any reference to pc-ble-driver implemented on FENSTEL BT840/BT832 chip wlll be very helpful.

Parents
  • Hi,

    I'm not aware of any reference of pc-ble-driver implemented on this board, and this is not officially supported by Nordic.

    First thing you should fix is that according to the schematics of the EV-BT840 board, it use different pins for UART RX and TX (P0.11, P0.12) than the Nordic DKs (P0.08, P0.06). You need to change the pin settings in the connectivity firmware, and recompile it. Your board also does not seem to support RTS/CTS HW flow control pins. The connectivity firmware and the pc-ble-driver appication needs to reflect this.

    Best regards,
    Jørgen

  • Thank you Jorden for answering. I have some question related to it.

    If both the boards nRF52840 pdk and EV-BT840 both have same firmware loaded in it.

    Should the pins of EV-BT840's pin configuration be same as nRF52840 pdk? 

    Will these pins behave as UART pins?

    I connected EV-BT840's UART pins to MAX3232 Board to PC via USB. But it is not working. It is returning this error,

    pc_ble_driver_py.exceptions.NordicSemiException: Failed to open. Error code: 13

    When i came back to nRF52840 pdk and changed switch (sw6) DEFAULT to -> nRF ONLY and by connecting UART pins to PC by MAX3232 Board.

    It dose able to open the serial port. But while enabling BLE using driver.ble_enable( ) it is returning this error,

    pc_ble_driver_py.exceptions.NordicSemiException: Failed to ble_enable. Error code: 3

    FYI on the same board if switch (sw6) is set to DEFAULT side and using it by USB cable the same code is working.

Reply
  • Thank you Jorden for answering. I have some question related to it.

    If both the boards nRF52840 pdk and EV-BT840 both have same firmware loaded in it.

    Should the pins of EV-BT840's pin configuration be same as nRF52840 pdk? 

    Will these pins behave as UART pins?

    I connected EV-BT840's UART pins to MAX3232 Board to PC via USB. But it is not working. It is returning this error,

    pc_ble_driver_py.exceptions.NordicSemiException: Failed to open. Error code: 13

    When i came back to nRF52840 pdk and changed switch (sw6) DEFAULT to -> nRF ONLY and by connecting UART pins to PC by MAX3232 Board.

    It dose able to open the serial port. But while enabling BLE using driver.ble_enable( ) it is returning this error,

    pc_ble_driver_py.exceptions.NordicSemiException: Failed to ble_enable. Error code: 3

    FYI on the same board if switch (sw6) is set to DEFAULT side and using it by USB cable the same code is working.

Children
No Data
Related