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

CAN Extended Frame 29-Bit #15252

Closed
Lynda96 opened this issue Mar 22, 2022 · 10 comments
Closed

CAN Extended Frame 29-Bit #15252

Lynda96 opened this issue Mar 22, 2022 · 10 comments

Comments

@Lynda96
Copy link

Lynda96 commented Mar 22, 2022

Hi
I am working on CAN bus with NUCLEO BOARDH743ZI2 ,so I am coding with mbed studio 1.4.3 , I am just doing a loop test (send data from CAN1TD and receive it from CAN2RD with the same board ) this is the code that I have tested
captureexter

it doesn't work with EXtended format ,it works only with Standard format
Can you please ,tell me where is the problem ?
Thank you

@mbedmain
Copy link

@Lynda96 thank you for raising this issue.Please take a look at the following comments:

Could you add some more detail to the description? A good description should be at least 25 words.
What target(s) are you using?
What toolchain(s) are you using?
What Mbed OS version are you using?
It would help if you could also specify the versions of any tools you are using?
How can we reproduce your issue?

NOTE: If there are fields which are not applicable then please just add 'n/a' or 'None'. This indicates to us that at least all the fields have been considered.
Please update the issue header with the missing information.

@Lynda96 Lynda96 changed the title CAN FORMAT problems CAN Extended Frame 29-Bit Mar 22, 2022
@0xc0170
Copy link
Contributor

0xc0170 commented Mar 31, 2022

cc @ARMmbed/team-st-mcd

@jeromecoutant
Copy link
Collaborator

Hi
Maybe CAN expert community have some tips: @mynameismichael @pmancele @veppikeppi

@pilotak
Copy link
Contributor

pilotak commented Apr 1, 2022

I have never tried this direct wiring, only with transceivers to get CAN but in my code i also set
messageOut.type = CANData;

@Lynda96
Copy link
Author

Lynda96 commented Apr 1, 2022

HI
Thank you for your answer .
Actualy , I modified a value on the library can_api.c
cancpp
obj->CanHandle.Init.ExtFiltersNbr = 64; it was equal to 128 I changed it to 64 and it works

@jeromecoutant
Copy link
Collaborator

Hi @Lynda96
Will you be able to push a patch for that ?
Thx

@Lynda96
Copy link
Author

Lynda96 commented Apr 20, 2022

Hi @jeromecoutant
I don't understand what do you mean ?

@jeromecoutant
Copy link
Collaborator

obj->CanHandle.Init.ExtFiltersNbr was equal to 128 I changed it to 64 and it works

Do you think you can propose a clean patch that is working for every one ?

@Lynda96
Copy link
Author

Lynda96 commented Apr 20, 2022

it works for me but i don't know if it's gonna work for you ,i change it cause on datasheet Can EXTENDED Filter is 64 elements ,so i think it's depends to the board you are working on .
I am working on NucleoBoard h743zi2
image

@JohnK1987
Copy link

The basic rules were not followed here

Could you add some more detail to the description? A good description should be at least 25 words.
What target(s) are you using?
What toolchain(s) are you using?
What Mbed OS version are you using?
It would help if you could also specify the versions of any tools you are using?
How can we reproduce your issue?

@Lynda96 did not fill all necessary information for full context, especially what MbedOS version was used.

This issue is know issue and it was already solved in MbedOS 6.14 #15000
This one can be closed. What do you think @0xc0170 @jeromecoutant ?

@0xc0170 0xc0170 closed this as completed Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants