Hello all,
I am working with raspberry pi pico, rp2040, in HOST CDC mode, using the reference "host_cdc_msc_hid" project (without the msc and hid), I validate it mounts another microcontroller in device CDC mode.
Callbacks for mounted and unmounted work perfectly while debugging, and sending data from HOST to DEVICE is ok too.
My problem is when reading data coming from Device CDC, when I checked the buffer variable with function "tuh_cdc_read" it is always empty. Also, the function "tuh_cdc_rx_cb" is never triggered which is weird ( and just to mention that even if I can send data from the host to the device, the "tuh_cdc_tx_complete_cb" is never triggered).
Any suggestions ?? or maybe I should enable any extra IRQ that I ignore, that is the final step to begin my project I will really appreciate the help. I am using TinyUSB library.
Thanks.