Community
cancel
Showing results for 
Search instead for 
Did you mean: 
MMann18
Beginner
500 Views

UART via Telemetry Port

Hi,

I am trying to establish communication between an ESP32 and the Aero RTF via UART.

For that I am trying to use the Telemetry Header (J5) on the Expansion Board.

 

So i connected GND and +5V to each other, and TX and RX crosswise.

 

On my ESP32 I am running a little program that simply echoes everything received from UART to a little OLED, which works fine when connected to my PC or to another ESP32. Baudrate is set to 115200.

 

I am following this Guide: 95 (References) FPGA

 

uavnet@uav:~$ sudo spi_xfer -b 1 -c 1 -w 2 -d d98d spi mode: 0 bits per word: 8 max speed: 4000000 Hz TX: 0x8d 0xd9 RX: 0x0 0x0 uavnet@uav:~$ sudo spi_xfer -b 1 -c 1 -w 2 -d 008e spi mode: 0 bits per word: 8 max speed: 4000000 Hz TX: 0x8e 0x0 RX: 0x0 0x0 uavnet@uav:~$ sudo spi_xfer -b 1 -c 1 -w 2 -d 558f spi mode: 0 bits per word: 8 max speed: 4000000 Hz TX: 0x8f 0x55 RX: 0x0 0x0

But nothing happens.

On my the FPGA i flashed this JAM-file from the fpga aero samples.

 

Does anyone have any idea what my mistake is? I also tried the aero-rtf.jam configuration, didn't work either.

 

p.s.: I feel like the linked wiki-article is faulty in some way ( or i just dont get it)

first it says that u have to set the first bit to 0 for write-operation and to 1 for read operation, but in the examples it uses 0x8D to WRITE in Register 0x0D.

 

0 Kudos
0 Replies
Reply