I have designed up my own board to integrate several pieces of hardware, and I am wanting to leave the native UARTs on the rpi available for other expansions, hats, etc. In this train of thought, I elected to add in an I2C to dual uart (SC16IS752) which is shared with my GPS unit. The external UART is loaded up in the device tree successfully and reports as ttySC0 on the connection to the STM32F446 processor chip.
I *think* I have successfully programmed the microcontroller last night using openocd. Not sure yet how to confirm that is accurate or not, perhaps this will need to be the first task, but not sure how to do that since I cannot talk to the microcontroller using the GUI. The openocd reported success, but I have learned to not always trust success reports
So to start out, my first question is how do I include the ttySC0 as the communication uart between the PI and the microcontroller?
The specific area <I think> I need to change is highlighted below.
If my assumptions are way off base, please feel free to correct me and get me pointed in the right direction.I: 2019-08-19 01:29:03.736 This software is for use on amateur radio networks only,
I: 2019-08-19 01:29:03.737 it is to be used for educational purposes only. Its use on
I: 2019-08-19 01:29:03.737 commercial networks is strictly prohibited.
I: 2019-08-19 01:29:03.737 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2019-08-19 01:29:03.737 MMDVMHost-20181107_Pi-Star is starting
M: 2019-08-19 01:29:03.737 Built 09:24:10 Nov 12 2018 (GitID #9444eca)
I: 2019-08-19 01:29:03.737 General Parameters
I: 2019-08-19 01:29:03.737 Callsign: KG7PAR
I: 2019-08-19 01:29:03.737 Id: 1234567
I: 2019-08-19 01:29:03.737 Duplex: yes
I: 2019-08-19 01:29:03.737 Timeout: 240s
I: 2019-08-19 01:29:03.737 D-Star: disabled
I: 2019-08-19 01:29:03.737 DMR: disabled
I: 2019-08-19 01:29:03.737 YSF: disabled
I: 2019-08-19 01:29:03.737 P25: disabled
I: 2019-08-19 01:29:03.737 NXDN: disabled
I: 2019-08-19 01:29:03.737 POCSAG: disabled
I: 2019-08-19 01:29:03.737 Modem Parameters
I: 2019-08-19 01:29:03.737 Port: /dev/ttyAMA0
I: 2019-08-19 01:29:03.737 Protocol: uart
I: 2019-08-19 01:29:03.737 RX Invert: no
I: 2019-08-19 01:29:03.737 TX Invert: yes
I: 2019-08-19 01:29:03.737 PTT Invert: no
I: 2019-08-19 01:29:03.737 TX Delay: 100ms
I: 2019-08-19 01:29:03.737 RX Offset: 0Hz
I: 2019-08-19 01:29:03.737 TX Offset: 0Hz
I: 2019-08-19 01:29:03.737 RX DC Offset: 0
I: 2019-08-19 01:29:03.737 TX DC Offset: 0
I: 2019-08-19 01:29:03.737 RF Level: 100.0%
I: 2019-08-19 01:29:03.738 DMR Delay: 0 (0.0ms)
I: 2019-08-19 01:29:03.738 RX Level: 50.0%
I: 2019-08-19 01:29:03.738 CW Id TX Level: 50.0%
I: 2019-08-19 01:29:03.738 D-Star TX Level: 50.0%
I: 2019-08-19 01:29:03.738 DMR TX Level: 50.0%
I: 2019-08-19 01:29:03.738 YSF TX Level: 50.0%
I: 2019-08-19 01:29:03.738 P25 TX Level: 50.0%
I: 2019-08-19 01:29:03.738 NXDN TX Level: 50.0%
I: 2019-08-19 01:29:03.738 POCSAG TX Level: 50.0%
I: 2019-08-19 01:29:03.738 RX Frequency: 145999999Hz (145999999Hz)
I: 2019-08-19 01:29:03.738 TX Frequency: 146000000Hz (146000000Hz)
M: 2019-08-19 01:29:03.738 Opening the MMDVM
E: 2019-08-19 01:29:16.554 Unable to read the firmware version after six attempts
My schematic is a derivative of the Repeater Builder Version 3 board with regards to the STM32F446 circuitry.