Jump to content

RROMANO001

Members
  • Content Count

    57
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by RROMANO001

  1. Hi I don't like the term Arduino too, I use Energia to look what is ready for peripheral and sometimes help me to pinpoint what is wrong on some devices where test sketch is available. I wrote complete SSD1963 device driver as from data sheet, I made it working from a sketch extrapolating all number and I never understood why parameter are not following what is written on DS. IDE is too poor and using it as teaching support can help on first approach but then need a good knowledge of what is a processor. Good idea from MIT "processing" tools, appreciable the porting to uC world but this cannot be the only teaching due it is a commercial simple lazy way.
  2. Hi Solipso, I am migrating away from TI too but I disagree about MSP430, I found more bad TIVA technology than MSP, 5529 outperform TIVA 123, rebuilding all design where based on MSP is too much expensive in time and I don't find M0 part more reliable or really faster or more low power. I am sure also casing is a constraint so for now I remain on my idea of MSP on periphery. Also I continue teach MSP to student and not TIVA nor MSP432 I don't like, good peripheral but worst core. ARM I use was on BeagleBoard but again I revaluated RaspBerry, less power but more and more popular. Otherwise a real difference is coming out from Altera MAX10, it is low cost and can outperform an M0 too, embedded processor can change life and reuse code as is. Thank for pointing me to a low cost dev board but on the past I bought few of them, Never was found how to setup an IDE without buying expensive tools. A link to debugger and some hint too are appreciated. About using EDU addresses this was last attempt about shipment: https://www.fedex.com/apps/fedextrack/?tracknumbers=645122412953&locale=en_IT&cntry_code=it_english this is more Italian custom sturdiness than TI fault but this also is a trouble when Fedex try just collect few money from education, we cannot collect due we are not a commercial and what they request never can be meet. They don't know how school work so this voided TI university programme too. A Rasperry was placed instead of hi end TIVA on project.
  3. Hi, I suppose you are the same I answered on E2E forum, is that covering your question about this topic? https://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/441491 regards Robert
  4. I am using it many way: Teaching it can fit on breadboard just with reset resistor and power capacitor. Prototype to test hardware or software before have board. Development and production on small package 32QFN I learned how to solder on board to test first board before preproduction. TSSOP or SSOP on small production of less than 100 board when some hand solder are needed instead of loading pick and place.
  5. Hi Abecedarian, I am not so expert on space program and new technology but I think MSP432 can be 65nm tech so it can be too much sensitive to radiation. About FRAM I don't know due I never used it, MSP satisfied me for long time also on very low power and I appreciated ENERGIA library was entering deep sleep as soon as possible. When radiation can be the issue radiation hardened technology has to be chosen and geometry give a main rule. About lock step, low speed large geometry are better, lock step is a big help, cannot be programmed on ENERGIA (IMHO), a space product must pass strict test and also if hobby it require now a licence so excluding some large area where no air traffic is present casual experimentation is limited to few people. Another application can be quadcopter and drone, too many use Arduino blah blah.. but they where too much unstable and unreliable!! Here lock step I see here as a MUST BE!
  6. I suppose the green highlighted text was 5 mils(127um), it is a terrify measure scaring manufacturer and closing to lowest limit of very few in the world, I don't know so many can do these ultra fine lines. http://www.we-online.com/web/en/leiterplatten/willkommen_/Willkommen.php http://www.wedirekt.de/index.php/home http://www.we-online.com/web/de/leiterplatten/layout/layout_service/layoutservice.php?parLANG=DE&parFOOTER=1008611&ls_name=&ls_country=DE&ls_plz=&pcb_search=Suchen http://www.sfcircuits.com/pcb-production-capabilities/hdi-pcb-micro-circuits if someone help grow this list, with cheap service too, I am proud ans grateful to. About 90
  7. Hi ROB, I think I skipped this important thing: Hi this is Roberto from Italy, greetings to all fora users. Roberto
  8. About this, sorry, I am professional developer and programming teacher too, first you have to don't mess up other, so try in first focus your target, when this is clear refine step by step one thing at time. Posting in a disordered manner just confuse you and other try to help you confused by you.. This is impossible to clean and final result can be more crappy and time consuming task to all as you think. Again I am using modbus from a very long time, are modbus packet transported by CANBUS? So you are dealing just with packets free of timing constraint of RS485? Is CANBUS your single transport BUS Media? Is your goal to encode decode packet from and to devices are you using? If so try prepare some **SEPARATE** tables of data mapping, post one at time and don't intermix them, title them to get data and progress at single watch. If you provide hint and contribute to community maybe you get more clean and useful help. So I can try help you if I can get something helpful for me and other, I cannot try confuse myself and other on a similar mess. I hope this can help cleaning your troubles. Roberto
  9. and from SPI NRF library released by Spirillis, if this is the one are you using: Enrf24 radio(P2_0, P2_1, P2_2); // CE, CSN, IRQ pins this case both devices use the same pins for CS and CSN, this is a conflict, please can you post as I requested: - which pin are connected to NRF - which pin are connected to ENC -*** SETUP of SPI and pin assignment for NRF -*** SETUP of SPI and pin assignment for ENC - Which library are you using, please point where you got them to have reference at hand. If both library use same additional pin conflict can garbage communication on devices, so also ENC seems working but can be it behave bad too.
  10. Documentation say where SPI channel are mapped but nothing about additional pin, so for NRF module I see this: /*Mapeo de pines SPI del Stellaris LMF120H5QR*/ #define P2_0 PA_5 // CE #define P2_1 PA_6 // CSN #define P2_2 PA_7 // IRQ these pin refer to SPI1 What about SPI of enc module? is as original wired to SPI3? this case all is ok Are all NRF pin connected the right way? Just do an inspection to NRF library too.
  11. Hi, I am interested to follow your post but you are posting a huge coding at every post, this result in long pages where similar part of code appear and need be compared. IMHO it can be better expose your need and progress, dedicate more word to progress and insert code as attachment. Anyway question of dangling reference, assign null value to pointer before to use and when disposed, this help check not allocating twice and nor try deallocate memory is no more committed to your pointer. free of a null pointer is less troubling than a dangling pointer. Modbus is modbus over CAN or rs485? Modbus is a standard on automation/industrial devices, CANBUS is slowly getting space as emerging new standard but require some time to take time of all old market rework all existing devices.
  12. Impossible to say something about your problem but we can say about our: How are both device connected to microcontroller? I assume you are using an LP Stellaris HQ120 or a new TIVA 123, are pin used for SPI devices separated? are you sure no collision between channel? Is IRQ service updated? More detail are needed before to say just try something. Why not use LP connected instead of a slow device like enc28j60?
  13. Radiation hardened in first can have shield, cosmic rays are hard to shield. Another point to take on sensitivity are device technology, 130nm are less sensitive than 65 and old large devices are even less sensitive to radiation. About bit failure and redundancy when a particle collide silicon and flip some bit, when this failure get detected? What is the best chip geometry? Good question, ok if this is an hobby it is awesome but seems aerospace area than casual Roberto
  14. No, I delayed till mid of june, I am busy to prepare exam session and end of session school work. After that I evaluate also if preferred way seems to be FPGA only and MSP for support. I can be more interested on small footprint, I can evaluate Hercules series I never approached, I am not sure can fit on C2000 application or where TIVA was chosen for CAN support. Step locked can be a good idea on PMSM control, maybe I can try vibration analysis and motion control on LP device. Thank for all hints. Roberto.
  15. Yes I fully documented issue, they called me by phone too but problem still exists, I was not just calling for free shipping but to have prepaid custom fee, this avoid expensive delivery and problem search for correct amount to pay on delivery. I don't like gambling so I forever need cost for sure to compile exact bill. When LP was 4.30 to lower shipping prices I bought in volume to distribute to students. Now it is better buy from distributor, I just placed an order to Farnell (element 14), free shipping and no surprise cost much less than TI.
  16. I don't know what to say now, if you have time (LOOOONG) wait it arrive this board to me too I can do some inspection at my side, I bought few day ago and at almost 20 to 40 day can elapse before delivery... I hope we can solve trouble I bought 5 board to make some access control as teaching exercise. Another hardware I don't know for now, this is most cheap and popular, I know TI device but it was expensive and more complex to use. If you are on Europe try olimex but it is much more expensive https://www.olimex.com/Products/Modules/RFID/ on USA try sparkfun adafruit pololu or similar. IMHO is better solve issue before to change hardware, both board answer at same deterministic mode?
  17. After shipment it cost more than on mouser or element14 Farnell. I fully agree your point of view and seems TI see the student market more profitable than following R&D firms, I am still using LP for teaching support but removing from business. MSP430 samples are less expensive if bought by a customer from distributor or direct shipment from mouser/digikey/farnell than as free samples. This way theyt don't grasp lose in term averaging 10K unit/project at every time they lose one developer..
  18. Seems bit are missing if decimal or one more if hexadecimal, second backBits is garbled but still err 2 is present so failure is lowest level error 2 came if flag is not ok and signal that: //BufferOvfl Collerr CRCErr ProtecolErr this case are tag ok and correct type? Are just one card in front of reader? Is reader board crystal OK? Need some measure to assure board is ok, maybe a big shock on transportation damaged crystal or similar issue.
  19. Ok SPI seems ok, but please do a deeper step to see what answer chip: to point what happen in the library too, point to Request code than add print of vars (red comment) unsigned char Mfrc522::Request(unsigned char reqMode, unsigned char *TagType) { unsigned char status; unsigned int backBits; WriteReg(BitFramingReg, 0x07); //TxLastBists = BitFramingReg[2..0] ??? TagType[0] = reqMode; status = ToCard(PCD_TRANSCEIVE, TagType, 1, TagType, &backBits); // print status and backBits here if ((status != MI_OK) || (backBits != 0x10)) { status = MI_ERR; } return status;
  20. reading library pin used are: int chipSelectPin = 10; int NRSTDP = 5; Mfrc522 Mfrc522(chipSelectPin,NRSTDP); So pinout where ok at first, Reset at pin 5 -> P1.3 and CS (SDA) at pin 10 -> P2.2 Not sure MISO MOSI are right connected... after a check on datasheet BG schematic appear as good, can you get access to a scope/Logic Analyser and show what happen on lines SCK MISO MOSI (use NSS as trigger) of SPI?
  21. Hi Toby, this is also pointing to banggood, please can you adjust to point to library source?
  22. From your images I infer this: YOu are using Apple version of arduino ide From serial device that is the same, code is run on the same board. Device is using the default serial port to debug console so no communication is established between board. I suggest you try external communication between boards then extend. Your first job on TIVA must be to have UART 3 active, so you need setup this port has been done this? If yes then try connect rx and tx pin to an external serial to usb bridge to see it it work, when it is ok then try connect your arduino, check also with bridge then interconnect the two board.
  23. Hi DBristow, in first yes I seen you are experienced but after second post, we need a basic preliminary communication to establish what can be wrong. So PinMux is the only utility seen for pin setting but is not so complete as it need, just running on win is not simple and took'd me a long time to setup the required libraries. Utilities like the one found on MSP series (Grace) or other family are more precise but never are Linux supported like Launchpad G. LPG main problem is located on bugged win dll, Linux has no trouble at all on serial devices but never got supported. Anyway TIVA family has trouble also for experienced programmer with some insidious trap on peripheral, I think maybe you won the NMI default issue, check here and try apply patch: https://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/374640. I suggest you also install CCS on Linux, it is best than on windows and help a lot tracing code trough library too, without insidious problem like NMI and hardware fault trap remain unknown strange problems. Using GDB is also a good way but gui is more confortable than character console I still use.
  24. Try remove the jumper P1.6 on led, this disturb I2C/SPI communication then tell me about result. Also SDA and RST (red and Gray wire) seems reversed.
×
×
  • Create New...