<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CAN configuration with RTD/EB tresos for Freemaster in FreeMASTER</title>
    <link>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2294460#M2138</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199258"&gt;@gzleng&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;FreeMASTER Driver has an optimistic approach when it&amp;nbsp; tries to use the CAN peripheral. &lt;BR /&gt;- It uses the CAN base address and operates directly with the registers to send/receive data. &lt;BR /&gt;- It does not verify whether it is enabled nor properly configured&lt;/P&gt;
&lt;P&gt;It is expected that the developer performs the bare minimum configurations required to make the peripheral usable. It includes:&lt;BR /&gt;- Enabling the clocking for the used CAN instance&lt;BR /&gt;- Enabling and configuring CAN instance (Can_43_FLEXCAN should be sufficient, FreeMASTER does not use AUTOSAR's service layer → CanIf is not needed for FreeMASTER)&lt;BR /&gt;- Configuring the pins for the used CAN Instance&lt;/P&gt;
&lt;P&gt;These configurations will allow you to use FreeMASTER Driver in polling mode. For interrupt mode, one more configuration is required:&lt;BR /&gt;- Configure the interrupt controller (enable CAN interrupt, and assign FMSTR_CanIsr as interrupt handler)&lt;/P&gt;
&lt;P&gt;Hope it helps&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jan 2026 17:07:59 GMT</pubDate>
    <dc:creator>iulian_stan</dc:creator>
    <dc:date>2026-01-15T17:07:59Z</dc:date>
    <item>
      <title>CAN configuration with RTD/EB tresos for Freemaster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2160544#M2054</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;we are using a S32K358 with RTD 4.0.0 and EB tresos for configuration.&lt;BR /&gt;we are using Freemaster over UART without problem.&lt;/P&gt;&lt;P&gt;Now we want to use Freemaster over CAN.&lt;BR /&gt;The step I try with the option&amp;nbsp;FMSTR_POLL_DRIVEN and&amp;nbsp;FMSTR_DEBUG_TX.&lt;/P&gt;&lt;P&gt;The FLEXCAN1 clock is enable using EB tresos config , DIO are configure using EB Tresos.&lt;BR /&gt;&lt;BR /&gt;I also configure the CAN controller with EB TResos.(250 Kb)&lt;BR /&gt;&lt;BR /&gt;but I can't see the Debug frame on CAN&lt;BR /&gt;I'm not sure I have configure the CAN properly, we also use the FLEXCAN 0 for other purpose.&lt;BR /&gt;I disable CanRxFifo&lt;BR /&gt;&lt;BR /&gt;Do someone have a example of CAN configuration ?&lt;BR /&gt;&lt;BR /&gt;Sophie&lt;BR /&gt;&lt;BR /&gt;&lt;LI-PRODUCT title="FREEMASTER" id="FREEMASTER"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;LI-PRODUCT title="S32K3" id="S32K3"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 08:55:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2160544#M2054</guid>
      <dc:creator>sobo</dc:creator>
      <dc:date>2025-08-29T08:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: CAN configuration with RTD/EB tresos for Freemaster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2160621#M2055</link>
      <description>&lt;P&gt;How do I need to configure&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;/* Select RX and TX FlexCAN Message buffers */&lt;BR /&gt;#define FMSTR_FLEXCAN_TXMB 1&lt;BR /&gt;#define FMSTR_FLEXCAN_RXMB 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;with EB tresos Hardware object configure as :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sobo_0-1756462250901.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354801i0CA4EAA84336C8B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sobo_0-1756462250901.png" alt="sobo_0-1756462250901.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sophie&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 10:12:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2160621#M2055</guid>
      <dc:creator>sobo</dc:creator>
      <dc:date>2025-08-29T10:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: CAN configuration with RTD/EB tresos for Freemaster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2160686#M2056</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Sophie,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You do not need to configure the RX and TX buffers in EB. Only basic CAN driver configuration is required.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FreeMASTER will set messages IDs for RX (FMSTR_CAN_CMDID&lt;/SPAN&gt;&lt;SPAN&gt;)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and TX (FMSTR_CAN_RESPID&lt;/SPAN&gt;&lt;SPAN&gt;)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;into the message buffers corresponding to those macros - FMSTR_FLEXCAN_RXMB and FMSTR_FLEXCAN_TXMB respectively.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Btw, are you able to send &amp;amp; receive standard messages (non FreeMASTER) ? As far as I know some S32K358 boards come with a secure CAN transceiver that requires additional configuration.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Iulian&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 12:32:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2160686#M2056</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2025-08-29T12:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: CAN configuration with RTD/EB tresos for Freemaster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2160699#M2057</link>
      <description>Hi Iulian,&lt;BR /&gt;&lt;BR /&gt;For the board we use our own hardware with a "normal" transceiver.&lt;BR /&gt;I will check if the HW is ok, but I would like to check the software configuration first.&lt;BR /&gt;&lt;BR /&gt;So I need to remove hardware object from tresos and set&lt;BR /&gt;#define FMSTR_FLEXCAN_TXMB 0&lt;BR /&gt;#define FMSTR_FLEXCAN_RXMB 1&lt;BR /&gt;&lt;BR /&gt;Sophie&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Aug 2025 12:57:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2160699#M2057</guid>
      <dc:creator>sobo</dc:creator>
      <dc:date>2025-08-29T12:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: CAN configuration with RTD/EB tresos for Freemaster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2160729#M2058</link>
      <description>&lt;P&gt;If my understanding is correct,&amp;nbsp; EB Hardware are used by the RTD API to send/receive CAN messages, if so - they won't be used by FreeMASTER calls, but to avoid confusion I would remove them.&lt;/P&gt;
&lt;P&gt;On the FreeMASTER configuration side (freemaster_cfg.h) select the CAN transport and set message buffer IDs:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;// Select communication interface
#define FMSTR_TRANSPORT         FMSTR_CAN                 // Use can transport layer
#define FMSTR_CAN_DRV           FMSTR_CAN_S32_FLEXCAN     // Use can driver for FLEXCAN

/* Select RX and TX FlexCAN Message buffers */
#define FMSTR_FLEXCAN_TXMB     0
#define FMSTR_FLEXCAN_RXMB     1&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;Additionally, you need to set CAN base addres before calling &lt;FONT face="courier new,courier"&gt;FMSTR_Init&lt;/FONT&gt;&lt;BR /&gt;either via&amp;nbsp;&lt;FONT face="courier new,courier"&gt;FMSTR_CanSetBaseAddress&lt;/FONT&gt;&lt;SPAN&gt; function call&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;/* Set FreeMASTER can base address */
FMSTR_CanSetBaseAddress((FMSTR_ADDR)0x40304000);

/* Initialize FreeMASTER */
FMSTR_Init();&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;or via macro definition in the same configuration header file:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;#define FMSTR_CAN_BASE 0x40304000&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 14:36:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2160729#M2058</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2025-08-29T14:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: CAN configuration with RTD/EB tresos for Freemaster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2161482#M2059</link>
      <description>Thanks Iulian.&lt;BR /&gt;&lt;BR /&gt;I try the software on another board, and it's works&lt;BR /&gt;&lt;BR /&gt;Sophie</description>
      <pubDate>Mon, 01 Sep 2025 13:18:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2161482#M2059</guid>
      <dc:creator>sobo</dc:creator>
      <dc:date>2025-09-01T13:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: CAN configuration with RTD/EB tresos for Freemaster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2293837#M2137</link>
      <description>&lt;P&gt;Hi, would you please elaborate: "&lt;SPAN&gt;Only basic CAN driver configuration is required&lt;/SPAN&gt;"? as far as i can see, there at least needs to config the pins, enable (and configure?) the clocks, hook up the interrup (directly or indirectly to FMSTR_can_isr??), configure the flexCan_43. but is it needed to config the hardwareobject or CANIF ? please help clarify.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 02:36:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2293837#M2137</guid>
      <dc:creator>gzleng</dc:creator>
      <dc:date>2026-01-15T02:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: CAN configuration with RTD/EB tresos for Freemaster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2294460#M2138</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199258"&gt;@gzleng&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;FreeMASTER Driver has an optimistic approach when it&amp;nbsp; tries to use the CAN peripheral. &lt;BR /&gt;- It uses the CAN base address and operates directly with the registers to send/receive data. &lt;BR /&gt;- It does not verify whether it is enabled nor properly configured&lt;/P&gt;
&lt;P&gt;It is expected that the developer performs the bare minimum configurations required to make the peripheral usable. It includes:&lt;BR /&gt;- Enabling the clocking for the used CAN instance&lt;BR /&gt;- Enabling and configuring CAN instance (Can_43_FLEXCAN should be sufficient, FreeMASTER does not use AUTOSAR's service layer → CanIf is not needed for FreeMASTER)&lt;BR /&gt;- Configuring the pins for the used CAN Instance&lt;/P&gt;
&lt;P&gt;These configurations will allow you to use FreeMASTER Driver in polling mode. For interrupt mode, one more configuration is required:&lt;BR /&gt;- Configure the interrupt controller (enable CAN interrupt, and assign FMSTR_CanIsr as interrupt handler)&lt;/P&gt;
&lt;P&gt;Hope it helps&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 17:07:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2294460#M2138</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2026-01-15T17:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: CAN configuration with RTD/EB tresos for Freemaster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2294547#M2139</link>
      <description>&lt;P&gt;thanks Stan&lt;/P&gt;&lt;P&gt;after configuring one Transmit, one Receive Hardware Object in the EB, now the MB works. but i'm running into another issue with the host PC side: the ping is successful but the communication wizard still greys out so it cannot be finished. Attempting to configure the connection string in the Options dialog leads to a "the plugin configuration dialog failed, Try to specify the connection string manually" error. similar to another post from Jan 9th. i don't use mbdt and the driver is the 1.5.0&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 20:02:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2294547#M2139</guid>
      <dc:creator>gzleng</dc:creator>
      <dc:date>2026-01-15T20:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: CAN configuration with RTD/EB tresos for Freemaster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2294819#M2143</link>
      <description>&lt;P&gt;Just to be sure - did you try &lt;A href="https://community.nxp.com/t5/FreeMASTER/FreeMASTER-Plugin-Config-Failure/m-p/2294751/highlight/true#M2142" target="_self"&gt;Michal's suggestion&lt;/A&gt; ?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jan 2026 08:30:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2294819#M2143</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2026-01-16T08:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: CAN configuration with RTD/EB tresos for Freemaster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2300730#M2159</link>
      <description>Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/100557"&gt;@iulian_stan&lt;/a&gt;:&lt;BR /&gt;I have the same question about Freemaster over Can bus.&lt;BR /&gt;My project is based on NXP HVBMS_Integration_Project_0_8_0 with RTD 3.0.0, we use LPUART to communicate Freemaster originally, and we want to change it to can bus.&lt;BR /&gt;According to your answer, I have few question.&lt;BR /&gt;1. Do I need create FMSTR_CAN_S32_FLEXCAN by myself? I can't find this define inside my project.&lt;BR /&gt;2. About the following setting, I already config Can hardwareobject in MCAL setting. I need set this define according to my MCAL setting about hardwareobject or how to set this ?&lt;BR /&gt;/* Select RX and TX FlexCAN Message buffers */&lt;BR /&gt;#define FMSTR_FLEXCAN_TXMB 0 (?)&lt;BR /&gt;#define FMSTR_FLEXCAN_RXMB 1 (?)&lt;BR /&gt;3. I can't find this "FMSTR_CanSetBaseAddress" API inside my source code, do I need add other source code?&lt;BR /&gt;&lt;BR /&gt;The following is my setting right now :&lt;BR /&gt;&lt;BR /&gt;#define FMSTR_PLATFORM_S32 1 // Automotive S32 platform (see freemaster.h for list of all supported platforms)&lt;BR /&gt;&lt;BR /&gt;#define FMSTR_DEMO_ENOUGH_ROM 1 // Platform has enough ROM to show most of the FreeMASTER features&lt;BR /&gt;#define FMSTR_DEMO_LARGE_ROM 1 // Platform has large ROM enough to store the extended data structures used in FreeMASTER demo&lt;BR /&gt;#define FMSTR_DEMO_SUPPORT_I64 1 // support for long long type&lt;BR /&gt;#define FMSTR_DEMO_SUPPORT_FLT 1 // support for float type&lt;BR /&gt;#define FMSTR_DEMO_SUPPORT_DBL 1 // support for double type&lt;BR /&gt;// Enable/Disable FreeMASTER support as a whole&lt;BR /&gt;#define FMSTR_DISABLE 0 // To disable all FreeMASTER functionalities&lt;BR /&gt;&lt;BR /&gt;// Select interrupt or poll-driven serial communication&lt;BR /&gt;#define FMSTR_LONG_INTR 0 // Complete message processing in interrupt&lt;BR /&gt;#define FMSTR_SHORT_INTR 1 // Queuing done in interrupt&lt;BR /&gt;#define FMSTR_POLL_DRIVEN 0 // No interrupt needed, polling only&lt;BR /&gt;&lt;BR /&gt;// Select communication interface&lt;BR /&gt;#define FMSTR_TRANSPORT FMSTR_SERIAL // Use serial transport layer&lt;BR /&gt;#define FMSTR_SERIAL_DRV FMSTR_SERIAL_S32K3XX_LPUART // Use serial driver for UART&lt;BR /&gt;&lt;BR /&gt;// Input/output communication buffer size&lt;BR /&gt;#define FMSTR_COMM_BUFFER_SIZE 0 // Set to 0 for "automatic"&lt;BR /&gt;&lt;BR /&gt;// Receive FIFO queue size (use with FMSTR_SHORT_INTR only)&lt;BR /&gt;#define FMSTR_COMM_RQUEUE_SIZE 32 // Set to 0 for "default"&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;BR, BillWen</description>
      <pubDate>Tue, 27 Jan 2026 01:40:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/CAN-configuration-with-RTD-EB-tresos-for-Freemaster/m-p/2300730#M2159</guid>
      <dc:creator>BillWen</dc:creator>
      <dc:date>2026-01-27T01:40:22Z</dc:date>
    </item>
  </channel>
</rss>

