RobertK66 / obc_1769_core

Implements hardware abstractions and Layer2(3) modules for usage of the OBC hardware in cubesat projects
GNU General Public License v3.0
1 stars 1 forks source link

Soft UART #12

Open RobertK66 opened 2 years ago

RobertK66 commented 2 years ago

Switch the Debug Interface to use 2 general IO Pins and implement a 9600 baud Soft Uart

kodsurf commented 2 years ago

I remmember we did that when working with TX RX on dev board :

image

And we added GPIO somewhere here :

image

This is the way how it is connected currently with 2 wires image

Can you please tell which pins on OBC and RS485 to use ?

kodsurf commented 2 years ago

Which pin to use ?

image

Have to change this in thruster initialization :

image

Change to what ?

Thruster send byte function I change :

image

In similar way ?

image

RobertK66 commented 2 years ago

Hi, I think your comment is releated to the diskussion here. I also described the pin to use for RS485 there.

This issue here is related in implementing a 'Soft UART' This means that code should make the timings to handkle 9600 baud RX and TX pins directly. There are some examples how to do this available but I had no time until now to implement it here......

RobertK66 commented 1 year ago

@krlorik : Hi, how is it going with this issue? Clear what to do?