ross728 post_id=52639 time=1552279225 user_id=101943:
I reckon that this would make a pretty awesome platform for introducing students to RISC-V, JTAG, and debugging.
Several ideas;
Raspberry Pi as a JTAG tool - please layout the Grove AI HAT PCB to connect the JTAG pins of the SiPEED MAIX-1 to suitable GPIO pins on the HAT connector so that the Raspberry Pi can be used as a JTAG tool. eg [url] https://github.com/synthetos/PiOCD/wiki/Using-a-Raspberry-Pi-as-a-JTAG-Dongle[/url]
SPI comms with the Raspberry Pi - please layout the Grove AI HAT PCB so that a Raspberry Pi SPI master on the HAT connector (Raspberry Pi is only an SPI master) can talk to an SPI slave on the SiPEED MAIX-1 (SPI much faster than UART...). However, unlike the K210, the Raspberry Pi doesn't have a full FPIOA, so you will have to accommodate its limited choice of HAT pin functions when you layout the Grove AI HAT PCB - only some HAT pins can be used for SPI etc.
Power sharing - please tie the +5Vdc plane on the Grove AI Hat PCB to the +5Vdc pins on the Raspberry Pi HAT connector. Depending on current draw, this will allow both the Raspberry Pi and the HAT to be powered from a single power supply connection (one cable instead of two!)
Really appreciate your idea, in fact, we have already connected the power on the AI HAT on the Raspberry Pi HAT connector, in order to protect the circuit, we also add a switch to change the power mode.
For SPI connector and JTAG, we will evaluate and try to add them in the final version. Will get you updated~Thank you!