STM32N6570-DK AI demo not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-19 4:56 PM
Hello,
I recently bought the newly released development kit STM32N6570-DK that includes a touch screen and a MIPI camera manufactured by ST. It comes preprogrammed with some nifty demos, including the AI demo which should show off the AI capabilities with a stream from the included camera. When I load the AI demo the screen freezes up, and I can see the backlight to the screen turn off.
Additionally I noticed there are some level shifters (TR1 on the camera module) on the PCB for the camera that either carry a clock or data line for MIPI. When I activate the demo the 3.3V line starts toggling at about 160MHz for about 2ms, and then stays low after that.
For reference, I am powering the dev kit off of a USB 3.0 port on my laptop.
Could you help me identify if this is a camera module, dev kit, power, or cable issue?
Thanks,
-Alex
Solved! Go to Solution.
- Labels:
-
Other boards
-
Power
-
ST boards
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-19 5:45 PM
Yes, STM32N6570-DK comes preprogrammed with some nifty demos, including the AI demo which should show off the AI capabilities with a stream from the included camera. The AI demo with the included camera needs more power/current. So, it is suggested to power the board via USB-C to USB-C cable, either from laptop or USB-C charger. Optionally, you may power board with USB-A to USB-C cable at USB1 port and jumper JP2 at 3-4 5V_USB_SNK position - no current limit circuit in this power path.
USB-A to USB-C cable connecting between on board ST-LINK/V3EC port and laptop is not enough to provide the needed current, hence you "can see the backlight to the screen turn off", meanwhile you should see LD3 turning RED on which means over-current status.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-19 5:45 PM
Yes, STM32N6570-DK comes preprogrammed with some nifty demos, including the AI demo which should show off the AI capabilities with a stream from the included camera. The AI demo with the included camera needs more power/current. So, it is suggested to power the board via USB-C to USB-C cable, either from laptop or USB-C charger. Optionally, you may power board with USB-A to USB-C cable at USB1 port and jumper JP2 at 3-4 5V_USB_SNK position - no current limit circuit in this power path.
USB-A to USB-C cable connecting between on board ST-LINK/V3EC port and laptop is not enough to provide the needed current, hence you "can see the backlight to the screen turn off", meanwhile you should see LD3 turning RED on which means over-current status.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-19 7:01 PM
Thank you! Powering over USB1 and changing the J2 jumper works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-28 7:40 AM
Hi,
I thought power was my STM32N6570-DK problem too, but it seems not.
I have been trying to flash the n6-ai-getstarted demos seperately to the default shipped AI demos just to see it works.
STM32N6-AI - AI software ecosystem for STM32N6 with Neural-ART accelerator - STMicroelectronics
Tried on both Linux/Ubuntu and Windows with both CubeIDE and CubeProgrammer.
Drivers/usb seem fine but i keep getting a "Connection to device lost" on CubeProgrammer or "Waiting for debugger connection" errors when i try to flash N6 with new application so its not programming any new applications.
Tried with JP2 at position 1-2 and 3-4 with all different USB cable types too.
Happens when i select "Run after programming" on CubeProgrammer or hit B1 (Reset Button on DK).
Verbose CubeProgrammer Log attached, Any ideas ?
See at end of log "14:33:17:828 : Warning: Connection to device 0x486 is lost"
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-30 10:16 PM
it seems that power was your STM32N6570-DK problem too.
Did you power the board via USB-C to USB-C cable from your PC(or USB-C charger) and ensure it can provide >=2A current ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-31 3:49 AM
Yes, im supplying >=2A on USB1(CN18) and JP2 is at position 3-4 as per doc.
Discovery kit with STM32N657X0 MCU - User manual
Please suggest best boot option for starting ?
And, Maybe taking a step back, where should i be starting, running these examples below ?
or these ?
STM32N6-AI - AI software ecosystem for STM32N6 with Neural-ART accelerator - STMicroelectronics
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-31 6:45 PM
Flash boot is used if board correctly flashed when user wants to try a new example/demo etc.
