SPI help needed


Author Message
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2552
Posted: 10:11pm 24 Jan 2022      

  Mixtel90 said  Actually, I hadn't thought of that...
The AT command set is a way for humans to write to registers. Using SPI there's no reason for humans to be involved at all. It's probably more likely that you write (and read) the registers just as you would for a SPI display, for example. Attempting to send AT commands may well be just a waste of time. A lot more info is needed.


we need to know/find EXACTLY two things:

(1) is this the board/module Lewis is dealing with:
https://wiki.seeedstudio.com/Wio_RP2040_mini_Dev_Board-Onboard_Wifi/
https://wiki.seeedstudio.com/Wio_RP2040_Module_Build-in_Wireless_2.4G/

if so,
(2) we need the schematic for the module - this will document the connections between the RP2040 and ESP8285. this in itself is sufficient information to access and use the module. without knowing how the two chips are connected together, we can do nothing.

my GUESS is that an SPI connection is used to allow the RP2040 to load firmware into the ESP8285's flash. thereafter, the same pins are reconfigured as TTL serial (RxD, TxD), allowing normal communications of AT commands and any data to send/receive.


cheers,
rob   :-)