Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

MR24HPC1 connected to XIAO ESP32S3 Sense fails to print data to serial terminal #2

Open
tfitzgerald opened this issue Sep 28, 2023 · 1 comment

Comments

@tfitzgerald
Copy link

I am trying to run the MR24HPB1_Example.ino example.

This is the output :

16:15:52.549 -> ESP-ROM:esp32s3-20210327
16:15:52.549 -> Build:Mar 27 2021
16:15:52.549 -> rst:0x15 (USB_UART_CHIP_RESET),boot:0x8 (SPI_FAST_FLASH_BOOT)
16:15:52.549 -> Saved PC:0x4202186a
16:15:52.549 -> SPIWP:0xee
16:15:52.549 -> mode:DIO, clock div:1
16:15:52.549 -> load:0x3fce3808,len:0x3ac
16:15:52.549 -> load:0x403c9700,len:0x9b4
16:15:52.549 -> load:0x403cc700,len:0x2908
16:15:52.549 -> entry 0x403c98bc
16:15:52.643 -> Readly

Looks like it is hanging, is this code compatible with the MR24HPC1?

Any thoughts?
Thank you

@vboga25
Copy link

vboga25 commented Mar 26, 2024

It may be happening because in the setup() code when we call:

radar.SerialInit();

Serial1 (which is internally connected to the flash memory in some dev boards) is used for communication between the microcontroller and the radar. This leads to a collision, and the MCU crashes and continuously tries to reset, showing you that error message.
Do you know of any workaround to change this to other serial pins, or have you found a solution to this problem?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants