iliasam / OpenTOFLidar

Open Source TOF Lidar
https://habr.com/ru/post/485574/
MIT License
752 stars 185 forks source link

I have a question about LidarTestingUtility. #23

Closed pikasm closed 7 months ago

pikasm commented 7 months ago

Hello, there was no pulse in my previous TDC. At that time, the request of the program was correct. Now TDC has a pulse and it becomes N/A. Does this mean that my single chip microcomputer is broken?

1700474085815
iliasam commented 7 months ago

Hello. Is MCU flashed with right firmware? Check your UART connections. Check that MCU quartz oscillator is soldered well, wires from quartz to MCU is OK. Do LED blinking? How fast?

pikasm commented 7 months ago

I tested the frequency of LED. It's 5HZ.

pikasm commented 7 months ago

Here are my test results. 微信图片_20231120182430

pikasm commented 7 months ago

Should I check if there is something wrong with MCU next? But my TDC pulse is correct, DA6 also has pulses, J2 also has pulses. Should I reinstall a DD2?

iliasam commented 7 months ago

Maybe it is really something wrong with MCU, but It is strange that other functions are working, and UART is not working. Try to check soldering MCU pins 39/40. You can check with an oscilloscope MCU RX/TX lines when PC is sending requests.

pikasm commented 7 months ago

Then I'll check it. Thank you.

pikasm commented 7 months ago

I replaced the single chip microcomputer and got a signal. Thank you so much. I am so happy.