|
pico-ice
RaspberryPi Pico with an iCE40 FPGA
|
FPGA CRAM access. More...
Functions | |
| void | ice_cram_open (void) |
| Reset the iCE40 and set it to CRAM configuration mode and prepare the incoming SPI transfer. | |
| void | ice_cram_write (const uint8_t *buf, size_t len) |
| Send the bitstream to the iCE40 CRAM, which configures the FPGA circuitry. | |
| bool | ice_cram_close (void) |
| Terminate the SPI transaction and prepare the FPGA to start, waiting until it finishes booting. | |
FPGA CRAM access.
| bool ice_cram_close | ( | void | ) |
Terminate the SPI transaction and prepare the FPGA to start, waiting until it finishes booting.
false if it timed out. | void ice_cram_write | ( | const uint8_t * | buf, |
| size_t | len | ||
| ) |
Send the bitstream to the iCE40 CRAM, which configures the FPGA circuitry.
| buf | pointer to bitstream data to flush to the iCE40 |
| len | size of that buffer |