I'm using yad2xx(http://sourceforge.net/projects/yad2xx/) library for FT232 device to communication between PC and stm32f303 microcontroller. I'm facing with an issue about wrong data flowing between those systems.
I'm sending bytes from my GUI which is created with JavaFX 8 and I'm reading those bytes from my stm32f303 device. I'm reading some bytes but they are wrong.
For instance, I'm sending a = 0x61 and b = 0x62 characters but I'm reading them from microcontroller side respectively 0x06 and 0x18.
Here is my JavaFX button click event source code:
On microcontroller side I'm saving these bytes in char array.
I'm not a java expert I'm an electrical & electronic engineer, I spend too much time while trying to solve this issue but I cant succeed. So I need your helps.
Have a nice day.
John Damien Smith
posted 2 years ago
The yad2xx library was downloaded six times this week. So it is not a high use library that people in general will have a lot of experience with. Also, your issue appears to be related to the serial communication rather than anything JavaFX specific. So this is probably not the best forum to get assistance with your project. I advise contacting the creator of the yad2xx project directly and asking him to assist you. Or you could contact the creator of the alternate JavaFTD2XX project (https://kenai.com/projects/javaftd2xx/pages/Home) who states on his documentation page that his email is in the source code.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads