Communication through J18
-
@Filip-Slezak J18 is a UART that is only available to the DSP so you cannot access it directly from the apps processor without a custom access library.
-
@Eric-Katzfey Hi Eric, thanks for pointing this out. How would you go about establishing a serial communication with a Teensy or other microcontroller then?
-
I have the same question, but for the VOXL 2 Mini. How to access the HS-UART, and whether it can support oddball baud rates (1012kbps or something like that.)
-
@Filip-Slezak This add-on board will expose a UART that is accessible from the applications processor: https://www.modalai.com/collections/voxl-add-ons/products/m0125?variant=40740708876339
-
@dougmiller Can you please open a new topic on the forum with this question? (I believe it may be possible to use J10)
-
@Eric-Katzfey Hey, we already have this board on https://www.modalai.com/collections/expansion-board/products/m0078 - would that work?
(and the PWM breakout board https://www.modalai.com/products/flight-core-pwm-output-cable-and-break-out-board)
-
@Filip-Slezak The VOXL2 mini does not have the expansion connectors to use the add on boards.
-
@Eric-Katzfey Hey, I have to reply from another account because the email system for confirmation doesn't work (fyi)
We have the bigger standard Voxl2, not mini.
-
@Filip-Slezak-0 Oh, sorry, got confused by your VOXL2 mini question. That m0078 board only gives you USB, not a UART. And that other link goes to some PWM breakout board for flight core. Not sure how that one fits in with VOXL2 at all.
-
@Eric-Katzfey No worries, and yes that's it. How would you recommend I communicate with that external Teensy board? Can't seem to find easily accessible pins for that.
-
@Filip-Slezak-0 I would go with that expansion board I pointed out and use UART.
-
@Eric-Katzfey Sorry for the late reply. Unfortunately, I don't see how that could work for us, we already have the m0078 on there and the J2 goes to the wifi dongle, what am I missing in what you're suggesting?
-
@Filip-Slezak-0 The board I am suggesting has USB and UART.
-
@Eric-Katzfey So you're thinking switch out the boards, use the UART for the wifi dongle and communicate over USB with the microcontroller?
-
@Filip-Slezak-0 No, keep using USB for the WiFi dongle and use the UART to communicate with the Teensy.
-
@Eric-Katzfey Got it, this is getting clearer. Is it safe to use the Teensy's 3.3V pins? According to this, the Voxl2 comm pins are at 1.8V even though its GPIOs are at 3.3V https://docs.modalai.com/voxl2-linux-user-guide/#devttyhs1---b2b-connector-uart
-
@Filip-Slezak-0 Yes, should be fine. We use that UART to connect with our external flight core boards that have 3.3V rx / tx.
-
@Eric-Katzfey Thanks Eric, got it working easily after that using a classic pyserial script. Great help!
-
@Eric-Katzfey Hi again, can we expose another UART port for programming on the Voxl2?
-
@Filip-Slezak-0 Thinking about ttyHS2 or ttyHS3 maybe shown here https://docs.modalai.com/voxl2-linux-user-guide/#uarts