logs archiveBotHelp.net / Freenode / #43oh / 2015 / September / 8 / 2
Spirilis
just to do it
Rickta59
yeah that is the other thing .. memory mapped access to a some device
Spirilis
yeah
Rickta59
there was a $12 board on ebay with an stm32 chip that had the FSMC
* the flash memory controller that can access external memory
Spirilis
I'm not 100% sure if the RX has the facilities to do this for a small LCD, but I do know the RX has special hardware to perform DRAM strobing, and also EXDMA allows periodic refreshes of a TFT by facilitating automated reading from one external memory device and writing to another, such as a TFT display on a time sensitive basis
Rickta59
neat
Spirilis
and there are RX based kits out there for doing touchscreen TFT work
yeah this is one chip where I should implement an extension of the SPI api to add a sendBlock(), recvBlock() or maybe just call them send() and recv() or something... for DMA assisted SPI
Rickta59
or set a flag * use DMA * and just call send
Spirilis
or transfer rather
although
transfer is slow b/c it expects data back right away
Rickta59
rendevous
rendezvous
Spirilis
what I'd rather do is not break the current api, but add on to it and have libraries check #ifdef SPI_HAS_DMA_SEND_RECV or something
Rickta59
they are over in stm32duino land mucking about with that
Spirilis
yeah
the RX has something like 3 or 4 internal buses depending on what series you're talking about, it would be dumb not to make use of it in this context
Rickta59
does it do ping pong for you?
Spirilis
I think so. haven't read the DTC and DMAC chapters in depth yet
Rickta59
sounds like you are having fun with it again
Spirilis
yeah, the big machine isn't as daunting to me now, I got more experience under my belt
and more wits about C++ and how to make sh*t less complicated
Rickta59
big machine ;) .. i remember back in 1978 .. big blue boxes .. now those were big machines
Spirilis
lol and might have had the processing ability of this MCU
;)
Rickta59
what was it an ibm 360/145 .. and a 370/165 i think
main memory .. 112000 bytes -> 5120000
main memory .. 112000 bytes -> 512000
hmmm .. amazing
that was running mastercard
the company
Spirilis
haha
woot
Rickta59
| IBM 3145-1 370/145 | .36 |
... model | mips
IcePic
.36 mips. Fear.
Rickta59
it had some washermachine sized disk drives
and a wall of refridgerator sized tape drives
* you couldn't wear a tie near them ..
automatic glass doors that came down
you slapped on a mag tape
and then pushed a button
the window would go up and the tape reels would auto load using a vaccuum system
Spirilis
haha
Rickta59
heh .. when i worked at at&t the tape drives were in some other building
Spirilis
lol
Rickta59
they had a room full of tape monkeys
they would get messages to mount a specific tape on such and such a drive
cambazz
hello, Rickta59 and Spirilis
Rickta59
hiya
sometimes you had to call over there to get them to do their job
you job would be stuck waiting for them to load a tape
your
man i would like to have some the servo motors from one of those old tape drive units
they were like the size of a car starter
cambazz
I just got my msp432 lp, and started playing with the multitasking library in energia. I got two clocks, one measuring some stuff from ina_129's and putting values in a float array, the other function (also run by a clock) displays the results. but it appears that they cant access the same float array.
what should i do?
Rickta59
i think there is a way to declare a common area ...
did you look on 43oh for info
i think i remember reading something about that
probably by rei velo
he has a library that might facilitate that stuff
he has created queues and mutex abstractions i think
cambazz
Rickta59, you mean the galaxia library?
Rickta59
maybe
that might be it
http://embeddedcomputing.weebly.com/mailbox-library.html
cambazz
well basically i got 2 clock triggered functions, one measures, the other supposed to display, each accessing a float array, but it wont work. because of course, would require some sync
Rickta59
* haven't looked at that code
however it doesn't appear to be using shared memory
cambazz
Rickta59: yes it is not using shared memory, a mailbox, is not exactly that but a message passing system. i want to used shared memory.
Rickta59
i'm sure you can do it
i just haven't played with it
you do want some kind of synchronization thing to controll access though
cambazz
another question: should i really get all my stuff on this energia MT? with clocks, events, etc. i like it kinda, and i started yesterday - and i took some miles.
but i am skeptical now.
Rickta59
you are playing around or trying to do something real?
cambazz
hmm... all my projects are real, but a space rocket will not crash if i fail. like hobby level.
Rickta59
heh
well here is my take ..
cambazz
but i am trying to come up with a product, yes.
Rickta59
the mt stuff is a new thing in energia
it seems to be their focus
and they are working away adding it to the other boards
however, they tend to get things sort of working and push it out the dooor
and move on to the next checklist item to be done
going back and fixing doesn't ever seem to be high on the list
if you are serious about using the TI rtos
you might want to just go at it using the ti ccs stuff
then you will have a better understanding of it
and be able to help yourself and not be waiting around for someone else
that said i've had zero experience with the ti-rtos
cambazz
ok i see.
Rickta59
what are you going to do with this board?
ah interesting Derek Molloy made a video for it
https://www.youtube.com/watch?v=WKcn__hxUz4
cambazz
it has 3 ina219 sensors, and one sharp LCD, and a mppt solar charge unit, and a lipo battery.
so I am measuring everything from solar panel, battery, and load, graphing them, displaying currents and volts, etc.
« prev 1 2 3 next »