Closed gab7891 closed 5 years ago
Hi,
What is the error code value returned by begin method ?
Best regards,
Pierre
Le 4 juil. 2019 à 18:10, gab7891 notifications@github.com a écrit :
Hi, many thanks for this library, I am using an Arduino uno and the LoopBackDemo example and when the REQOP is changed to 010 (Set Internal Loopback mode) nothing happens and the deadline is reached. I checked the MODIF flag and it keeps in 0 and the OPMOD always keeps in 100 (Configuration mode). The SPI communication is working and I Set the MODIE bit to enable Mode change Interruptions. Is the arduino uno the one that should take care of the interruption or when the REQOP is changed the MCP2517FD controller should do it by it self? Do you know what could it be for the OPMOD don't change? Thanks. Best Regards, Gabriel Pinheiro.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pierremolinaro/acan2517FD/issues/6?email_source=notifications&email_token=AEWKZVDM2PVGZJOY3NCGCJDP5YOILA5CNFSM4H5467QKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5NGMXQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AEWKZVBYLV2X2DOD2RQFFKDP5YOILANCNFSM4H5467QA.
Hi, thanks for the answer, The error code is 0x10000 and it is in this part of the code that fails to change the operation mode:
writeByteRegister (C1CON_REGISTER + 3, inSettings.mRequestedMode); //----------------------------------- Wait (2 ms max) until requested mode is reached bool wait = true ; const uint32_t deadline = millis () + 2 ; while (wait) { const uint8_t actualMode = (readByteRegister (C1CON_REGISTER + 2) >> 5) & 0x07 ; wait = actualMode != inSettings.mRequestedMode ; if (wait && (millis () >= deadline)) { errorCode |= kRequestedModeTimeOut ; wait = false ; } } Best regards, Gabriel Pinheiro.
A qui, 4/07/2019, 19:03, Pierre Molinaro notifications@github.com escreveu:
Hi,
What is the error code value returned by begin method ?
Best regards,
Pierre
Le 4 juil. 2019 à 18:10, gab7891 notifications@github.com a écrit :
Hi, many thanks for this library, I am using an Arduino uno and the LoopBackDemo example and when the REQOP is changed to 010 (Set Internal Loopback mode) nothing happens and the deadline is reached. I checked the MODIF flag and it keeps in 0 and the OPMOD always keeps in 100 (Configuration mode). The SPI communication is working and I Set the MODIE bit to enable Mode change Interruptions. Is the arduino uno the one that should take care of the interruption or when the REQOP is changed the MCP2517FD controller should do it by it self? Do you know what could it be for the OPMOD don't change? Thanks. Best Regards, Gabriel Pinheiro.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/pierremolinaro/acan2517FD/issues/6?email_source=notifications&email_token=AEWKZVDM2PVGZJOY3NCGCJDP5YOILA5CNFSM4H5467QKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5NGMXQ>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AEWKZVBYLV2X2DOD2RQFFKDP5YOILANCNFSM4H5467QA .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pierremolinaro/acan2517FD/issues/6?email_source=notifications&email_token=AMKY4ICZ7KBO2WMBZQCUKMTP5Y3OTA5CNFSM4H5467QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZH5VOY#issuecomment-508549819, or mute the thread https://github.com/notifications/unsubscribe-auth/AMKY4IDULLVRKHGBJUPCXV3P5Y3OTANCNFSM4H5467QA .
Hello,
The error code says that the MCP2517FD cannot reach the requested mode within 2 ms.
Note the MCP2717FD has no RESRT pin, so sometimes when things go wrong, it cannot be reseted. Power off and then power on solves the issue in such case.
Best regards,
Pierre
Le 4 juil. 2019 à 20:25, gab7891 notifications@github.com a écrit :
Hi, thanks for the answer, The error code is 0x10000 and it is in this part of the code that fails to change the operation mode:
writeByteRegister (C1CON_REGISTER + 3, inSettings.mRequestedMode); //----------------------------------- Wait (2 ms max) until requested mode is reached bool wait = true ; const uint32_t deadline = millis () + 2 ; while (wait) { const uint8_t actualMode = (readByteRegister (C1CON_REGISTER + 2) >> 5) & 0x07 ; wait = actualMode != inSettings.mRequestedMode ; if (wait && (millis () >= deadline)) { errorCode |= kRequestedModeTimeOut ; wait = false ; } } Best regards, Gabriel Pinheiro.
A qui, 4/07/2019, 19:03, Pierre Molinaro notifications@github.com escreveu:
Hi,
What is the error code value returned by begin method ?
Best regards,
Pierre
Le 4 juil. 2019 à 18:10, gab7891 notifications@github.com a écrit :
Hi, many thanks for this library, I am using an Arduino uno and the LoopBackDemo example and when the REQOP is changed to 010 (Set Internal Loopback mode) nothing happens and the deadline is reached. I checked the MODIF flag and it keeps in 0 and the OPMOD always keeps in 100 (Configuration mode). The SPI communication is working and I Set the MODIE bit to enable Mode change Interruptions. Is the arduino uno the one that should take care of the interruption or when the REQOP is changed the MCP2517FD controller should do it by it self? Do you know what could it be for the OPMOD don't change? Thanks. Best Regards, Gabriel Pinheiro.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/pierremolinaro/acan2517FD/issues/6?email_source=notifications&email_token=AEWKZVDM2PVGZJOY3NCGCJDP5YOILA5CNFSM4H5467QKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5NGMXQ>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AEWKZVBYLV2X2DOD2RQFFKDP5YOILANCNFSM4H5467QA .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pierremolinaro/acan2517FD/issues/6?email_source=notifications&email_token=AMKY4ICZ7KBO2WMBZQCUKMTP5Y3OTA5CNFSM4H5467QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZH5VOY#issuecomment-508549819, or mute the thread https://github.com/notifications/unsubscribe-auth/AMKY4IDULLVRKHGBJUPCXV3P5Y3OTANCNFSM4H5467QA .
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pierremolinaro/acan2517FD/issues/6?email_source=notifications&email_token=AEWKZVH6JHR5MACY2BYGAKTP5Y575A5CNFSM4H5467QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZH6ONI#issuecomment-508553013, or mute the thread https://github.com/notifications/unsubscribe-auth/AEWKZVD4GCXZ6FKZIH7V5VDP5Y575ANCNFSM4H5467QA.
Hi, So, I checked the connections and they are all working. I am using the breakout board CAN FD with SPI interface from SKPANG. It uses a 40 MHz oscillator and I selected the parameter accordingly and still it does not work. When the REQOP is set to the desire operation mode nothing happens and the OPMOD always keep at 0b100, which is in operation mode... I saw that it says this in the beginning of the library: " Very very important: put a 10kΩ resistor between CS and VDD of MCP2517FD". I am not using the resistor but I'm not seeing where this can be the solution to this.. What is the purpose of this Resistor?
Best Regards, Gabriel Pinheiro.
Hi,
On power-up, the CS pin is programmed as input, so it is floating. Floating pin may have the active low level, so the MCP2517FD is selected in a some way. Later, when "begin" is executed, the CS pin programs it as an output.
The problem is the MCP2517 has no RESET pin, RESET is done by software. But I have found that erratic selection can prevent software reset to success.
Adding a resistor between CS and VDD maintain CS high (no selection) after power-up, until CS is configured as output.
Regards,
Pierre
Le 8 juil. 2019 à 18:28, gab7891 notifications@github.com a écrit :
Hi, So, I checked the connections and they are all working. I am using the breakout board CAN FD with SPI interface from SKPANG. It uses a 40 MHz oscillator and I selected the parameter accordingly and still it does not work. When the REQOP is set to the desire operation mode nothing happens and the OPMOD always keep at 0b100, which is in operation mode... I saw that it says this in the beginning of the library: " Very very important: put a 10kΩ resistor between CS and VDD of MCP2517FD". I am not using the resistor but I'm not seeing where this can be the solution to this.. What is the purpose of this Resistor?
Best Regards, Gabriel Pinheiro.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pierremolinaro/acan2517FD/issues/6?email_source=notifications&email_token=AEWKZVGF3IQOZPXQJ76MSGDP6NTLLA5CNFSM4H5467QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZNUCYQ#issuecomment-509296994, or mute the thread https://github.com/notifications/unsubscribe-auth/AEWKZVBRPE6AWZ6N2YTV7GTP6NTLLANCNFSM4H5467QA.
Hi, I add the resistor and it keeps making the same thing. It simply don´'t change the operation mode. I bought the mcp2517FD Click to see if it does the same thing because it's very strange that it does't change the operation mode when I change the REQOP bits... The MCP2517FD controller can be broken and don't change... I don't know, I will test in the MCP2517FD Click board to see if it does the same thing.. After testing I will reply here to tell if it worked. By the way, this are the values that it's being used by the code: ->ACAN2517FDSettings settings (ACAN2517FDSettings::OSC_40MHz, 125UL * 1000UL, ACAN2517FDSettings::DATA_BITRATE_x1) ; ->Bit Rate Prescaler: 1 ->Arbitration Phase segment 1: 255 ->Arbitration Phase segment 2: 64 ->Arbitration SJW:64 ->Actual Arbitration Bit Rate: 125000 bit/s ->Exact Arbitration Bit Rate ? yes ->Arbitration Sample point: 80% ->Configuration error 0x10000
Best Regards, Gabriel Pinheiro.
Quite strange…
You use a Microchip MCP2517FD CAN FD Breakout Board from SK Pang, what is your platform? Arduino Uno, ESP32, … ? Do you set the JP5 strap accordingly ?
Pierre
Le 9 juil. 2019 à 15:45, gab7891 notifications@github.com a écrit :
Hi, I add the resistor and it keeps making the same thing. It simply don´'t change the operation mode. I bought the mcp2517FD Click to see if it does the same thing because it's very strange that it does't change the operation mode when I change the REQOP bits... The MCP2517FD controller can be broken and don't change... I don't know, I will test in the MCP2517FD Click board to see if it does the same thing.. After testing I will reply here to tell if it worked. By the way, this are the values that it's being used by the code: ->ACAN2517FDSettings settings (ACAN2517FDSettings::OSC_40MHz, 125UL * 1000UL, ACAN2517FDSettings::DATA_BITRATE_x1) ; ->Bit Rate Prescaler: 1 ->Arbitration Phase segment 1: 255 ->Arbitration Phase segment 2: 64 ->Arbitration SJW:64 ->Actual Arbitration Bit Rate: 125000 bit/s ->Exact Arbitration Bit Rate ? yes ->Arbitration Sample point: 80% ->Configuration error 0x10000
Best Regards, Gabriel Pinheiro.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pierremolinaro/acan2517FD/issues/6?email_source=notifications&email_token=AEWKZVDBGXMKMINHJXPFM5LP6SI75A5CNFSM4H5467QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZQJ6GI#issuecomment-509648665, or mute the thread https://github.com/notifications/unsubscribe-auth/AEWKZVFNNOQ5M3DIVT5KSDDP6SI75ANCNFSM4H5467QA.
Another question : is the JP3 jumper is on ? I think it is required, even for internal / external loopback mode.
Pierre
Le 9 juil. 2019 à 15:45, gab7891 notifications@github.com a écrit :
Hi, I add the resistor and it keeps making the same thing. It simply don´'t change the operation mode. I bought the mcp2517FD Click to see if it does the same thing because it's very strange that it does't change the operation mode when I change the REQOP bits... The MCP2517FD controller can be broken and don't change... I don't know, I will test in the MCP2517FD Click board to see if it does the same thing.. After testing I will reply here to tell if it worked. By the way, this are the values that it's being used by the code: ->ACAN2517FDSettings settings (ACAN2517FDSettings::OSC_40MHz, 125UL * 1000UL, ACAN2517FDSettings::DATA_BITRATE_x1) ; ->Bit Rate Prescaler: 1 ->Arbitration Phase segment 1: 255 ->Arbitration Phase segment 2: 64 ->Arbitration SJW:64 ->Actual Arbitration Bit Rate: 125000 bit/s ->Exact Arbitration Bit Rate ? yes ->Arbitration Sample point: 80% ->Configuration error 0x10000
Best Regards, Gabriel Pinheiro.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pierremolinaro/acan2517FD/issues/6?email_source=notifications&email_token=AEWKZVDBGXMKMINHJXPFM5LP6SI75A5CNFSM4H5467QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZQJ6GI#issuecomment-509648665, or mute the thread https://github.com/notifications/unsubscribe-auth/AEWKZVFNNOQ5M3DIVT5KSDDP6SI75ANCNFSM4H5467QA.
Sorry, I did not see you use an Arduino Uno. So JP5 should be between 2 and 3 (+5V selected).
Best regards,
Pierre
Le 9 juil. 2019 à 15:45, gab7891 notifications@github.com a écrit :
Hi, I add the resistor and it keeps making the same thing. It simply don´'t change the operation mode. I bought the mcp2517FD Click to see if it does the same thing because it's very strange that it does't change the operation mode when I change the REQOP bits... The MCP2517FD controller can be broken and don't change... I don't know, I will test in the MCP2517FD Click board to see if it does the same thing.. After testing I will reply here to tell if it worked. By the way, this are the values that it's being used by the code: ->ACAN2517FDSettings settings (ACAN2517FDSettings::OSC_40MHz, 125UL * 1000UL, ACAN2517FDSettings::DATA_BITRATE_x1) ; ->Bit Rate Prescaler: 1 ->Arbitration Phase segment 1: 255 ->Arbitration Phase segment 2: 64 ->Arbitration SJW:64 ->Actual Arbitration Bit Rate: 125000 bit/s ->Exact Arbitration Bit Rate ? yes ->Arbitration Sample point: 80% ->Configuration error 0x10000
Best Regards, Gabriel Pinheiro.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pierremolinaro/acan2517FD/issues/6?email_source=notifications&email_token=AEWKZVDBGXMKMINHJXPFM5LP6SI75A5CNFSM4H5467QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZQJ6GI#issuecomment-509648665, or mute the thread https://github.com/notifications/unsubscribe-auth/AEWKZVFNNOQ5M3DIVT5KSDDP6SI75ANCNFSM4H5467QA.
Hi, I don't have the JP3 jumper ON.. I will try it now to see if works! Thanks.
Best regards, Gabriel Pinheiro
A ter, 9/07/2019, 15:38, Pierre Molinaro notifications@github.com escreveu:
Another question : is the JP3 jumper is on ? I think it is required, even for internal / external loopback mode.
Pierre
Le 9 juil. 2019 à 15:45, gab7891 notifications@github.com a écrit :
Hi, I add the resistor and it keeps making the same thing. It simply don´'t change the operation mode. I bought the mcp2517FD Click to see if it does the same thing because it's very strange that it does't change the operation mode when I change the REQOP bits... The MCP2517FD controller can be broken and don't change... I don't know, I will test in the MCP2517FD Click board to see if it does the same thing.. After testing I will reply here to tell if it worked. By the way, this are the values that it's being used by the code: ->ACAN2517FDSettings settings (ACAN2517FDSettings::OSC_40MHz, 125UL * 1000UL, ACAN2517FDSettings::DATA_BITRATE_x1) ; ->Bit Rate Prescaler: 1 ->Arbitration Phase segment 1: 255 ->Arbitration Phase segment 2: 64 ->Arbitration SJW:64 ->Actual Arbitration Bit Rate: 125000 bit/s ->Exact Arbitration Bit Rate ? yes ->Arbitration Sample point: 80% ->Configuration error 0x10000
Best Regards, Gabriel Pinheiro.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/pierremolinaro/acan2517FD/issues/6?email_source=notifications&email_token=AEWKZVDBGXMKMINHJXPFM5LP6SI75A5CNFSM4H5467QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZQJ6GI#issuecomment-509648665>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AEWKZVFNNOQ5M3DIVT5KSDDP6SI75ANCNFSM4H5467QA .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pierremolinaro/acan2517FD/issues/6?email_source=notifications&email_token=AMKY4IDAXVDI442ND6TULPTP6SPE5A5CNFSM4H5467QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZQPCGA#issuecomment-509669656, or mute the thread https://github.com/notifications/unsubscribe-auth/AMKY4IBQED4R3WSJO3TNXQDP6SPE5ANCNFSM4H5467QA .
Hi, So I put the JP3 jumper ON and it didn't work... When the MCP2517FD Click board arrive I will test with it and I will tell you If it worked, but with the SKPANG CAN FD breakout Board is not changing the operation mode..
Best regards, Gabriel Pinheiro.
Hi, I already have connection with the MCP2517FD and it changed to Normal FD mode! So it was the other board that was broken! But now I'm trying to test it by sending some CAN FD packets and it is not receiving. Can it be the source that is sending with bad timing and the click board never receives the CAN packet?
Best regards, Gabriel Pinheiro.
Hi, It is working now, really thanks for the help and consideration! One thing, when reeding your code I believe I found an error in the configuration.. In this part: //----------------------------------- Configure ISO CRC Enable bit data8 = 1 << 6 ; // PXEDIS <-- 1 if (inSettings.mISOCRCEnabled) { data8 |= 1 << 5 ; // Enable ISO CRC in CAN FD Frames bit } writeByteRegister (IOCON_REGISTER, data8); // DS20005688B, page 24 -> C1CON_REGISTER but it should be writing to the C1CON_REGISTER instead like this: writeByteRegister (C1CON_REGISTER, data8); // DS20005688B, page 24
Best Regards, Gabriel Pinheiro.
which library are you using for the breakout board ? I need help
I am using the acan2517fd library.
Best Regards, Gabriel Pinheiro
A quarta, 11/12/2019, 11:57, lalitheranti notifications@github.com escreveu:
which library are you using for the breakout board ? I need help
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/pierremolinaro/acan2517FD/issues/6?email_source=notifications&email_token=AMKY4IAUKB23OKQVUNXMVZLQYD5TXA5CNFSM4H5467QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGTNUAQ#issuecomment-564582914, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMKY4IGVWZKBL4YLHR3E523QYD5TXANCNFSM4H5467QA .
Hi, Which FD lib are you using currently? The new one updated on DEc 31, 2019 or older commit version? Could you share the CAN FD lib and sample working example on SK pang board as I am using the same for my student project. It would be much helpful. @gab7891
Hi, I was using the old version until 08/19, but I stoped using the SK pang board because after many trials and tests I could not put it working as It should be. Instead I bought the Mikroeletronika CANFD board and It worked immediatly. So in my case, the problem was the board, not the code..
Best Regards, Gabriel Pinheiro.
A terça, 25/02/2020, 10:05, lalitheranti notifications@github.com escreveu:
Hi, Which FD lib are you using currently? The new one updated on DEc 31, 2019 or older commit version? Could you share the CAN FD lib and sample working example on SK pang board as I am using the same for my student project. It would be much helpful.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/pierremolinaro/acan2517FD/issues/6?email_source=notifications&email_token=AMKY4IH3ES3IL236BLOXRJDRETUNJA5CNFSM4H5467QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM3K3IQ#issuecomment-590785954, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMKY4IE3KHBIBTHSKLZP633RETUNJANCNFSM4H5467QA .
Interesting to note. I have the Mikroeletronika CANFD board as well MCP2518FD click board. but still the same issue as
It started working now when I change the // false --> Do NOT include Stuff Bit Count in CRC Field and use CRC Initialization Vector with all zeros // true --> Include Stuff Bit Count in CRC Field and use Non-Zero CRC Initialization Vector according to ISO 11898-1:2015 public: bool mISOCRCEnabled = false ;
from true. :)
What is the value returned by can.begin ?
You can try to use less RAM by adding theses settings before calling can.begin : settings.mDriverTransmitFIFOSize = 1 ; settings.mDriverReceiveFIFOSize = 1 ;
Le 25 févr. 2020 à 13:19, lalitheranti notifications@github.com a écrit :
Interesting to note. I have the Mikroeletronika CANFD board as well MCP2518FD click board. but still the same issue as https://user-images.githubusercontent.com/32573724/75245515-2858a900-57ce-11ea-9521-8df9e02f16d2.png https://user-images.githubusercontent.com/32573724/75245567-458d7780-57ce-11ea-9893-e105f2cca4e7.png — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pierremolinaro/acan2517FD/issues/6?email_source=notifications&email_token=AEWKZVEANSXPJUPFYDMMZ3TREUEDVA5CNFSM4H5467QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM3X2SI#issuecomment-590839113, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEWKZVH6UVNCVFF7AWE355LREUEDVANCNFSM4H5467QA.
Sorry, I find the board on SK PANG, it is MCP2517FD-BRK.
Le 25 févr. 2020 à 19:01, Pierre Molinaro pierre@pcmolinaro.name a écrit :
Hi,
Interesting, what is the reference of this SK pang board ? On the SK Pang web pages, I have only found the ISO-CAN-FD-BRK board, but it contains a transceiver, but no MCP2518FD.
Best regards,
Pierre
Le 25 févr. 2020 à 12:33, gab7891 <notifications@github.com mailto:notifications@github.com> a écrit :
Hi, I was using the old version until 08/19, but I stoped using the SK pang board because after many trials and tests I could not put it working as It should be. Instead I bought the Mikroeletronika CANFD board and It worked immediatly. So in my case, the problem was the board, not the code..
Best Regards, Gabriel Pinheiro.
A terça, 25/02/2020, 10:05, lalitheranti <notifications@github.com mailto:notifications@github.com> escreveu:
Hi, Which FD lib are you using currently? The new one updated on DEc 31, 2019 or older commit version? Could you share the CAN FD lib and sample working example on SK pang board as I am using the same for my student project. It would be much helpful.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <https://github.com/pierremolinaro/acan2517FD/issues/6?email_source=notifications&email_token=AMKY4IH3ES3IL236BLOXRJDRETUNJA5CNFSM4H5467QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM3K3IQ#issuecomment-590785954 https://github.com/pierremolinaro/acan2517FD/issues/6?email_source=notifications&email_token=AMKY4IH3ES3IL236BLOXRJDRETUNJA5CNFSM4H5467QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM3K3IQ#issuecomment-590785954>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AMKY4IE3KHBIBTHSKLZP633RETUNJANCNFSM4H5467QA https://github.com/notifications/unsubscribe-auth/AMKY4IE3KHBIBTHSKLZP633RETUNJANCNFSM4H5467QA> .
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pierremolinaro/acan2517FD/issues/6?email_source=notifications&email_token=AEWKZVHJUKWD4OOGSPXL5M3RET6XPA5CNFSM4H5467QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM3T2QY#issuecomment-590822723, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEWKZVB4CYRDPNPNXUNMUDDRET6XPANCNFSM4H5467QA.
Hi, many thanks for this library, I am using an Arduino uno and the LoopBackDemo example and when the REQOP is changed to 010 (Set Internal Loopback mode) nothing happens and the deadline is reached. I checked the MODIF flag and it keeps in 0 and the OPMOD always keeps in 100 (Configuration mode). The SPI communication is working and I Set the MODIE bit to enable Mode change Interruptions. Is the arduino uno the one that should take care of the interruption or when the REQOP is changed the MCP2517FD controller should do it by it self? Do you know what could it be for the OPMOD don't change? Thanks. Best Regards, Gabriel Pinheiro.