I am scratching my head on this one...
A little back story: I created a python application that utilizes pyserial and runs on a BeagleBone Black that communicates with a proprietary device that has a PIC24FJ256DA210. This device has an RS232 connection available which goes to an SP3232 transceiver. During the initial building of my app, I was not utilizing the BeagleBone Black and was working strictly in a Windows environment and made my serial connection with a USB-Serial adapter. I built the app out to 100% functionality in that environment and everything worked as expected. I then refactored the application to run on my BeagleBone (which is running debian). This is where the head scratching starts as my memory is a bit hazy on what all happened... Initially, due to my lack of knowledge, I just didn't realize I needed to do anything with the signal that was coming/going to/from the UART on the BeagleBone. When I initially attempted to run my application, connecting my UART lines to the proprietary device, it was not working as expected. I happened to have a MAX3232 breakout board/adapter handy, and I connected the proprietary device to my BeagleBoe UART through that, and started to get the behavior I expected. However, I started to experience inconsistent results with my application and after a bit of code refactoring, a new MAX3232 adapter, and who knows what else I did, I am now at my current situation.
So my current situation is that I can transmit to the proprietary device, but it does not appear that I am receiving back the expected data. (Most of the time I am not receiving any data at all). Initially I was thinking I had a ground issue, a baud rate issue or something along those lines...but at this point I do not believe that to be the case. I can connect my beaglebone to my windows PC and send/receive data as expected.
Here is a snapshot of what my device connection looks like to the proprietary device... (I dont have all of the circuit diagrammed here for sake of noise)
Are there any conflicts with this circuit?
A little back story: I created a python application that utilizes pyserial and runs on a BeagleBone Black that communicates with a proprietary device that has a PIC24FJ256DA210. This device has an RS232 connection available which goes to an SP3232 transceiver. During the initial building of my app, I was not utilizing the BeagleBone Black and was working strictly in a Windows environment and made my serial connection with a USB-Serial adapter. I built the app out to 100% functionality in that environment and everything worked as expected. I then refactored the application to run on my BeagleBone (which is running debian). This is where the head scratching starts as my memory is a bit hazy on what all happened... Initially, due to my lack of knowledge, I just didn't realize I needed to do anything with the signal that was coming/going to/from the UART on the BeagleBone. When I initially attempted to run my application, connecting my UART lines to the proprietary device, it was not working as expected. I happened to have a MAX3232 breakout board/adapter handy, and I connected the proprietary device to my BeagleBoe UART through that, and started to get the behavior I expected. However, I started to experience inconsistent results with my application and after a bit of code refactoring, a new MAX3232 adapter, and who knows what else I did, I am now at my current situation.
So my current situation is that I can transmit to the proprietary device, but it does not appear that I am receiving back the expected data. (Most of the time I am not receiving any data at all). Initially I was thinking I had a ground issue, a baud rate issue or something along those lines...but at this point I do not believe that to be the case. I can connect my beaglebone to my windows PC and send/receive data as expected.
Here is a snapshot of what my device connection looks like to the proprietary device... (I dont have all of the circuit diagrammed here for sake of noise)
Are there any conflicts with this circuit?
Last edited: