Hi Cis van Mierlo, Thanks a lot for your below references/recommendations.
We will adopt this accordingly. Thanks and Regards, Sathish. On Wed, 1 Sept 2021 at 13:32, Cis van Mierlo <[email protected]> wrote: > Hi Sathish, > > > > We currently do not use TPL in NuttX for our example application. > But this can easily be adopted. > > Bare metal example code and drivers for the BCC (MC3377xx), including SPI > transfers for TPL communication can be found on the NXP website. > > https://www.nxp.com/design/analog-expert-software-and-tools/sdk-analog-expert-drivers/embedded-sw-battery-cell-controller-software-driver-for-mc33771b-mc33772b:EMBEDDED-SW-BCC?tab=Design_Tools_Tab > > You could add this to your application and together with the NuttX SPI > drivers. > > For an example on how to do that, you could check the BMS772 example > software at https://github.com/NXPHoverGames/RDDRONE-BMS772/. > > This example software communicates using an S32K144 to a single MC33772 > BCC using SPI. > > > > Kind regards, > > > > Cis van Mierlo > Systems & Applications Engineer > > NXP Semiconductors, CTO Systems Innovations > > > High Tech Campus 46, room 0.64, 5656 AE Eindhoven, The Netherlands > E-mail: [email protected] > Internet: http://www.nxp.com > > > > *From:* Sathish Touch energy <[email protected]> > *Sent:* Saturday, August 28, 2021 4:09 AM > *To:* [email protected] > *Cc:* Peter van der Perk <[email protected]>; Cis van Mierlo < > [email protected]> > *Subject:* [EXT] Re: TPL support in nuttx for daisy chain battery cell > monitoring? > > > > *Caution: *EXT Email > > Hi Alan, > > > > Thanks for your quick response. > > > > Yes. It requires TWO SPI WORKING at the same time. > > > > Hi Peter and Cis, > > > > Do we have TPL code in nuttx for daisy chain battery cell monitoring? > > > > or how do we proceed into the nuttx porting work from the TPL code > available at > > > https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/BMS-amp-MBDT-MC33771B-MC33772B-TPL-communication-with-S32K/ta-p/1153459 > <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FNXP-Model-Based-Design-Tools%2FBMS-amp-MBDT-MC33771B-MC33772B-TPL-communication-with-S32K%2Fta-p%2F1153459&data=04%7C01%7Ccis.van.mierlo%40nxp.com%7Cc600678a468349aabd6108d969c8e03b%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C637657133744970671%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=CIif1V4IgcbF6rPvU8DAlLkaVWjvhPJVo8vYGxbF88w%3D&reserved=0> > > > > Thanks and Regards, > Sathish. > > > > > > On Sat, 28 Aug 2021 at 01:10, Alan Carvalho de Assis <[email protected]> > wrote: > > Hi Sathish, > > I think it will need the driver for MC3377x or similar battery monitor > chip: > > > https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/BMS-amp-MBDT-MC33771B-MC33772B-TPL-communication-with-S32K/ta-p/1153459 > <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FNXP-Model-Based-Design-Tools%2FBMS-amp-MBDT-MC33771B-MC33772B-TPL-communication-with-S32K%2Fta-p%2F1153459&data=04%7C01%7Ccis.van.mierlo%40nxp.com%7Cc600678a468349aabd6108d969c8e03b%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C637657133744980661%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=uJOSMRo3BvVqoV92zmOQZt9IYRrtps%2BdH0oG4ZY%2FNAs%3D&reserved=0> > > If I read it correctly it will require two SPIs working at same time > to support TPL. > > I'm CC Peter and Cis, they are the guys working on it and could give > us more info. > > BR, > > Alan > > On 8/27/21, Sathish Touch energy <[email protected]> wrote: > > Hi, > > > > I am using nuttx, with an S32K144 eval board. > > > > nuttx supports SPI driver for battery cell monitoring. > > > > In the same way, is there TPL support in nuttx for daisy chain battery > cell > > monitoring? > > > > Thanks and Regards, > > Sathish. > > > >
