forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Scare Crowe
b45efc6417
|
3 years ago | |
---|---|---|
.. | ||
Makefile | 3 years ago | |
README | 3 years ago | |
board.h | 3 years ago | |
cdc.h | 3 years ago | |
sample.c | 3 years ago | |
sample.ld | 3 years ago | |
stack-def.h | 3 years ago | |
usb-cdc.c | 3 years ago |
README
This is an application example using ST Nucleo F103 board.
SB62 and SB63 should be soldered to connect PA2 and PA3 to CN10
connector.
ST-Link/V2's TX and RX are disconnected (by removing SB13 and SB14).
Smartcard can be connected, by using USART3_TX for I/O and USART3_CK
for CLK, PB6 for Vcc, PB8 for Vpp, and PB9 for RST.
NOTE:
Using the USB CDC-ACM for serial communication is a kind of wrong,
because it's designed for modem; In the protocol, we have no way to
control the CTSRTS signal.
TIOCGICOUNT
TODO:
* Use of DMA for serial communication
* RS-232 support: GPIO with DTR (out), DCD (in), DSR (in), RI (in)
* serial config setting of CTSRTS?
By vendor specific control?
* stats report control
By vendor specific control?
* Half-duplex support
* Support of other communication mode: IrDA, etc.