azure-sphere-samples icon indicating copy to clipboard operation
azure-sphere-samples copied to clipboard

Is it possible to clear Uart in azure

Open nishithpoojary opened this issue 2 years ago • 5 comments

Hi. I have to send some hex values through uart. But I noticed even after the data is sent , when I send next set of hex values it had some unwanted values. example :- data to be sent 02 04 01 00 data received by FTDI connected to azure : E0 02 04 01 00 I don't understand how a extra byte E0 (this value changes) is received by FTDI.

Please guide me on this issue. Thank you.

nishithpoojary avatar Jun 30 '23 14:06 nishithpoojary

is E0 received after resetting the board or while the application is running?

jamesadevine avatar Jun 30 '23 14:06 jamesadevine

While the application is running itself I faced this issue. Even after erasing the azure board and tried deploying I faced this issue.

nishithpoojary avatar Jun 30 '23 14:06 nishithpoojary

I doubt the board is actually sending this data intentionally. Try flushing the FTDI buffers before you try and read from the device.

jamesadevine avatar Jun 30 '23 14:06 jamesadevine

Its the same when i use nrf board connected to azure. A specific hex value is required by nrf to do its work. But since the nrf doesn't receive this proper hex value, the nrf stays idle waiting for required hex value.

nishithpoojary avatar Jun 30 '23 14:06 nishithpoojary

I think more context is required here. I'll reach out to you over email to arrange a time to talk.

jamesadevine avatar Jun 30 '23 15:06 jamesadevine