Jump to content

Search the Community

Showing results for tags 'spi'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Top
    • Latest News
    • Bulk Orders
  • Construction
    • MIDIbox NG
    • MIDIbox HUIs
    • MIDIbox SEQ
    • MIDIbox SID
    • MIDIbox FM
    • MIDIbox BLM
    • MIDIbox User Projects
    • MIDIfication
    • Design Concepts
    • Parts Questions
    • Testing/Troubleshooting
    • Tips & Tricks
    • MIDIbox Documentation Project
  • Software
    • MIDIbox Tools & MIOS Studio
    • MIOS programming (C)
    • MIOS programming (Assembler)
    • MIOS toy of the week
  • Miscellaneous
    • Fleamarket
    • Sale Requests
    • Miscellaneous
    • Songs & Sounds
  • Archive
    • Parts Archive
    • MIDIbox of the Week
  • Multilingual
    • Nordisk
    • Nederlands
    • Deutsch
    • Français
    • Italiano
    • Español
    • Português
    • Greek
    • Russian
    • Others

Blogs

  • Twin-X's Blog
  • j00lz - MB-6582 Build Log
  • Project "Desire MC1"
  • MIDIbox Live
  • protofuse's Blog
  • Joeri's Blog
  • Phil's MBSEQv4
  • taximan's home base
  • Kyo's Blog
  • Snoozr's Notes on Building an MB-6582
  • Amplification
  • dawidbass' Blog
  • SLP's Blog
  • MidiSax's Blog
  • blog_latenights
  • Non usare un modulo Lcd
  • Duggle's Blog
  • Rics' 4Decks
  • aaa135139's Blog
  • bilderbuchi's Blog
  • Alain6870's Blog
  • MidiMaigre 37
  • Digineural's Blog
  • Sylwester's Blog
  • olga42's Blog
  • MB9090 Blog
  • Zossen's Blog
  • stilz&Rumpel's Blog
  • Antichambre's Blog
  • MB TWINsid Blog
  • massenvernichtungswaffe.de
  • gslug's Blog
  • albpower2seq4sid's Blog
  • TB's MIDIBox Adventures
  • kHz-tone's Blog
  • Blatboy's Blog
  • geth's-building-stuff-Blog
  • Excursions in DIY land
  • Ralex's Blog
  • huanyupcb's Blog
  • Vicentiu Mincior's Blog
  • A journey through midibox LC construction
  • TheAncientOne's Blog
  • nebula's Blog
  • Sasha's Blog
  • Tales from the kit mill
  • novski's
  • nicolas' Blog
  • Gelpearl
  • Johan's Blog
  • midibox.org Blog
  • Wisefire build logs
  • ColleenMorris' Blog
  • brucefu's Blog
  • atribunella's Blog
  • Building my Seq
  • A Seqv4 kind of thing
  • ModulBox
  • ArumBlack
  • mongrol
  • Watch!!- Mission: Impossible – Fallout (HD) Movie Online.Full 4k
  • Watch!!- Hotel Transylvania 3 Summer Vacation (HD) Movie Online.Full 4k
  • Silver eagles sign football gamer Adam Zaruba since restricted stop
  • Watch!!- The Meg (HD) Movie Online.Full 4k
  • Steelkiwi Blog
  • Words1234
  • SSP
  • How to Solve the Excavator Hydraulic System Running Slowly
  • Eight Ways to Maintain Excavator Parts
  • Five Common Problems and Fault Analysis of Komatsu Excavator
  • Ficher Chem Co. Ltd: Buy Research Chemicals Online
  • Zazenergyli
  • Top Mobile App Development Company in USA
  • belkin range extender
  • wrong post

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 3 results

  1. Hi all, I will not use the SDcard. I will use a capacitive touch sensor TTP229 at 2 wires(16 keys). http://www.tontek.com.tw/download.asp?sn=726 I was able to use the sensor on the J16. using the "SI" and "SC" pin. How to configure the J16 pins for two "SI" inputs?Or how to configure II2C and I2S for SI and SC? I want to use at least two TTP229 Below the code for J16 PIN SI. mios32_config.h #define MIOS32_SPI0_IN_INIT { MIOS32_SYS_LPC_PINMODE(1, 24, 2); \ MIOS32_SYS_LPC_PINMODE(1, 23, 0); \ MIOS32_SYS_LPC_PINMODE(1, 22, 2); \ MIOS32_SYS_LPC_PINMODE(1, 21, 2); \ MIOS32_SYS_LPC_PINMODE(1, 20, 2); } APP.C u8 receive; u8 receive1; u8 flag1=0; u8 flag2=0; char valor1; char valor2; void APP_Init(void) { // initialize all LEDs MIOS32_BOARD_LED_Init(0xffffffff); MIOS32_SPI_Init(0); MIOS32_SPI_IO_Init(0,MIOS32_SPI_PIN_DRIVER_STRONG); MIOS32_SPI_TransferModeInit(0,MIOS32_SPI_MODE_CLK1_PHASE1,MIOS32_SPI_PRESCALER_8); } void APP_Tick(void) { receive=MIOS32_SPI_TransferByte(0,receive); /////valor 255 if not pressed receive1=MIOS32_SPI_TransferByte(0,receive1);////valor 255 if not pressed if(receive<255 && flag1==0)//////if pressed { valor1=receive-127; MIOS32_MIDI_SendNoteOn(DEFAULT, Chn4, valor1, 127); flag1=1; // MIOS32_MIDI_SendDebugMessage("Recebido:%u FLAG1:%u\n",valor1, flag1); } if(receive==255 && flag1==1 ) { MIOS32_MIDI_SendNoteOff(DEFAULT, Chn4, valor1, 0); flag1=0; } if(receive1<255 && flag2==0)//////if pressed { valor2=receive1-127; MIOS32_MIDI_SendNoteOn(DEFAULT, Chn5, valor2, 127); flag2=1; } if(receive1==255 && flag2==1) { MIOS32_MIDI_SendNoteOff(DEFAULT, Chn5, valor2, 0); flag2=0; } } Video Test in Portuguese ...
  2. I haven't been able to find any reference to this info on uCapps.de and the forum so it's reference info for anyone who wants to connect an external SD card socket and ENC28J60 based ethernet board at the same time. Both of these devices are connected to the core with SPI. While I have been try to get them both to work at the same time I have learnt that SPI can be connected in two ways, "Star" and "Chain". The SD card socket and ethernet module need to connected in a "Star" configuration in order to work. Basically the two devices share Serial In (MOSI) , Serial Out (MISO) and Serial Clock (SCK) signals but each have individual Slave Select (SS) signals. The attached picture illustrates this pretty well.
  3. Hi guys, I'm currently in the process of planning a PIC-based capacitive touch device (2D panel, 12cm x 12cm). First and foremost I want to use it via USB but eventually it could communicate via serial connection. So there is a chance it might output data for midibox projects. Wondering what would be the best way of talking to a midibox I had a look at the serial-register-based DOUT modules (e.g. http://ucapps.de/mbhp/mbhp_doutx4_r5.pdf ). So what we have here is an SPI-based communication and a hardware layout for a 2x5 pin header which I could easily use. I'm just having a hard time deciding on what to do with power levels. If no USB power is provided the device could be supplied by the 5V power from the midi box (also made available through the pin header). However, since it's a 3.3V IC a power regulator will have to be used. Easy. But I guess the SPI signal levels from the midibox master will be 5V as well, right? So do you think I'll run into some problems when my 3.3V PIC microcontroller will receive e.g. an SPI clock at 5V? I guess it will always have to send its data (MISO-path) at 3.3V, right? What would be suitable (yet simple!) hardware workarounds to provide a bus interface that is flexible in terms of signal levels?
×
×
  • Create New...