What are the correct pins for ISP over CAN on the 5534?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What are the correct pins for ISP over CAN on the 5534?

455 Views
dlayne_i2
Contributor I

Hi,

I am working on a project which requires performing software updates in the field via the CAN interface using a LPC5534 processor.  According to the documentation this should be supported.  However, there is an apparent contradiction as to what the correct pin assignments should be.  I am consulting the following two documents:

LPC553x Reference Manual, Rev. 4, 2024-11-21
LPC55S3x Product data sheet Rev. 5.0 — 7 March 2024

According to the data sheet:

dlayne_i2_0-1767898264488.pngdlayne_i2_1-1767898292515.png


So, the data sheet wants us to use PIO0_29 for RX and PIO0_30 for TX.

But, the manual says this:

dlayne_i2_2-1767898365200.png


So, the manual agrees on the TX pin, but wants us to use PIO1_22 for RX.

Which is correct?  I have been experimenting trying to get the chip into CAN ISP mode and communicating with blhost, but so far nothing has worked.

Thanks,
-David Layne

0 Kudos
Reply
3 Replies

401 Views
luis_maravilla
NXP Employee
NXP Employee

Hello,

The pin for CAN_RXD is PIO1_22;
In LPC553x Product data sheet Rev. 5.0 — 7 March 2024 table 3 page 43; description indicate that the PIO1_22 contains CAN0_RD, this confirms information with table 119 in Reference Manual.

Best Regards, Luis

0 Kudos
Reply

398 Views
dlayne_i2
Contributor I

Hi Luis, thanks for getting back to me.  While the data sheet does say what you quoted, the same language is also present for all of the following pins:

PIO1_3 function 1, page 32
PIO0_4 function 1, page 14

and PIO0_29 contains the remark about the pin being used specifically in ISP mode.

This makes me nervous as we are finalizing our schematic and it will be difficult to change pins if it turns out we cannot get ISP working over CAN on that pin.

0 Kudos
Reply

223 Views
luis_maravilla
NXP Employee
NXP Employee

Hello,

Above Table 119. ISP Assignments in Reference Manual, comment about that the descriptions show in table are the default pin assignment used by the ROM code that cannot be changed.

Could you help us confirm if using the PIO1_22 for CAN_RXD and maintaining PIO0_30 for CAN_TXD can communicate with blhost?

 

Please, let me know your findings.

