![]() ![]() I have the right code in place, but unable to receive the output over USB. I have initialized the components in the right order (DMA before the ADC). I have been at this for weeks and cannot figure out why I cannot receive any data. The only issue is not being able to get that data onto my computer. I am also able to detect and measure the output of the sensor using the Logic Analyzer. On a hardware level (as I mentioned earlier) I know that the signals are being generated. I tried varying the Baud Rates as well but no luck, not even garbage values. I confirmed that I am using the right port. When I tried doing the same thing, using the same serial port reader, I don't see anything showing up in the console. When the person in the video opens a serial port reader (CoolTerm), he begins to see data showing up in the console without configuring anything (just pushes start). Then the output of the ADC is programmed to be sent over USB to the host computer. One of the interdependent signals triggers the internal ADC to read the sensor output via DMA (4th internal signal). Basically there is a master clock signal, and two other signals which are interdependent. In fact, I have replicated each and every setting to match what the video shows. This video tutorial that I have been following has the same configuration. ![]() ![]() Middleware -> USB_DEVICE -> Communication Device Class (Virtual Port Com).Connectivity -> USB_OTG_FS -> Device_Only.RCC -> HSE -> Crystal/Ceramic Resonator.I have the following configuration regarding connectivity: I confirmed (using a logic analyzer) that the code is generating the correct signals. I have programmed the board via CubeIDE and the program flashes onto the board without any problems. I generate 3 clock signals to drive the sensor. I have been trying to interface a sensor using an STM32F401RE Nucleo board but failing to receive sensor data from the board. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |