I am using safegauto within Whitebox.
GitHub - renesas-rcar/whitebox-sdk: R-Car S4 Whitebox SDK repository
safegauto is from Commits on August 20, 2024.
I am experimenting with it on Spider.
In safegauto, the Makefile.config contains the following:
ifeq ($(TARGET), renesas_rcar_s4)
RLIN3_PORT0 = 7
….
endif
Additionally, in \hypervisor\obj\obj_1pe_atk2\sample1.c, there is:
syslog("HV%d : RH850v2 HyperVisor start on Core%d!\n", coreid, coreid);
The syslog is output through RLIN3_PORT0, which corresponds to LIN7, so there should be a waveform.
However, when measuring CN38[58] RLIN37TX with an oscilloscope, no waveform is detected.
Could you please help identify what might be the issue?
Hi Max.Sun,
As DuyDang said, LIN has not been supported on Whitebox SDK.Thus, we don't check whether it works correctly.
However, I noticed that pin number may be wrong.If I remeber correctly, RLIN37TX is pin56 on CN38 and shorting RLIN_EN pin to GND is also required.
Dear YH
thank you
and
I found that in hypervisor\target\renesas_rcar_s4\target_hv_impl.cthere are only ports 1,3,5,7 for initialization,for experimentation, I changedMakefile.config toifeq ($(TARGET), renesas_rcar_s4)RLIN3_PORT0 = 5RLIN3_PORT1 = 7RLIN3_PORT2 = 3RLIN3_PORT3 = 1OSTM_CLK_MHZ = 80endifAnd in thehypervisor\obj\obj_1pe_atk2\sample1.cAdd
Theoretically, it should become output from LIN3_5, i.e., CN13[2] should output UART data based on thesyslog(“HV%d : RH850v2 HyperVisor start on Core%d!\n”, coreid, coreid);Output UART data
But CN13[2] doesn't output any waveform, is there something I missed in my modification?