Best Regards, Luis

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2290421%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EWhat%20are%20the%20correct%20pins%20for%20ISP%20over%20CAN%20on%20the%205534%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2290421%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20working%20on%20a%20project%20which%20requires%20performing%20software%20updates%20in%20the%20field%20via%20the%20CAN%20interface%20using%20a%20LPC5534%20processor.%26nbsp%3B%20According%20to%20the%20documentation%20this%20should%20be%20supported.%26nbsp%3B%20However%2C%20there%20is%20an%20apparent%20contradiction%20as%20to%20what%20the%20correct%20pin%20assignments%20should%20be.%26nbsp%3B%20I%20am%20consulting%20the%20following%20two%20documents%3A%3CBR%20%2F%3E%3CBR%20%2F%3ELPC553x%20Reference%20Manual%2C%20Rev.%204%2C%202024-11-21%3CBR%20%2F%3ELPC55S3x%20Product%20data%20sheet%20Rev.%205.0%20%E2%80%94%207%20March%202024%3CBR%20%2F%3E%3CBR%20%2F%3EAccording%20to%20the%20data%20sheet%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22dlayne_i2_0-1767898264488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dlayne_i2_0-1767898264488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dlayne_i2_0-1767898264488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dlayne_i2_0-1767898264488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dlayne_i2_0-1767898264488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F372206i3AF2807415E3AA6E%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22dlayne_i2_0-1767898264488.png%22%20alt%3D%22dlayne_i2_0-1767898264488.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22dlayne_i2_1-1767898292515.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dlayne_i2_1-1767898292515.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dlayne_i2_1-1767898292515.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dlayne_i2_1-1767898292515.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dlayne_i2_1-1767898292515.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F372207i52ED2BC13005D447%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22dlayne_i2_1-1767898292515.png%22%20alt%3D%22dlayne_i2_1-1767898292515.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3ESo%2C%20the%20data%20sheet%20wants%20us%20to%20use%20PIO0_29%20for%20RX%20and%20PIO0_30%20for%20TX.%3CBR%20%2F%3E%3CBR%20%2F%3EBut%2C%20the%20manual%20says%20this%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22dlayne_i2_2-1767898365200.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dlayne_i2_2-1767898365200.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dlayne_i2_2-1767898365200.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dlayne_i2_2-1767898365200.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dlayne_i2_2-1767898365200.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F372208iD64CDE3793EFFE30%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22dlayne_i2_2-1767898365200.png%22%20alt%3D%22dlayne_i2_2-1767898365200.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3ESo%2C%20the%20manual%20agrees%20on%20the%20TX%20pin%2C%20but%20wants%20us%20to%20use%20PIO1_22%20for%20RX.%3CBR%20%2F%3E%3CBR%20%2F%3EWhich%20is%20correct%3F%26nbsp%3B%20I%20have%20been%20experimenting%20trying%20to%20get%20the%20chip%20into%20CAN%20ISP%20mode%20and%20communicating%20with%20blhost%2C%20but%20so%20far%20nothing%20has%20worked.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%2C%3CBR%20%2F%3E-David%20Layne%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2291090%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20What%20are%20the%20correct%20pins%20for%20ISP%20over%20CAN%20on%20the%205534%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2291090%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EThe%20pin%20for%20CAN_RXD%20is%20PIO1_22%3B%3CBR%20%2F%3EIn%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fdata-sheet%2FLPC553x.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ELPC553x%20Product%20data%20sheet%20Rev.%205.0%20%E2%80%94%207%20March%202024%3C%2FA%3E%20table%203%20page%2043%3B%20description%20indicate%20that%20the%20PIO1_22%20contains%20CAN0_RD%2C%20this%20confirms%20information%20with%20table%20119%20in%20Reference%20Manual.%3C%2FP%3E%0A%3CP%3EBest%20Regards%2C%20Luis%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2291112%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20What%20are%20the%20correct%20pins%20for%20ISP%20over%20CAN%20on%20the%205534%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2291112%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Luis%2C%20thanks%20for%20getting%20back%20to%20me.%26nbsp%3B%20While%20the%20data%20sheet%20does%20say%20what%20you%20quoted%2C%20the%20same%20language%20is%20also%20present%20for%20all%20of%20the%20following%20pins%3A%3CBR%20%2F%3E%3CBR%20%2F%3EPIO1_3%20function%201%2C%20page%2032%3CBR%20%2F%3EPIO0_4%20function%201%2C%20page%2014%3CBR%20%2F%3E%3CBR%20%2F%3Eand%20PIO0_29%20contains%20the%20remark%20about%20the%20pin%20being%20used%20specifically%20in%20ISP%20mode.%3C%2FP%3E%3CP%3EThis%20makes%20me%20nervous%20as%20we%20are%20finalizing%20our%20schematic%20and%20it%20will%20be%20difficult%20to%20change%20pins%20if%20it%20turns%20out%20we%20cannot%20get%20ISP%20working%20over%20CAN%20on%20that%20pin.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2291914%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20What%20are%20the%20correct%20pins%20for%20ISP%20over%20CAN%20on%20the%205534%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2291914%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EAbove%20Table%20119.%20ISP%20Assignments%20in%20Reference%20Manual%2C%20comment%20about%20that%20the%20descriptions%20show%20in%20table%20are%20the%20default%20pin%20assignment%20used%20by%20the%20ROM%20code%20that%20cannot%20be%20changed.%3C%2FP%3E%0A%3CP%3ECould%20you%20help%20us%20confirm%20if%20using%20the%20PIO1_22%20for%20CAN_RXD%20and%20maintaining%20PIO0_30%20for%20CAN_TXD%20can%20communicate%20with%20blhost%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EPlease%2C%20let%20me%20know%20your%20findings.%3C%2FP%3E%0A%3CP%3EBest%20Regards%2C%20Luis%3C%2FP%3E%3C%2FLINGO-BODY%3E