limengdu / Seeed-Studio-MR24FDB1-Sensor

Seeed_24GHz_mmWave_Radar_Sensor
MIT License
19 stars 12 forks source link

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

Open tfitzgerald opened 1 year ago

tfitzgerald commented 1 year ago

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 commented 7 months ago

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?