Replies: 3 comments
-
Yes, this is expected. |
Beta Was this translation helpful? Give feedback.
-
So is inverting in BSB-LAN done in Software and where did i overlook it? Or is that and inverting in the ESP32 uart missing? |
Beta Was this translation helpful? Give feedback.
-
Both. |
Beta Was this translation helpful? Give feedback.
-
Hi,
i put together the Level Converter and before digging into ESP32/Arduino code i thought i have a peek at the message telegrams on the BSB. So i connected a USB TTL 3.3v Serial and i got the telegrams. The issue now is that i see them inverted e.g. bitflipped.
Flipping the bits with ^0xff seems to produce more expected input:
I was a little puzzled to i had a look at the BSB-LAN code and i could not find any bit flipping in the RX path. I could find it in the TX path.
Is this expected or some electrical issue? What am i missing?
Flo
Beta Was this translation helpful? Give feedback.
All reactions