Hello!
I have problems to run Bluetooth on PC10/PC11 pins.
It is working, but very slow and not stable. Runtime data rate is very low 5-10 sec.
What could be the reason? I have tried other pins in TS but it's not working on other Serial ports like PA10/PA9.
Thanks!
STM32F407VGT6 Bluetooth PC10/PC11 Problem
- AndreyB
- Site Admin
- Posts: 14333
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: STM32F407VGT6 Bluetooth PC10/PC11 Problem
I always have same poor exchange rate. I guess one way to investigate is to try wired uart.
There are some settings hard-coded in the .ini file and we have those optimized for maximum performance via USB. Remember we have a lot of data points
There are some settings hard-coded in the .ini file and we have those optimized for maximum performance via USB. Remember we have a lot of data points
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: STM32F407VGT6 Bluetooth PC10/PC11 Problem
I tried to wire serial TTL directly to pins, but still have same slow speed, but Bluetooth even loses connection to TS.
Only PC10 and PC11 works and can't be override in TS.
Is there anything else could be done?
Only PC10 and PC11 works and can't be override in TS.
Is there anything else could be done?
- AndreyB
- Site Admin
- Posts: 14333
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: STM32F407VGT6 Bluetooth PC10/PC11 Problem
Try editing .ini file - you would be touching these lines probably
For specification of those lines see
http://www.tunerstudio.com/index.php/support/manuals/tsdevmanuals/137-ecu-definition-specification-aka-the-ini-document
Code: Select all
; Optimize comms for fast rusEFI ECUs
noCommReadDelay = true;
defaultRuntimeRecordPerSec = 100;
maxUnusedRuntimeRange = 1000;
http://www.tunerstudio.com/index.php/support/manuals/tsdevmanuals/137-ecu-definition-specification-aka-the-ini-document
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: STM32F407VGT6 Bluetooth PC10/PC11 Problem
Tried many of those settings, but still not stable communication. Tried even default values for them.
Seems there is something in FW that is holding it down, sometimes run time jumps to 20 and then again drops to 0.7-5 etc.
Could be other settings? Maybe RusEfi doesnt like PC10 and PC11 pins for TS?
Thanks!
Seems there is something in FW that is holding it down, sometimes run time jumps to 20 and then again drops to 0.7-5 etc.
Could be other settings? Maybe RusEfi doesnt like PC10 and PC11 pins for TS?
Thanks!
Re: STM32F407VGT6 Bluetooth PC10/PC11 Problem
Maybe someone has a good running bluetooth running on RusEfi? Pin map etc.
Im not able to get ir running as it should and it seems its not posible maybe?
Could be some kind of FW bug?
Any good info will be appreciated.
Thanks!
Im not able to get ir running as it should and it seems its not posible maybe?
Could be some kind of FW bug?
Any good info will be appreciated.
Thanks!
Re: STM32F407VGT6 Bluetooth PC10/PC11 Problem
Hi!
About Bluetooth connection.
Is there any settings that should be activated for STM32F407? I have seen in code Bluetooth option enable/disable. There should be something that is slowing down communication with Bluetooth module when pins PC10/PC11 is used.
Those pins are hard coded to them. Is there easy way to set them to pins PA9/PA10 as second serial output on stm32f407 to try this out.
Mostly PC10/PC11 is used for SPI/SD.
Could it be possible in future to change brain pins in TS? I have seen many struggling to set up Bluetooth for RusEFI and could be something how to fix this.
Thanks!
About Bluetooth connection.
Is there any settings that should be activated for STM32F407? I have seen in code Bluetooth option enable/disable. There should be something that is slowing down communication with Bluetooth module when pins PC10/PC11 is used.
Those pins are hard coded to them. Is there easy way to set them to pins PA9/PA10 as second serial output on stm32f407 to try this out.
Mostly PC10/PC11 is used for SPI/SD.
Could it be possible in future to change brain pins in TS? I have seen many struggling to set up Bluetooth for RusEFI and could be something how to fix this.
Thanks!
- AndreyB
- Site Admin
- Posts: 14333
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: STM32F407VGT6 Bluetooth PC10/PC11 Problem
Put a bounty on it.
Please consider supporting rusefi on patreon.
Please consider supporting rusefi on patreon.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: STM32F407VGT6 Bluetooth PC10/PC11 Problem
This is good idea.
Does RusEfi have bounty program ready like other platforms or this has different approach?
I would like to see how this platform grow.
Does RusEfi have bounty program ready like other platforms or this has different approach?
I would like to see how this platform grow.
- AndreyB
- Site Admin
- Posts: 14333
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: STM32F407VGT6 Bluetooth PC10/PC11 Problem
Let's move that subject to https://rusefi.com/forum/viewtopic.php?f=5&t=1642 but overall I am quite pessimistic considering code complexity.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: STM32F407VGT6 Bluetooth PC10/PC11 Problem
Hello, you managed to make the successful connection of the bluetooth module, I am trying to make it in microrusefi 0.6.0 but I have not been able to
In advance I thank those who help me for their time.
In advance I thank those who help me for their time.