fpiSTM: Why should it not be defined on purpose? I would like to use it..
mlundin: Thanks for the help it works now. I needed to add port speed and enable the clk for the port too.
RCC->AHB1ENR |= RCC_AHB1ENR_GPIOFEN;//peripheral clock enable for PortF
GPIOF->MODER |= 0x00400000; // set pin 11 to ...
Search found 2 matches
- Thu Nov 12, 2020 9:16 pm
- Forum: PR's bugs and enhancements
- Topic: Nucleo-144 stm32F767zi
- Replies: 4
- Views: 15653
- Thu Nov 12, 2020 3:51 pm
- Forum: PR's bugs and enhancements
- Topic: Nucleo-144 stm32F767zi
- Replies: 4
- Views: 15653
Nucleo-144 stm32F767zi
Arduino_Core_STM32 works great for the Nucleo-144 STMF767 board.
But portF pin 11 is not accessible in the code.
Same for Port E pin 1.
Following Cmd will not compile:
1: pinMode(PF11, OUTPUT); //works on all routed pins. but not PF11
2: GPIOF->CRH = 0x33333333; //works on maple boards
3: PORTF ...
But portF pin 11 is not accessible in the code.
Same for Port E pin 1.
Following Cmd will not compile:
1: pinMode(PF11, OUTPUT); //works on all routed pins. but not PF11
2: GPIOF->CRH = 0x33333333; //works on maple boards
3: PORTF ...