Hi all.
1st Post. I thought this might be helpful to a few.
I was using an STM32F767ZI board and had managed a few sketches, mostly controlling simple things like LEDs and detecting buttons, but I wanted to use an I2C LCD display. The first thing to do was to checkout the example I2C scanner which outputs to the Serial Monitor. The Serial Monitor refused to print anything, even when instructed to do so with a Serial.print("Text etc"); command. The monitor area opened up OK, but no text.
To cut a long story short, I tried several suggestions from other folks and none worked, so I decided to investigate the actual board settings again.
I had originally installed the STM32F767 Generic definition and chosen a board type from the Tools menus. What I had not realised is that there was no direct part number for the STM32F767ZI board, so I had chosen the STM32F767ZIT (yes there's a zit on the chip ) instead! WRONG!
After further investigation and discussion, I found that the original board definition I should have used is Nucleo144 - then the plain STM32F767ZI part number is available and it all works as it should.
All a bit confusing to a relative newbie to STM.
One further thing, which may or not be well known, is that it's essential to install 4K7 pull-ups on the SDA and SCA pins for I2C. That info is out there, but not many instances of it.
Beware of wrong board definition for STM32F767ZI
Post here first, or if you can't find a relevant section!
-
- Posts: 1
- Joined: Tue Feb 06, 2024 9:47 pm
Return to “General discussion”
Jump to
- Announcements
- New users start here
- ↳ Forum rules, FAQs and HowTo's
- ↳ Let us know a bit about you and your projects
- Arduino for STM32
- ↳ General discussion
- ↳ Ideas & suggestions
- ↳ Cores
- ↳ STM32 Core
- ↳ Builds and Announcements
- ↳ Code snippets
- ↳ Ideas & suggestions
- ↳ General discussion
- ↳ Installation and OS related
- ↳ Libraries & Hardware
- ↳ PR's bugs and enhancements
- ↳ LibMaple
- ↳ Builds and Announcements
- ↳ Code snippets
- ↳ General discussion
- ↳ Ideas & suggestions
- ↳ Installation and OS related
- ↳ Libraries & Hardware
- ↳ PR's bugs and enhancements
- ↳ Steve's LibMaple core
- ↳ General discussion
- ↳ PR's bugs and enhancements
- ↳ Projects
- ↳ IDE's
- ↳ Off topic
- Arduino for STM8
- ↳ General discussion
- ↳ Cores
- ↳ STM8 Core
- ↳ Other
- Boards
- ↳ Custom design boards
- ↳ Maple & Maple mini etc
- ↳ STM boards (Discovery, Eval, Nucleo, ...)
- ↳ All other boards
- ↳ STM32F0 based boards
- ↳ STM32F1 based boards
- ↳ STM32F2 based boards
- ↳ STM32F3 based boards
- ↳ STM32F4 based boards
- ↳ STM32F7 based boards
- ↳ STM32G0 based boards
- ↳ STM32G4 based boards
- ↳ STM32H7 based boards
- ↳ STM32L0 based boards
- ↳ STM32L1 based boards
- ↳ STM32L4 based boards
- ↳ STM32L5 based boards
- ↳ STM32MP1 based boards
- ↳ STM32WB based boards
- Bootloaders
- ↳ STM32 HID bootloader
- ↳ USB bootloader
- ↳ STM32 SD-Bootloader
- ↳ STM32 USB CDC bootloader
- Uploaders and debuggers
- ↳ STLink
- ↳ USB to Serial adaptors
- ↳ Black Magic Probe & other
- Dead Thread Graveyard
- ↳ Dead Thread Graveyard