|
Yeah, always use OPM.
|
|
|
|
|
Just making sure the most obvious question gets asked, did you try a different ESP32? No amount of analysis will get you past a fried port. It happens.
|
|
|
|
|
I can't with this particular display since it's the only ILI9341 I have and it's embedded on the esp-wrover-kit.
However, due to that, a fried port is extremely unlikely. It has never been plugged into any device that wasn't already integrated into the devboard.
I'm getting a second ILI9341 today or tomorrow and I'm going to hook a logic probe up to it when I get one next week or so.
Real programmers use butterflies
|
|
|
|
|
You say you are having trouble reading the data from SPI. DO you have a basic understanding of SPI?
To shorten the process in case the answer is no, I am going to take a wild guess that you may not be aware that in order to read 16 bits of data, you first have to clear your input buffer (may or may not be necessary), write 16 bits of either good data or just 16 bits of zeros. That write of 16 bits will force your device to spit out 16 bits of data onto MISO. Only *then* you can read the 16 bits of real data from your device. Same applies whether you are reading 16 bits of data, or 8 bits, or 24 bits, etc.
There is another issue with SPI. It comes in 4 flavors. It depends on the device you are trying to read/write. I once had an issue where the HW engineer didn't realize he had put a type 1 and a type 3 device on the same SPI bus. It has to do with when the data is valid and the edge of the clock where the data is valid. You can't put a type one and a type 3 on the same bus unless you change the mode at the Master for *every* transaction
Just trying to preemptively point you at possible problems based on not enough information in your post. Hope this helps. Feel free to IM me. I am one of those weird HW guys who also is a heavy duty embedded SW guy.
You could build your own logic analyser given enough time using a TI MSP432E launchpad or a Tiva 1294 Launchpad. Then you could transfer the data to a PC logger that would gather the data and store it. A lot of work but it would let you control what gets stored. A real logic analyser is a better bet though in terms of the time spent.
|
|
|
|
|
Yeah I know that much about SPI. I'm doing a dummy read, and it isn't helping. Worse, I found my results are inconsistent, after awhile I start getting 0xFFFF back instead of 0x0000 and when I plot this stuff it looks like a zebra pattern so it has something to do with the bus/timing/dummy bits, or something else. I need my good logic analyzer to arrive. I'm not looking to build one. I have a junky one right now, but I want the saleae before i much about too much.
Real programmers use butterflies
|
|
|
|
|
Owen has mentioned another of my HW/SW axioms. If you have done all of the things in SW that seem reasonable without seeing any real progress on SW, blame the hardware and go find out why the HW isn't working. I have been bitten way too many times chasing issues with HW bring up or just new SW on a previously working platform. After one day of chasing your tail with SW inexplicably not working, it is a reasonable thing to check the HW to make darn sure it didn't fail while you were doing your SW stuff.
|
|
|
|
|
I know that the hardware connections and device are physically good because I have no trouble reading from the bus using the Arduino framework - it's only from the ESP-IDF that I run into issues.
Real programmers use butterflies
|
|
|
|
|
I'm trying to link my Amazon and Rockstar games accounts and it's proving a lot harder than it should be.
Not because of the linking process - it's that Amazon want me to log in to do it. Let's ignore that I'm already logged in on this computer: they want to send me a OTP on my phone. Fine - it comes in.
I enter it, and ... they want to send a second OTP to my email address, but ... that seems to take several hours and the authorization session only lasts the default 20 minutes.
They've got an authorization app on my phone, they've sent an OTP to my phone, and they still want an OTP via email that they can't get out in anything like a timely manner. When I tried this yesterday, I was told the OTP email was sent at around 8PM and it arrived at 03:00. Pathetic.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I feel your pain.
Back at beginning of year (during holidays) my wife wanted to try a special holiday channel on Amazon TV device. We tried it out and it was ok so we subscribed but at the cheap rate for non-HD video). We watched about 10 minutes of it and thought better of it and decided to upgraded to the HD version of the app. This is all handled by Amazon (which was a bear to get signed into as you described).
Anyways, we upgraded to HD version of that channel on the same device we subscribed and only later found out that Amazon charged us for an entirely new account (remember though it was all signed in to the same Amazon account) for that app.
Also consider that this is on the Amazon TV hardware device that Amazon owns.
I called Amazon and explained and they said, "Well, we'll refund your money this time, but don't do it again!"
I was like, "Well, I didn't do it the first time. Your h/w did it with your amazon account. And it didn't explain that it was going to do anything, it simply just charged me.
So, I'll forgive you this time. But don't ever do it again!"
It's mad, mad, mad, mad whirled!
|
|
|
|
|
I'm glad I will never have these troubles!
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
You're lucky to get your phone OTP. I can't make any account changes currently because the OTP never arrives.
Going to have to bite the bullet and make an expensive phone call from SA to USA !
|
|
|
|
|
I generally avoid Amazon but I do watch Twitch. I think it is ridiculous that Twitch has a higher security barrier with OTPs than my private webmail!
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
|
I like the "...if you do not wish to take advantage of this maybe you know someone who would..."
FOAD
|
|
|
|
|
If I were to forward it to anyone, it would be my boss. Along with a suggestion that they make sure never to use this idiot.
I actually did do something similar to that once. A coworker of mine quit; and management decided to try a new recruiter to hire a relacement. That lackwit spammed me, the guy who left, everyone at his new company, and from other gossip I picked up almost every other dev in town with the advert.
I initially found out about how massive the spam burst was because the day after I got the message and :facepalm:ed I ran into my former coworker and mentioned it to him. He then told me about he and his entire company getting spammed as well.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
|
|
|
|
|
^ ^
| |
Tautology
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I get those once in a while as well. It just confirms my opinion of most people in general, and recruiters in particular.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Just received 2 emails: urgent requirement to operate an agricultural implement in crop production fields ... because I live in Canada, I guess.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
Give him your private email then :P
|
|
|
|
|
IF they could actually do anything useful they wouldn't be recruiters.
|
|
|
|
|
Hey, Mr. Tambourine man, play a song for me [^]
Some photos of the early Dylan: [^].
A memory I treasure is from the winter of 1963: I was walking home late one night, after I got off my job in Greenwich Village (waiter in a bistro where tourists came to see "folk-singers" most of whom were too stoned to do much more than flail their guitar and mumble), back to my "pad" in the lower East Side ... it was snowing, and, as I went by Gerdes Folk City [^] nightclub, I stopped and gawked through the window at Bob on stage, with harmonica.
My Muse and First-True-Love, Beatrice, was with me; she worked as a waitress at a bar in the village near my bistro. We huddled together swaddled in army surplus wool jackets eyeballing the venue our meager tips did not allow us to enter
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
modified 24-May-21 13:30pm.
|
|
|
|
|
Good god the man ages gracefully.
What a legend, I started listening to him when I was a teen...1964 or thereabouts.
|
|
|
|
|
So did I - I like to think I have everything he's ever released but I doubt I have - I do have 38 albums though - a good friend of mine once said - he has a way of making rubbish sound interesting
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
He is a genius but the only drawback I see is his voice, he's a mediocre singer.
|
|
|
|
|
But it suits his songs - the guy is a genius - sometimes I feel he's just singing to me
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|