I want to use the ssl protocol on raspberry pi pico board.
As a result of searching within the micropython code for that content, it seems that axtls and mbedtls can be written.
I have selected axtls library used by esp and I am porting it.
If I send a lot of data using the code, the process appears to be stopped. If you do a ping test at this time, it is normal.
mutex problem? irq problem?
When rp2040 read the data using SPI interface....
I set the tx_buf[100] and I send a lot of data using the code, the process appears to be stopped.
but I set the tx_buf[4096] and I send a lot of data using the code, the process seems to have stopped intermittently.
Code: Select all
STATIC void wiz_spi_read(uint8_t *buf, uint32_t len) {
//uint8_t tx_buf[100];
uint8_t tx_buf[4096];
machine_spi_transfer((mp_obj_base_t*)wiznet5k_obj.spi ,len, tx_buf ,buf);
source code link : https://github.com/Wiznet/RP2040-HAT-MicroPython