seriously, tried everything, uninstalling the whole 'studio' and BLE SDK, installing again. recompiling the examples with IAR, debug mode, etc. BGTool upload works, interactive mode never did. All SW up-to-date. cheers Tom
Did you try with the "NCP - Empty target" example? That's the only one that works with BGTool interactive mode.
tried this and everything. Same result when swapping BGM111 and two BGM121 boards with WSTK, making sure these are detected properly and so on.
Please also make sure that the power switch (next to the battery holder) is in AEM position. Does this change anything?
nothing, the switch was always in AEM.
Just to make sure adapter firmware etc is OK. Attached picture.
I tested with my kit that BGTool connection works to my BGM113 kit. Then I updated my kit firmware to the same version you have (1v0p2b678) -> it stopped working.
There seems to be some issues in the latest WSTK firmware, I will check if there is a workaround to this and get back to you as soon as possible.
You can also downgrade the WSTK firmware in Studio. See attached screenshot:
Before upgrading, I was using version 0v15p3b562 that worked fine. Can you check if you get BGTool talking to your kit by rolling back to this version?
According to QSG108,page7, I built and uploaded with BGTool the WSTK_BGAPI example from folder
C:\SiliconLabs\SimplicityStudio\v4\developer\stacks\ble\v220.127.116.11\app\bluetooth_2.1\examples_bgscript and it works in interactive view. Thanks anyway!
I tried the rollback earlier with no success (losing communication), but just made it working somehow with WSTK_BGAPI compiled. thanks!
OK, good to hear it works now. The wstk_bgapi script example is basically the BGScript equivalent of the C-based "NCP - Empty target" example.
thanks for your attention, JaakkoV legend!
As my 1st assignment I have to log ADC samples from 3 inputs at 10ksps rate. Is there any chance I could multiplex the inputs so quick with BGAPI or do I have to use external micro for ADC and sending frames over the UART to BGM module working as NCP?
If you need to sample 3 inputs at 10ksps and assuming just one byte per sample, this corresponds to 3x 10k x 8 = 240 kbit/s data rate. What do you need to do with this data? It is too much to be streamed over a BLE connection.
There is no way you can use BGAPI and read ADC at 10ksps (even for single input). I think you need to either:
1) use external micro with ADC as you suggested
2) program a standalone C application that runs inside the BGM121
i suggest you start a new topic and describe more clearly what you are trying to achieve.