Hey everyone. I've been trying to get my rust code running on this device, and have the basic blinky stuff working, but I can't figure out how to configure the UARTE0 device to output to the USB device. Looking at another project that uses the Cygnal USB UART (https://github.com/braun-robotics/rust-dwm1001) I can see they're specifying GPIO pins to be used for UARTE0 so it'll go out the USB device, but those aren't working for me -- and neither are the pins marked RX/TX (0.08 and 0.06).
So I've started trying to find out where it's set up in the Arduino code that's published here for this board, and I can't find it anywhere. The closest I've come was the USBSerial class (in nrf52/0.10.1/cores/nRF5/usb/USBSerial.*), but it's begin() function is empty, and it's only defined for the nrf52840 anyway. I am a complete newbie with this stuff, so I assume I'm looking in the wrong place or doing something silly.
Anyone have any pointers? It's pretty cool to blink LEDs and all, but I'm pretty sure I'll need serial output to do more serious work.
Feather nrf52832 usb/uart info
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- eeriedescent
- Posts: 10
- Joined: Fri Apr 12, 2019 9:07 pm
Re: Feather nrf52832 usb/uart info
Turns out the labeled pins were correct: 0.08 and 0.06 for RX/TX. Not sure what my issue was, but it started working fine after posting this.
Please be positive and constructive with your questions and comments.