Hi,
I'm struggling to use ble_app_att_mtu_throughput and spi. Some help?
When I merge the two codes the main code (ble_app_att_mtu_throughput) doesn't work.
Thanks for your help
Hi,
I'm struggling to use ble_app_att_mtu_throughput and spi. Some help?
When I merge the two codes the main code (ble_app_att_mtu_throughput) doesn't work.
Thanks for your help
Hi,
Does the merged code build without any errors?
regards
Jared
Hi,
Thanks for the nice explanation, it cleared up my confusion.
You mentioned that you're not seeing log output from any of the nRF52832 devices.
regards
Jared
If you only connect the client side, do you see any log output?
Yes, I see the classic log output of ble_app_att_mtu_throughput
Can you share the projects that is running on server and client side?
Yes, here the folder:
Yes, I see the classic log output of ble_app_att_mtu_throughput
I mean:
NRF_LOG_INFO("ATT MTU example started."); NRF_LOG_INFO("Press button 3 on the board connected to the PC."); NRF_LOG_INFO("Press button 4 on other board.");
And next the other parts of the code
Hi,
The project you shared doesn't contain any source file?
Ste_ said:Yes, I see the classic log output of ble_app_att_mtu_throughput
So you only see the log output if you only connect the client side?
Because earlier you wrote this:
Ste_ said:When I run just ble_app_att_mtu_throughput and I open the PuTTY terminals, I see "this board act as responder" and "this board act as tester.
This doesn't happen when I add spi code. I open the two terminals and nothing happen, neither if I push the reset button on the nRF52832 boards
So please clarify, when you see log output, what log output you see, and from what device,
regards
Jared
So please clarify, when you see log output, what log output you see, and from what device,
This is what I see on responder and on tester terminal if I try to integrate my code with SPI code.
And this is what I see if I run just the code ble_app_att_mtu_throughput:
Then, If I comment the SPI part of the code, it runs perfectly. But I need the SPI part.
So you only see the log output if you only connect the client side?
Not if I integrate the SPI code
The project you shared doesn't contain any source file?
Sorry, is it right now?
So please clarify, when you see log output, what log output you see, and from what device,
This is what I see on responder and on tester terminal if I try to integrate my code with SPI code.
And this is what I see if I run just the code ble_app_att_mtu_throughput:
Then, If I comment the SPI part of the code, it runs perfectly. But I need the SPI part.
So you only see the log output if you only connect the client side?
Not if I integrate the SPI code
The project you shared doesn't contain any source file?
Sorry, is it right now?
Hi,
Thank you for the clear explanation.
The zip file does still not contain any main.c or any other source file as far as I can see. You're using Segger Embedded Studio as IDE right?
regards
Jared
Yes, I'm using SEGGER
Can you send me zip that contains your project code? Meaning main.c and any other source file you've added.
2843.ble_app_att_mtu_throughput.zip
Sorry again
I have so many doubt.
I don't know if you run the ble_app_att_mtu_throughput code, but normally you charge the code on the first nRF52832 and on the second nRF52832 and you can choose which one is the tester (the Central) and which one is the responder (the Peripheral). Once you choose it, data is sent from tester to responder.
Now, once I choose which one is the tester and which one is the responder, before send data via ble, start the spis code (in meanwhile I start the spi code in the nRF52840 which send data via spi) which is the part that allow to receive data, then send data via BLE.