I have been struggled with using BLE board such as HC05/06 for more than one month.
can some tell me how to use BLE with LPC4330 for receiving data then printing this data on the console in LPCXpresso?
BLE is connected to the UART1. All the examples has been tested and tried different ways but not successful.
Do you mean the HC-05/HC-06 module (see Using the HC-06 Bluetooth Module)? These modules are classic Bluetooth modules, and *not* BLE modules and incompatible with BLE.
It could be that you are missing to add a pull-up to the Rx line, see Getting Bluetooth Working with JY-MCU BT_BOARD V1.06.
I hope this helps,
It has been used with Ardunio and my PC successfully.
HC05/06 was connected to the Arduino and Plugable Bluetooth dongle was connected to the PC. sending data from PC and receiving it by Arduino, it was okay.
but now, the HC05/06 was connected to the LPC4330 board, I can see the received data on the oscilloscope connected to Bluetooth module's pins but how can I write a code using LPCXpresso to print the received data?
The code for the UART1 (TX - GPIO1 and RX- GPIO1)?
The code for printing data?