2017-01-03 06:24 AM
Under Project > Settings Advanced Settings in the Drive Selector section for IP Name I see SPI, USART, etc. Under Driver the choice is HAL and cannot be changed. How does one change that selection to another choice or none?
Thanks,
JH
#stm32cubemx2017-01-03 06:35 AM
Hi
Hite.John
,could you please precise:
-Nesrine-
2017-01-03 06:39 AM
Hi John
Currently CubeMX supports project generation based on LL drives for STM32L4 MCUs. If you create a project for STM32L4 MCU for most of the peripherals it is possible to choose between HAL and LL drivers. Support for other devices will be implemented in the future.
2017-01-03 07:58 AM
Cube is STM32CubeMX Version 4.18.0 STM32Cube V1.0.
Product is STM32F437ZGT6 which seems to map to STM32F437ZITx in Cube.
Sorry for the slow reply Foxfire churned away loading for 10 minutes so I switched to another browser.
Thanks,
John
2017-01-03 08:06 AM
Hi
Hite.John
,LL drivers is not yet supported forSTM32F4 MCUs .
-Nesrine-
We are looking for your wishes about our STM32 products,ecosystem and community:
https://community.st.com/community/stm32-community/stm32-forum/blog/2016/12/30/2017-stm32-wish-list
2017-01-03 08:15 AM
So there is no way to select none?
jh
2017-01-03 08:21 AM
Hi
Hite.John
,'
there
is no way to select none?'what do you mean by selecting none?
What are exactly the problems you faced?
If you are using STM32CUBEMX to generate initialization code , you have to use HAL drivers or LL drives if it is supported
-Nesrine-
2017-01-03 08:37 AM
Hi Nesrine,
Thanks for helping.
We do not want to use HAL, LL, or CMSIS but we have been using STMCube to setup the pins and their modes as well as the clocks. I see that CMSIS and the STM32F4xx_HAL_Driver directories are created each time. Of course they can be deleted but I wonder what hooks or code are placed in other files to use the content of these directories.
Thanks again,
John
2017-01-03 09:03 AM
Hi
Hite.John
,As you don’t want to use
HAL and LL drivers, you cannot use CUBEMX as it
is a graphical software configuration tool that allows generating C initialization codebased on STM32Cube
HAL (and/orSTM32Cube
LL if it is supported)Try to start from examples under the
-Nesrine-
Ifmy suggestanswers your question, please mark it as correct.
2017-01-03 12:05 PM
I want to select none because the sw tech lead says we must use something called Evergreen drivers. We are using a Micrium OS and our software lead (after conferring with Micrium and ST) says there are problems using CMSYS and HAL drivers (lazy stacking and other issues). Furthermore the HAL drivers reportedly do not allow enough control. So there is no need to generate HAL or LL code.
Thanks,
jh