Search found 25 matches

by And_Ru
Fri Oct 20, 2017 8:33 am
Forum: Libary request
Topic: CAN Bus Library for STM32F103
Replies: 123
Views: 24262

Re: CAN Bus Library for STM32F103

I think your PR has pulled in several other changes that are unnecessary or incorrect. I would start again with a clean branch of the current Arduino_STM32 repo, and apply only the changes needed for CAN. Yes, I will do so. Just let me know wnen to start. I think practically speaking, USB and CAN c...
by And_Ru
Tue Oct 17, 2017 3:10 pm
Forum: Libary request
Topic: CAN Bus Library for STM32F103
Replies: 123
Views: 24262

Re: CAN Bus Library for STM32F103

I see the PR includes changes to things like the Hardware timers etc This would need to be extensively tested by people using these timers I could potentially push a branch with these changes, but it will take a while to get this complexity and risk of this change into the master, because everyone ...
by And_Ru
Fri Oct 13, 2017 12:17 pm
Forum: Libary request
Topic: CAN Bus Library for STM32F103
Replies: 123
Views: 24262

Re: CAN Bus Library for STM32F103

Hi I think there could be some improvements for your library. For example, F1 board have only one CAN interface, so out of these two /* peripheral addresses */ #define CAN1_BASE ((CAN_Port*)0x40006400) #define CAN2_BASE ((CAN_Port*)0x40006800) only "CAN1_BASE" is used. So, this constructor Hardware...
by And_Ru
Fri Oct 13, 2017 11:41 am
Forum: Libary request
Topic: CAN Bus Library for STM32F103
Replies: 123
Views: 24262

Re: CAN Bus Library for STM32F103

Hi Roger,
RogerClark wrote:
Wed Sep 13, 2017 9:54 pm
did anyone generate a PR??
I've just made PR with core files change. Please check if this is what all we need.
https://github.com/rogerclarkmelbourne/ ... 2/pull/355

also I added CAN speeds 33 and 95; CAN_GPIO_PA11_PA12 mapping.
by And_Ru
Wed Oct 04, 2017 11:34 am
Forum: IDE's
Topic: FLProg - "Visual programming for not programmers"
Replies: 0
Views: 260

FLProg - "Visual programming for not programmers"

Have anybody tried this software? Found it yesterday, looks interesting. Initially it is in Russian (great for me!), but english versoin also available. No direct support for STM32, but the code will be "compiled" into .ino file. Links: http://flprogwiki.ru/flprogRelease/releseSite/index.php?lang=en...
by And_Ru
Tue Sep 26, 2017 8:59 pm
Forum: Libary request
Topic: CAN Bus Library for STM32F103
Replies: 123
Views: 24262

Re: CAN Bus Library for STM32F103

Phono wrote:
Fri Sep 22, 2017 1:39 pm
If possible, just send me these new files. E-mail see in private messages.
by And_Ru
Fri Sep 22, 2017 8:39 am
Forum: Libary request
Topic: CAN Bus Library for STM32F103
Replies: 123
Views: 24262

Re: CAN Bus Library for STM32F103

I am definitely not easy with Git, so I did not issue a PR. Since some people here have successfully integrated the HardwareCAN library into their cores, could someone perform the PR on my behalf? I can check for correctness afterwards, if you wish. I can try to PR. Could you check this branch: htt...
by And_Ru
Sun Sep 03, 2017 10:14 pm
Forum: IDE's
Topic: Debug STM32 with VScode
Replies: 29
Views: 2629

Re: Debug STM32 with VScode

@vitor_boss 7.) You don't need to set/change anything in "launch.json" 8.) Set the project in VSCODE for blink example and try to compile(ctrl+alt+r), upload(ctrl+alt+u) and debug(F5). I tried to do all this, but the program ask me to choose board and I cannot see genericSTM32 in the list. What sho...
by And_Ru
Sun Sep 03, 2017 9:50 pm
Forum: Libary request
Topic: CAN Bus Library for STM32F103
Replies: 123
Views: 24262

Re: CAN Bus Library for STM32F103

1) I know I'm late, but if you have only first message sent to CAN and then hang up, it is good to check if receiver party works well (receive and acknowledge the message). 2) to remain USB serial in the board I just added the check of one pin in the setup: Serial1.begin(115200); pinMode(28, INPUT);...
by And_Ru
Wed Jun 07, 2017 9:49 pm
Forum: Libary request
Topic: CAN Bus Library for STM32F103
Replies: 123
Views: 24262

Re: CAN Bus Library for STM32F103

So, the answer is
afio_init();
Before switching back to A pins.