Skip to content

Cant figure out how to use this to connect my STM32F072RB to the NHD-4.3-480272FT-CTXL-CTP ,while using the ArduinoIDE to code the STM #92

Answered by RudolphRiedel
prats365 asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, still using the Arduino framework.
That should be far easier since the part that is missing from non-Arduino example is the controller initialization including SPI and pins, but the Arduino framework already takes care of that.

Use this as a starting point:
https://github.com/RudolphRiedel/FT800-FT813/blob/5.x/examples/EVE_Test_Arduino_PlatformIO/platformio.ini

Then in platformio.ino:
[env:STM32F030]
platform = ststm32
board = nucleo_f030r8
upload_protocol = stlink
build_unflags = -Os
build_flags =
${env.build_flags}
-D EVE_CS=10
-D EVE_PDN=8
-O2

I only can't confirm this right now, I need to leave for work.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@prats365
Comment options

@prats365
Comment options

Comment options

You must be logged in to vote
3 replies
@prats365
Comment options

@RudolphRiedel
Comment options

Answer selected by prats365
@prats365
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants