2023-10-23 10:56 AM
Hi, I assigned all used GPIOs to desired functions except the PC2 at ball M1. The datasheet seems doesn't indicate this pin would be something special. I just need SPI2_MISO there but MX doesn't allow select anything, all choices are off just the Reset_State. Is it a bug? I use latest version of MX 6.9.2.
Solved! Go to Solution.
2023-10-23 11:06 AM - edited 2023-10-23 11:08 AM
Since you have assigned the PC2_C pin a function on the PC2 pin (i.e. whatever EXP4 is), the program will not let you re-assign it.
PC2_C can only be used independently for ADC functions. Otherwise, the chip closes the connection between the two pins.
2023-10-23 11:06 AM - edited 2023-10-23 11:08 AM
Since you have assigned the PC2_C pin a function on the PC2 pin (i.e. whatever EXP4 is), the program will not let you re-assign it.
PC2_C can only be used independently for ADC functions. Otherwise, the chip closes the connection between the two pins.
2023-10-24 08:56 AM
Aha, OK it works then. So I can use PC2 for SPI and then PC2_C remains only for analog input...