Replies: 4 comments 8 replies
-
|
Hi there, the Renesas does not has a build-in Serial-over-USB bridge and thus it can not enumerate as COM port on Windows. Instead, you need to connect an external Serial-over-USB bridge (FTDI, for example Adafruit FT232H) to access the serial/UART interface. This is documented here: If you instead intent to use the native USB connection, the correct firmware would be AFBR.S50.ExplorerApp.v1.5.6_RA4M2_USB.hex. The Renesas MCU should then enumerate as an AFBR-S50-EK under the Measurement and Control section in the Device Manager. Please note further that the CANApp is not able to connect to the Explorer GUI as this is a completely different project and does not contain the communication protocol required for the Explorer GUI. The same is true for the example app. The later only streams data via the UART (again, an external FTDI is required). The CANApp is only a simple demo that contains very simple CAN commands to start and stop measurements as well as receiving distance values. It is only meant as a quick start to implement your own CAN messages. If you still have issues with the correct (USB) firmware and can not connect to the board, it probably is a design issue on your custom board. |
Beta Was this translation helpful? Give feedback.
-
|
The USB connection is now good, however, the MCU to AFBR-S50 connection fails. The firmware tries to initialize the device upon initialization and if if does not succeed, the resulting error is "no free devices found" (as there are 0). So I recommend to double check the power supply and SPI connection to the sensor. I have not found any error with a quick glance at you schematic though. Maybe it helps if you probe the first view SPI commands after powering the device. There is a connection test going on where the firmware tries to probe connected devices. Have a look here for the description: |
Beta Was this translation helpful? Give feedback.
-
|
thanks for the quick reply so now mostly the issue is with the PCB and the sensor itself ?! using oscilloscope to view sensor's spi pins I should be able to see some waveform which if decoded should translate to these |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.








Uh oh!
There was an error while loading. Please reload this page.
-
i have a custom pcb that uses renesas mcu same design as the provided reference CANapp board. i was successfully able to flash the mcu in bootloader mode by pulling down the MD but then when I restart the board I don't see any com port or devices being recognized even AFBR-s50 Explorer app doesn't show any devices to connect to.

here I used the last file to flash is that the correct one?
here is the schematic for reference I don't thing it should be a hardware issue but still I will recheck ldo and all the mosfet.
Beta Was this translation helpful? Give feedback.
All reactions