One of Murphy's laws says:
It works better if you plug it in.
What I wanted to do, I have already done on BluePill and a separate ENC28J60. The netduino board was already intended for the archive box.
Thanks to your answer, I gave Netduino another chance :)
This time I decided to check HW.
What ...
Search found 12 matches
- Sat Jan 07, 2023 6:50 pm
- Forum: General discussion
- Topic: Netduino Plus 2 board + BME280
- Replies: 4
- Views: 1924
- Wed Jan 04, 2023 4:29 pm
- Forum: General discussion
- Topic: Netduino Plus 2 board + BME280
- Replies: 4
- Views: 1924
Re: Netduino Plus 2 board + BME280
What do you mean the problem could be with the timezone? What can I do or check in this case?
- Thu Dec 15, 2022 6:37 pm
- Forum: General discussion
- Topic: Netduino Plus 2 board + BME280
- Replies: 4
- Views: 1924
Netduino Plus 2 board + BME280
Hi all.
Recently I successfully got ethernet running on a Netduino Plus 2.
Thread from: https://www.stm32duino.com/viewtopic.php?t=1771
Now I have a problem with libraries for temperature sensors. I am trying to read the temperature from DHT22 and BME280, unfortunately without success, none of the ...
Recently I successfully got ethernet running on a Netduino Plus 2.
Thread from: https://www.stm32duino.com/viewtopic.php?t=1771
Now I have a problem with libraries for temperature sensors. I am trying to read the temperature from DHT22 and BME280, unfortunately without success, none of the ...
- Tue Nov 29, 2022 9:09 pm
- Forum: General discussion
- Topic: Working with Netduino Plus 2 - clock for ENC28J60
- Replies: 10
- Views: 5280
Re: Working with Netduino Plus 2 - clock for ENC28J60
I changed the definition of HSE_VALUE in file stm32f4xx_hal_conf_default.h to 25000000.
I stil have a problem with reading data from DHT22. The sensor is ok, I have tested it also with Arduino Leonardo and working well.
Do I need change something else in clock setup?
I noticed that the 1s time ...
I stil have a problem with reading data from DHT22. The sensor is ok, I have tested it also with Arduino Leonardo and working well.
Do I need change something else in clock setup?
I noticed that the 1s time ...
- Sun Nov 27, 2022 12:05 am
- Forum: General discussion
- Topic: Working with Netduino Plus 2 - clock for ENC28J60
- Replies: 10
- Views: 5280
Re: Working with Netduino Plus 2 - clock for ENC28J60
I'll have to dig into the clock setup.
Using the millis() function to count the time, it turns out that 1s is actually 327ms.
As a result, libraries that use the millis() and micros() functions (for sensor DHT22 and for RC5) do not work.
Above proportion similar to 25000000 and 8000000
Should I ...
Using the millis() function to count the time, it turns out that 1s is actually 327ms.
As a result, libraries that use the millis() and micros() functions (for sensor DHT22 and for RC5) do not work.
Above proportion similar to 25000000 and 8000000
Should I ...
- Sat Nov 26, 2022 10:22 pm
- Forum: General discussion
- Topic: Working with Netduino Plus 2 - clock for ENC28J60
- Replies: 10
- Views: 5280
Re: Working with Netduino Plus 2 - clock for ENC28J60
I have never use the extern declaration.
Thank you - now I know how it works.
Thank you - now I know how it works.
- Sat Nov 26, 2022 6:03 pm
- Forum: General discussion
- Topic: Working with Netduino Plus 2 - clock for ENC28J60
- Replies: 10
- Views: 5280
Re: Working with Netduino Plus 2 - clock for ENC28J60
I read the SPI API manual and now everything is clear. https://github.com/stm32duino/wiki/wiki/API#new-api-functions-1 I shouldn't set SSEL pin.
To sum up, to run ethernet on Netduino Plus 2 it is necessary:
1. set the clock
extern "C" void SystemClock_Config(void)
{
RCC_OscInitTypeDef RCC ...
To sum up, to run ethernet on Netduino Plus 2 it is necessary:
1. set the clock
extern "C" void SystemClock_Config(void)
{
RCC_OscInitTypeDef RCC ...
- Fri Nov 25, 2022 8:49 pm
- Forum: General discussion
- Topic: Working with Netduino Plus 2 - clock for ENC28J60
- Replies: 10
- Views: 5280
Re: Working with Netduino Plus 2 - clock for ENC28J60
Taa daaaaa!!!
ping.png
Thank you ozcar!
At PA8 now I have beautiful sinus 25MHz.
Success is but my satisfaction is about 95% :D
At this time I had to change MISO to PB4 and CS to PC8
I have tried to do it like this in my sketch:
SPI = SPIClass(PA7, PB4, PA5, PC8);
SPI.begin(PC8);
and ...
ping.png
Thank you ozcar!
At PA8 now I have beautiful sinus 25MHz.
Success is but my satisfaction is about 95% :D
At this time I had to change MISO to PB4 and CS to PC8
I have tried to do it like this in my sketch:
SPI = SPIClass(PA7, PB4, PA5, PC8);
SPI.begin(PC8);
and ...
- Thu Nov 24, 2022 11:13 pm
- Forum: General discussion
- Topic: Working with Netduino Plus 2 - clock for ENC28J60
- Replies: 10
- Views: 5280
Re: Working with Netduino Plus 2 - clock for ENC28J60
I am stuck. I don't know how to use the STM32CubeMX tool. Anyone can support me configure the external crystal for board Netduino Plus 2?
- Thu Nov 24, 2022 10:02 pm
- Forum: General discussion
- Topic: Working with Netduino Plus 2 - clock for ENC28J60
- Replies: 10
- Views: 5280
Re: Working with Netduino Plus 2 - clock for ENC28J60
Thank you.
Probably this is what I am looking for but it's not working right now
I read that the generic boards (I am using Generic STM32F4 series > Generic F405RGTx) have internal clock enabled so probably for this reason I have noisy wave on PA8.
When I change second parameter to RCC ...
Probably this is what I am looking for but it's not working right now
I read that the generic boards (I am using Generic STM32F4 series > Generic F405RGTx) have internal clock enabled so probably for this reason I have noisy wave on PA8.
When I change second parameter to RCC ...