Search found 190 matches
- Fri Oct 05, 2018 11:31 am
- Forum: STM32 Support
- Topic: STM32L433 and I2C
- Replies: 4
- Views: 919
Re: STM32L433 and I2C
Thanks Giovanni, will do In case anyone else finds this thread in the future and sees the above config, it was also necessary to add OPENDRAIN as follows palSetPadMode(GPIOB, 8, PAL_MODE_ALTERNATE(4) | PAL_STM32_PUPDR_PULLUP | PAL_STM32_OTYPE_OPENDRAIN | PAL_STM32_OSPEED_HIGH); palSetPadMode(GPIOB, ...
- Thu Oct 04, 2018 7:43 pm
- Forum: STM32 Support
- Topic: STM32L433 and I2C
- Replies: 4
- Views: 919
Re: STM32L433 and I2C
Found my issue, I failed to start the HSI16 clock in mcuconf.h
Would it be possible to add a compile time check for this?
Would it be possible to add a compile time check for this?
- Thu Oct 04, 2018 6:20 pm
- Forum: STM32 Support
- Topic: STM32L433 and I2C
- Replies: 4
- Views: 919
Re: STM32L433 and I2C
Forgot this, like I said I pulled it right out of the RM (although curiously CUBE gets a different answer)
Code: Select all
static const I2CConfig i2cconfig = {
STM32_TIMINGR_PRESC(0U) |
STM32_TIMINGR_SCLDEL(1U) | STM32_TIMINGR_SDADEL(0U) |
STM32_TIMINGR_SCLH(6U) | STM32_TIMINGR_SCLL(10U),
0,
0
};
- Thu Oct 04, 2018 6:18 pm
- Forum: STM32 Support
- Topic: STM32L433 and I2C
- Replies: 4
- Views: 919
STM32L433 and I2C
Hi, I'm playing with the STM32L433-Nucleo64 board. As I mentioned in a previous thread, I'm using the STM32L443xx in my board.h since 433 isn't in the registry but shares almost everything with the 443 with the exception of missing the AES peripheral which I'm not touching. I'm using ChibiOS_18 All ...
- Thu Sep 27, 2018 11:05 pm
- Forum: STM32 Support
- Topic: Dynamically turning on/off FPU
- Replies: 1
- Views: 496
Dynamically turning on/off FPU
Just wondering if anyone has played around with enabling/disabling the FPU on an STM32 on the fly. AFAICT, currently it is either initialized at boot time, or not, but once on it is on. I was just wondering if an application could feasibly turn it off when not in use, and re-enable it as required. W...
- Sun Sep 23, 2018 5:37 pm
- Forum: Small Change Requests
- Topic: Untagged structs in ChibiOS Topic is solved
- Replies: 4
- Views: 1274
Re: Untagged structs in ChibiOS Topic is solved
All good,
Here's a patch, it applies cleanly to trunk as well as 17.6.x and 18.2.x branches in case you want to incorporate it into them.
Here's a patch, it applies cleanly to trunk as well as 17.6.x and 18.2.x branches in case you want to incorporate it into them.
- Sat Sep 22, 2018 2:11 pm
- Forum: Small Change Requests
- Topic: Untagged structs in ChibiOS Topic is solved
- Replies: 4
- Views: 1274
Untagged structs in ChibiOS Topic is solved
Hi, I've noticed at least one (SPIConfig) untagged struct. I've been toying with introducing more C++ into my pet projects, and one thing this prevents is doing C++ forward declaration. Is this done for a specific reason in Chibi, or just an oversight/nobody cared until me? Specifically the differen...
- Mon Sep 10, 2018 11:38 pm
- Forum: STM32 Support
- Topic: STM32L433 Nucleo-64
- Replies: 2
- Views: 676
Re: STM32L433 Nucleo-64
Thanks Giovanni, As it turns out, I was lazy and let google find the schematic for the L433-nucleo. What it gave me was for a different nucleo and I was stupid and didn't check it thoroughly, I just confirmed where the SPI1 bus was broken out to the Arduino expansion header. It turns out, on the L43...
- Mon Sep 10, 2018 4:50 pm
- Forum: STM32 Support
- Topic: STM32L433 Nucleo-64
- Replies: 2
- Views: 676
STM32L433 Nucleo-64
Hi, I've been messing around with the STM32L433 nucleo64 board, and as mentioned in this thread: http://www.chibios.com/forum/viewtopic.php?t=4331 There is no direct support for the chip in the registry yet, but STM32L432 is a close cousin without the LCD controller. I've got a sample project up, us...
- Wed Sep 05, 2018 4:54 pm
- Forum: Bug Reports
- Topic: SDMMC2 on STM32F7 Discovery Topic is solved
- Replies: 28
- Views: 5066
Re: SDMMC2 on STM32F7 Discovery Topic is solved
Interesting. If you leave that parameter NULL, it chooses the default SDCConfig, which in 18.2.1 is to use 4bit interface. Perhaps your card cannot handle that? It worked that way for me.
What did you set your local SDCConfig to?
Dave
What did you set your local SDCConfig to?
Dave