Hello NXP teams,
I am currently using MPC5777C board and I am having problem with connecting freemaster.
My IDE is S32DS PA 2.1.
I selected FreeMaster SDK when creating a new project which automatically created freemaster_cfg.h file inside include folder.
This is how my configuration file looks like.
What I changed in the file are
1. Poll driven serial communication -> FMSTR_POLL_DRIVEN to 1
2. FMSTR_SCI_BASE (default base address was for MPC574XP so I searched reference manual and found the base address for the port-F where my RS-232 is connected to)
For PinSettings, I set pins for eSCI_5(which is port-F)
This is my esci component settings. I set device as eSCI_5 and Baud rate as 11520.
This is how my main function looks like. What I included are CLOCK_SYS_Init, CLOCK_SYS_UpdateConfiguration, PINS_DRV_Init, EDMA_DRV_Init, ESCI_DRV_Init, FMSTR_Init, FMSTR Poll and included freemaster.h.
I debug and ran the code, opened Freemaster and tried to connect with connection wizard but "no board detected on any of specified uart communication" error pops up. What might be the problem?
And this is my RS-232 settings
Thanks in advance.
Hi @InhyeokHwang,
The steps you described seem correct to me. Next, I would check is the following:
#define FMSTR_DISABLE 0
#define FMSTR_DEBUG_TX 1
In this mode FreeMASTER Driver will send continuously a test message. Validate that you can receive the test message on the other side (for example with a serial terminal like termite).
Additionally, you can refer to the example FreeMASTER project available in "C:\NXP\FreeMASTER_Serial_Communication_Driver_V2.0\examples\SCI_driver_examples\MPC57xx\MPC577xC_EVB_e200z7_Core0".
Hope it helps,
Iulian