...
First case example (reads the ID of the SPI Flash) | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SW host computer: reads the ID of the SPI Flash This is pseudocode close to the real one.
| ||||||||||||||||||||||||
FW running on USB FX2 microcontroller This is a piece of real code (FW running on USB FX2 microcontroller) https://github.com/Trenz-Electronic/TE-USB-Suite/blob/master/TE_USB_FX2.firmware/te_usb_api.ver.3.2/te_api.cLines c, lines 207-211 EP1INBUF: read Reply[] from USB FX2 microcontroller to host computer EP1OUTBUF: write Command[] from host computer to USB FX2 microcontroller
| ||||||||||||||||||||||||
FW running on USB FX2 microcontroller This is a piece of real code https://github.com/Trenz-Electronic/TE-USB-Suite/blob/master/TE_USB_FX2.firmware/te_usb_api.ver.3.2/spi.cLines , lines 63-89
|
...