2015-06-01 08:08 AM
Hello
I am using the spc560B60L3 100 pin package. For my application , I need to use 4 LINflex interfaces.In the data sheet, it is mentioned that it supports 4 LINs.Can we use LIN4 and LIN5 or it only supports LIN0 up to LIN3?
Regards,2015-06-02 06:42 AM
Hello Souha ,
Yes , you can use LIN4 and LIN5 on LQFP100 To configure it , you have to set the PADSEL associated Table cf screenshot on Pinmap Wizard Best regards Erwan ________________ Attachments : 2015-06-02_154111.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qWct&d=%2Fa%2F0X0000000boR%2FhkrWYt4GfM1H5pOo8NwFGewvS7aMv1.dBP7oh_UiKRA&asPdf=false2015-06-02 07:59 AM
Hello Erwan,
Thanks for your response. Can I use LIN5 and LIN4 in serial mode? IN spc5studio when I activate this function it generates an error saying that it is not supported in spc560B60L3.Regards,2015-06-05 12:57 AM
Hello Souha ,
You are right ;) There is a bug in SPC56BXX HAL Drivers you can update the file spc560b_registry.h to solve the issue :#elif defined(_SPC560B60L3_)
#define SPC5_NUM_DSPI 3
#define SPC5_NUM_LINFLEX 6
#define SPC5_NUM_GPIO 77
We have submitted an error report for HAL drivers.
it will be corrected asap on the official update site.
Best regards
Erwan
2015-06-10 07:18 AM
2015-06-10 08:14 AM
#if SPC5_HAS_LINFLEX4 || defined(__DOXYGEN__)
#define SPC5_LINFLEX4 (*(struct spc5_linflex *)0xFFE50000UL)
#endif
it corrects the DATA ABORT.
we will correct it in the next version of SPC5-HAL.
Best regards
Erwan