2015-12-01 08:05 AM
Hi,
I watched the intro video on the STM32L476 Discovery board, and it's clear that teh LCD screen can be unplugged from the DIP socket and those pins used for I/O. I have a need for a couple of ADC inputs and removing the LCD should free them up. I want to use Cube to help configure and generate code, After selecting this board, I see nothing but yellow and red exclamations besides ADC1, ADC2, and ADC3. I get the impression I cannot use them? How can this be changed so I can determine which are free to use. unchecking the box at the top (keep configuration) yields no result. There's nothing in the Discovery user guide either. Can anyone offer some suggestions or help on this? Thanks. #stm32l4762015-12-08 02:24 AM
Hi roofie01,
STM32CubeMx give the user the ability to change the default mapping of pins. So, if you have no need to LCD, you can change the mapping of pins ''PA6/7, PC4/5, PB0/1''. After that, you can enable ADCx channels.In Appendix A ofhttp://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00104712.pdf
, you find more details of pin assignment.-Shahrzad-