|
uart_pipe spinning problem for stm32
Ok, can you raise an issue in github? We'll get it fixed.
Ok, can you raise an issue in github? We'll get it fixed.
|
By
Erwan Gouriou
· #1409
·
|
|
uart_pipe spinning problem for stm32
Hi Dmitry, Could you try something like: static int uart_stm32_irq_is_pending(struct device *dev) { USART_TypeDef *UartInstance = UART_STRUCT(dev); return ((LL_USART_IsActiveFlag_RXNE(UartInstance) &&
Hi Dmitry, Could you try something like: static int uart_stm32_irq_is_pending(struct device *dev) { USART_TypeDef *UartInstance = UART_STRUCT(dev); return ((LL_USART_IsActiveFlag_RXNE(UartInstance) &&
|
By
Erwan Gouriou
· #1403
·
|
|
uart_pipe spinning problem for stm32
Hi Dmitri, Can you explicit the functional issue, before we do any change? About TXE: TXE is "TX ready", hence indeed likely to be often 1 indeed. Then, this code is located in isr callback, hence it
Hi Dmitri, Can you explicit the functional issue, before we do any change? About TXE: TXE is "TX ready", hence indeed likely to be often 1 indeed. Then, this code is located in isr callback, hence it
|
By
Erwan Gouriou
· #1357
·
|
|
STM32L4+ Series Support
Hi Pushpal, For now, I don't see good reason why it would not fit in stm32l4xx series. So let put it there. Cheers Erwan
Hi Pushpal, For now, I don't see good reason why it would not fit in stm32l4xx series. So let put it there. Cheers Erwan
|
By
Erwan Gouriou
· #1356
·
|
|
I2C for STM32F3
Hi, I don't have time to test this yet, but looking into STM32F303 reference manual, it seems that I2C on F3 is clock independent and hence, we should sepcify clock before using it. It seems this case
Hi, I don't have time to test this yet, but looking into STM32F303 reference manual, it seems that I2C on F3 is clock independent and hence, we should sepcify clock before using it. It seems this case
|
By
Erwan Gouriou
· #1105
·
|
|
stm32f4_disco issues
Hi Pushpal, Regarding the blinky issue. It's happening since CONFIG_GPIO_STM32_PORTD is not activated. You should add it in board defconfig. Then, regarding the debug issue. Have you tried make BOARD=
Hi Pushpal, Regarding the blinky issue. It's happening since CONFIG_GPIO_STM32_PORTD is not activated. You should add it in board defconfig. Then, regarding the debug issue. Have you tried make BOARD=
|
By
Erwan Gouriou
· #1102
·
|
|
Any plan to support ST BlueNRG chips?
Hi Aaron, BlueNRG chip are actually already supported (even if deeper testing would be welcome). To activate it, you could have a look to Disco L475 IoT board configuration. Cheers Erwan
Hi Aaron, BlueNRG chip are actually already supported (even if deeper testing would be welcome). To activate it, you could have a look to Disco L475 IoT board configuration. Cheers Erwan
|
By
Erwan Gouriou
· #1082
·
|
|
application specific pin multiplexing (for STM32F412G-Disco)
Quick status about device tree: *Pinmux is not yet generated thanks to dts files. Only pinmux.c matters *Today, on STM32 dts files, only UART pinctrl is taken into account So related to FSMC, you just
Quick status about device tree: *Pinmux is not yet generated thanks to dts files. Only pinmux.c matters *Today, on STM32 dts files, only UART pinctrl is taken into account So related to FSMC, you just
|
By
Erwan Gouriou
· #1008
·
|
|
How to use STM32 HAL drives
As said earlier, you can directly access HAL code in your application, no problem with that. Point is CONFIG_ flags and Kconfig files are designed to enable "typical" use of Zephyr (through Zephyr API
As said earlier, you can directly access HAL code in your application, no problem with that. Point is CONFIG_ flags and Kconfig files are designed to enable "typical" use of Zephyr (through Zephyr API
|
By
Erwan Gouriou
· #1007
·
|
|
How to use STM32 HAL drives
Hi, This is the correct understanding, you need to modify Makefile/Kbuild to access HAL drivers. Then, if you need to use some driver in an application, you'd theoretically use zephyr HW API and drive
Hi, This is the correct understanding, you need to modify Makefile/Kbuild to access HAL drivers. Then, if you need to use some driver in an application, you'd theoretically use zephyr HW API and drive
|
By
Erwan Gouriou
· #1002
·
|
|
Updating HAL library for STM32F4
Hi Max, I was planning to do an update in the coming week (following V1.9.0 release). You can do it for F4, I'll take care oth the others. Cheers
Hi Max, I was planning to do an update in the coming week (following V1.9.0 release). You can do it for F4, I'll take care oth the others. Cheers
|
By
Erwan Gouriou
· #979
·
|
|
info about device tree for stm32f412zg
You're right PA15 (usart2_pins_b) could not be connected to USART2. This is a real issue, and this is true for whole F4 series, not only F412. I'll correct it. Thanks
You're right PA15 (usart2_pins_b) could not be connected to USART2. This is a real issue, and this is true for whole F4 series, not only F412. I'll correct it. Thanks
|
By
Erwan Gouriou
· #950
·
|
|
info about device tree for stm32f412zg
Hi, According to stm32f412zg datasheet, usart2_pin_c is actually supported on stm32f412zg, so I don't see issue to populate it in stm32f4-pinctrl.dtsi. Besides, as mentioned by Andy, it's not a proble
Hi, According to stm32f412zg datasheet, usart2_pin_c is actually supported on stm32f412zg, so I don't see issue to populate it in stm32f4-pinctrl.dtsi. Besides, as mentioned by Andy, it's not a proble
|
By
Erwan Gouriou
· #921
·
|
|
Passing information from bootloader to Zephyr
And if connected to HW, should it be enabled and clocked? Linux uses mix of Kconfig/dt. Kconfig for compilation/dt for activation. Do we want the same in Zephyr and keep these 2 levels of configuratio
And if connected to HW, should it be enabled and clocked? Linux uses mix of Kconfig/dt. Kconfig for compilation/dt for activation. Do we want the same in Zephyr and keep these 2 levels of configuratio
|
By
Erwan Gouriou
· #756
·
|
|
Next supported boards on Zephyr - STM32L0 ?
Hi Felix, From what I'm aware of, there is no such plan. Though, I know Neil as some L0 port working on his own (though on SoC STM32L053). I'm not sure what are his plans on that, but maybe you could
Hi Felix, From what I'm aware of, there is no such plan. Though, I know Neil as some L0 port working on his own (though on SoC STM32L053). I'm not sure what are his plans on that, but maybe you could
|
By
Erwan Gouriou
· #663
·
|
|
STM32F4 I2C driver
Hi Yannis, Thanks for this proposition. We are indeed missing I2C driver for STM32F4 family. What would be really nice is to get a generic STM32 I2C driver, working on all series (based on LL STM32Cub
Hi Yannis, Thanks for this proposition. We are indeed missing I2C driver for STM32F4 family. What would be really nice is to get a generic STM32 I2C driver, working on all series (based on LL STM32Cub
|
By
Erwan Gouriou
· #639
·
|
|
RFC on STM32 Ethernet driver
No problem, I understand it is not easy to jump in. And agreed we might miss some material to make all this clear. Great! We look forward to see it upstreamed Seems right!
No problem, I understand it is not easy to jump in. And agreed we might miss some material to make all this clear. Great! We look forward to see it upstreamed Seems right!
|
By
Erwan Gouriou
· #632
·
|
|
RFC on STM32 Ethernet driver
Hi Erwin, LL based version was initiated without knowing Neil had a HAL based driver, and from what I am aware of (unless I missed this information), Neil never proposed to upstream it. I let him comm
Hi Erwin, LL based version was initiated without knowing Neil had a HAL based driver, and from what I am aware of (unless I missed this information), Neil never proposed to upstream it. I let him comm
|
By
Erwan Gouriou
· #629
·
|
|
RFC on STM32 Ethernet driver
Hi Erwin, As mentioned by Neil, CONTAINER_OF is a good solution that is used in other projects using STM32Cube. About your last point: There won't be any branching from STM32Cube for Zephyr. Generic b
Hi Erwin, As mentioned by Neil, CONTAINER_OF is a good solution that is used in other projects using STM32Cube. About your last point: There won't be any branching from STM32Cube for Zephyr. Generic b
|
By
Erwan Gouriou
· #627
·
|
|
RFC on STM32 Ethernet driver
Hi Erwin, Thanks for proposing this driver, I think it will interest a lot of people. About your last point, let me mention ST view on this: This is a question of trade-off. Using HAL has some drawbac
Hi Erwin, Thanks for proposing this driver, I think it will interest a lot of people. About your last point, let me mention ST view on this: This is a question of trade-off. Using HAL has some drawbac
|
By
Erwan Gouriou
· #617
·
|