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.
Thank you. I changed the measurement point(pin56), and the data output is correct.
However, I modified the Makefile.confing
ifeq ($(TARGET), renesas_rcar_s4)rlin3_port0 = 7Modifyifeq ($(TARGET), renesas_rcar_s4)rlin3_port0 = 0
And in thehypervisorobj\obj_1pe_atk2\sample1.cTheoretically, it can supportRLIN3_PORT0 == 0I checked the program, all the permissions are enabled.But there is no output from CN8[2].My SW5 and SW9 are the same value.
How can I modify the program to replace LIN7 with LIN0?