Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F103 CAN baud rate #44

Closed
rusefillc opened this issue Jan 13, 2022 · 10 comments
Closed

F103 CAN baud rate #44

rusefillc opened this issue Jan 13, 2022 · 10 comments

Comments

@rusefillc
Copy link
Contributor

rusefillc commented Jan 13, 2022

Steps to reproduce:
no real WBO hardware needed, blue pull and logic analyzer should be enough (?)

cd firmware
make -j12 BOARD=f1_dave

before 8603450 we had

image

image

@rusefillc
Copy link
Contributor Author

after 8603450 we have
image

@rusefillc
Copy link
Contributor Author

@blundar great news HW works with 250K version of FW

image

@rusefillc rusefillc mentioned this issue Jan 13, 2022
@mck1117
Copy link
Owner

mck1117 commented Jan 13, 2022

image

@rusefillc
Copy link
Contributor Author

I cannot explain it i just report my test results sorry

@rusefillc
Copy link
Contributor Author

Just to confirm - is it OK to test with a blue pill with logic analyzer?

IMG_20220123_184153

image

@thirstyone
Copy link

don't you need some other devices on the bus?

@rusefillc
Copy link
Contributor Author

rusefillc commented Jan 24, 2022

@thirstyone please consider using more words. We are trying to discuss pretty complex issues here and in my opinion short form is not effective. If you are looking to help please consider typing a bit more words to spell things out a bit more explicitly.

@thirstyone stm32 uses TTL levels on RX and TX pins right? Are you saying that without a real transceiver and without loopback I would never see CAN peripheral TTLing anything readable?

@mck1117
Copy link
Owner

mck1117 commented Jan 24, 2022

without loopback I would never see CAN peripheral TTLing anything readable?

tie TX and RX together, with a 1k pullup to 3.3v, you don't need a CAN tranciever, but you may need a "bus" enough to fake it.

@rusefillc
Copy link
Contributor Author

@thirstyone thank you - with real bus I got 8MHz F103 to work! (alligator clips are wired to CANHacker with 120R)

image

IMG_20220123_211117

@rusefillc
Copy link
Contributor Author

and F103 WBO firmware CAN works as well as is on this blue pill setup, I have no idea what was wrong with my previous experiments on real WBO board

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants