Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
cvanbeek
Level 3
Level 3
25 sign-ins 10 replies posted 10 sign-ins

Hello,

I have a CY8CMOD-062-4343W evaluation board that I'm trying to get up and running in Modus Toolbox for a BLE project.  I started with the BLE_CapSense_Buttons_and_Slider example project.  I got that up and running and it worked great with the CySmart app and the terminal output matched what was expected in the README.

Then I started adding in my own BLE Characteristics using the Bluetooth Configurator (v 2.30).  After making some changes, the BLE now fails to start, and I get the following messages on my terminal:

Bluetooth Stack Initialization Successful!
[613] hci_open(): init error (0x4021c00)
[613] hci_write(): UART is NOT initialized
[613] handle_hci_tx_command(): hci write failed (0xb7)

I am not sure what would be causing the HCI initialization to fail, and I can't find anything on what these error messages mean.  It is weird to me that I get the Initialization Successful message, since I would have thought that initializing HCI would be part of the BLE stack setup.

It is also worth noting that the ble_app_management_cb() method is never called like it is in the example app, so I don't get the messages about my device name and address.

I can however touch the capsense slider and I see that the ble_task handles this by calling the ble_send_notification() method which seems to finish without errors despite the HCI not being initialized.

Any help on tracking down this error would be greatly appreciated.

Best regards,

Cory

0 Likes
3 Replies