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
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
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.
Just to simplify the reading of the code. Before I tried to add the SPIS part, data were generated in the amts.c as mentioned in line 220-222:
for (uint16_t i = 0; i < payload_len; i++) { data[i] = i % 244; // Riempie il buffer con valori da 0 a 243 }
so I think I should work there.