Electronic – Bluegiga BLE112: Serial Debugging

bluetoothbluetooth low energydebuggingserial

It's my first time to post my question to this electrical engineering.

Anyway, I'm trying to make a BLE gadget using a BLE112-A BlueGiga.

I could update a firmware of BLE112 but I'm stuck with serial debugging by using a FTDI serial to USB adapter. I need your help.

Goal

・I want to see debug messages which are incremental counter every second.

What already works

・I could update a firmware of BLE112. What I upaded the firmware was this.

https://github.com/slackhappy/ble112/tree/master/serial_debug

What I am missing

・I could't see any debug messages on RealTerm.

What I have devices and firmware

・A BLE device with a CC-Debuger interface. The data sheet is this.

http://runningele.web.fc2.com/ble/REBLE112FR_sch.pdf

・A FTDI USB to Serial adapter.

http://doc.switch-science.com/datasheets/ssci/FTDI%20USB%20Serial.pdf

・Serial/Console/UART Debugging with the BLE112 made by slackhappy.

https://github.com/slackhappy/ble112/tree/master/serial_debug

・The connection between the BLE device and the FTDI Serial Adapter.

BLE device  | FTDI Serial Adapter
P0_2 | DTR
P0_3 | RX
P0_4 | TX
P0_5 | CTS

・RealTerm

enter image description here

As I can see "Status", it seems not be connected correctlly.

Any help will be appriciated.

Thanks,


UPDATE

I confirmed that COM3 is connected to the adapter and the connection is OK.

enter image description here

Best Answer

In your post, you show (BLE112 on left, FTDI on right of |):

BLE device  | FTDI Serial Adapter

P0_2 | DTR
P0_3 | RX
P0_4 | TX
P0_5 | CTS

However according to Table 3 in the BLE 112 Data Sheet 1.44 off of the Bluegiga website, the pinouts should be:

P0_2 (pin 26) CTS | (FTDI) RTS
P0_3 (pin 25) RTS | (FTDI) CTS
P0_4 (pin 24) TX  | (FTDI) RX
P0_5 (pin 23) RX  | (FTDI) TX

These are for USART 1. There is a different configuration using the same pins for USART 0, but since the one above is what is used in their development board, this leads me to believe it is the default configuration.

BTW what you refer to as a datasheet is actually a schematic of their breakout board.