-
Notifications
You must be signed in to change notification settings - Fork 13
Pinout for STM32F1 "blue pill" #6
Comments
Can you offer some help here as I don't have the STM32F103C8T6. |
Here was my connection using my MCU with W102 (WIFININA) See in right size the PINOUT of WIFININA |
Hi @tcpipchip How would I translate this in wifinina_pinout_generic.h file ? But I get no response from the board. |
looks right! |
If I load the official WIFI101 (https://www.arduino.cc/en/Reference/WiFi101) So my hope is WiFiNINA library ;) |
Just some info FYI. To use ATWINC1500 is a little bit tricky, and you have to experiment and explore yourself. It's difficult to help without the related hardware. |
sorry, i had seen that you was using STM32 |
@khoih-prog Exactly, so when running this: it will give me a reply in serial monitor: |
I currently don't think ATWINC1500 is supported by WiFiNINA/WiFiNINA_Generic library because there is no code to drive the IRQ pin which is actively used in ATWINC1500/WiFi101 library. Certainly just a good guess as I have no hardware to check. In WiFi101 lib:1. In WiFi.cppvoid WiFiClass::setPins(int8_t cs, int8_t irq, int8_t rst, int8_t en)
{
gi8Winc1501CsPin = cs;
gi8Winc1501IntnPin = irq;
gi8Winc1501ResetPin = rst;
gi8Winc1501ChipEnPin = en;
} 2. In bsp/source/nm_bsp_arduino.cint8_t gi8Winc1501CsPin = WINC1501_SPI_CS_PIN;
int8_t gi8Winc1501ResetPin = WINC1501_RESET_PIN;
int8_t gi8Winc1501IntnPin = WINC1501_INTN_PIN;
int8_t gi8Winc1501ChipEnPin = WINC1501_CHIP_EN_PIN;
...
void nm_bsp_register_isr(tpfNmBspIsr pfIsr)
{
gpfIsr = pfIsr;
attachInterruptMultiArch(gi8Winc1501IntnPin, chip_isr, FALLING);
}
...
void nm_bsp_interrupt_ctrl(uint8 u8Enable)
{
if (u8Enable) {
attachInterruptMultiArch(gi8Winc1501IntnPin, chip_isr, FALLING);
} else {
detachInterruptMultiArch(gi8Winc1501IntnPin);
}
}
So it's better to use another shield for WiFiNINA library, such as Ublox W102, etc |
W102 i know that works very fine on STM32, because i already tested! |
Ok guys, thanks for trying! |
Hi,
I have an issue with communicating with my "Adafruit atwinc1500 breakout board".
Its connected to a Blue Pill (STM32F103C8T6), using Arduino IDE 1.8.3 and Arduino Core 1.9.0
Pins:
MISO,MOSI,SCK (PA7,PA6,PA5)
PA4 - CS
PA3 - IRQ
PA2 - Reset
But I cannot communicate with the board.
I´m a little puzzled with the pinout found in the "Wifinina_pinout_generic.h" file.
Any help is very appreciated!
UPDATE, I can load the official WiFi101 library and I´m able to print out the firmware version using one of the examples, but I cannot run anything else. This would at least tell me the wiring is correct. But running the same "CheckFirmwareVersion" in WiFiNINA Generic does not work.
The text was updated successfully, but these errors were encountered: